ccchart
ccchart copied to clipboard
This is a Realtime and Simple JavaScript chart library that does not depend on libraries such as jQuery or google APIs.
更に、lineTo: [hoge, piyo] がデータに無い時は hidden にしたい。 使用例:推移グラフなどで、数日後のメモをあらかじめ書いておいてその日が来たら自動的に表示させたい。過ぎた日のメモは自動で消したい。
test
This is great chart for websocket to show realtime data. I don't know hot to customize getting binary array data from my websocket and draw chart (e.g. 10 series line)....
ccchartの上にレイヤーとしてのキャンバスを重ねてみた https://ccchart.org/test/layer-canvas/layer-20171231.html
ちょっと考えてみる 設定部分で関連しそうなのはこの辺。Pie type以外のY軸を使うチャートにはほぼすべて影響する。 ``` //水平目盛り線AxisXの本数 if(typeof this.op.config.axisXLen === 'number'){ this.axisXLen = this.op.config.axisXLen; } else { if(typeof this.gcf.axisXLen === 'number'){ this.axisXLen = this.gcf.axisXLen; } else { this.axisXLen = 10; //default //Y目盛を小数点無しで...
type:stacked で type:bar のように barwidth を自動調整したい。 thanx temp さん。 sample: barwidth を省略して幅が大きくなりすぎたサンプル http://jsfiddle.net/u4paw3Lt/2/ こんな感じの幅にccchart自身で自動調整して欲しい http://jsfiddle.net/u4paw3Lt/5/
Is there any function which adds a x,y point to chart dynamically or a group of x,y points to the chart dynamically. Sorry for the noobs question but i could'nt...
thanx 下り専門@kudarisenmonさん > https://twitter.com/kudarisenmon/status/785976172924448768 > 下り専門@kudarisenmon > @toshirot ccchart使ってみました。公開ありがとうございます。高校物理の教材を作ってみました。 http://kudarisenmon.github.io/wave-simulator/ > スムーズに動いていい感じなのですが、「反射」を表現するためimgを使ってjpg背景画像で壁を作ったらかなりチラつきます リアルタイム+画像でちらつく問題を再現してみる http://jsfiddle.net/UkdvS/671/
lineDash http://ccchart.org/test/lineDash/test1.htm http://ccchart.org/js/ccchart-v1.12.01b.js lineDashSetが必要
“useVal”: “yes”の時の三桁カンマ http://ngw.jp/~tato/wp/?page_id=3501#comment-6556