ccchart Demos


引数なし:
ccchart.base(); //'_default'
Dafaultテーマを適用
引数1個:
ccchart.base('white')
テーマ文字列を利用
ccchart.base({config:{useVal:'yes'}})
現在のグローバル設定値 ccchart.gcf に被せて追記
引数2個以上:
ccchart.base(mySets, 'white')
2個
ccchart.base(mySets, 'black',{config:{useShadow: 'no', useVal:'yes', bg:'#9acd32',colorSet:['#000','#666']}})
3個
ccchart.base(mySets, ccchart.m.theme.set('#cff'))
テーマオブジェクトを利用

空白(またはnull)引数あり:
ccchart.base('', 'black')
ccchart.base(null, 'white')
現在のグローバル設定値 ccchart.gcf をリセットして上書き
チェーン:
ccchart.base(mySets, 'black').base('white').base({config:{lineWidth: 8}});
追記になる