ccchart
ccchart copied to clipboard
like the Option xLines I would like to have something like Option "yLines"
gerhard> hi again! here is a feature request: like the Option xLines I would like to have something like Option "yLines" to mark and describe special Points (incl. description on the line). Is something like this possible? Even if the chart is onlyChart->yes! ? (2016/2/16 18:46:23)
memo: reference: http://ccchart.org/plugins/pointer/cross/cross-pointer2.htm
test: for scatter yLines: color, vColor, lineColor, val, font, width, fillLeft, fillRight, xOffset, yOffset, http://ccchart.org/test/scatter/test-yLine.htm
now scatter type only. other type is thinking now...
昨日からテストしてる ccchart の yLines を散布図以外でどう実装したら有用なの悩んでる。 たとえば xLines はこうだけど、、、http://ccchart.org/test/yLine/keep1.htm
このxLinesのような時系列変化のケースでyLineを使うなら、ある時間を指定して縦線を表示するとか一定間隔毎に縦線とか、あるいは画面上の相対列にfixedな縦線とか?でもそんなニーズってあるのかなぁ。。。無駄なコード増やしたくないし。
lineTo propaty of memo method. it set the point of rowName and colName. e.g. _lineTo(rowName, colName) http://ccchart.com/index.htm#63
ccchart
.init("hoge", chartdata63)
.memo({
val: '2012年からジュースがバカ売れ!',
left: 120,
top: 120,
lineTo: ['juice', '2012'], //<---this prop
lineToXOffset: 80
})
Try setting the x point of xLine in this way? In other types
Case : colName of the same value http://ccchart.org/test/memo/test-memo-yline1.htm Not unique value .....
rowNameは一意で特定できるけどcolNameは一意とは限らないので線を引く場所を特定できなかったりする。これはmemoメソッドのlineToでも起きてて、同じ名前なら最初を指差す
とりあえずスタティックなチャートなら、エクセルみたいに列行番号も使えるようにすれば良いのかなぁ> 例えば: memo({lineTo:{rowNum|rowName,colNum|colName}})