feat: add "filled" chart type

This commit is contained in:
Joshua Seigler 2017-02-07 11:46:41 -05:00
parent 945ad8d2be
commit 5e4e6277c8
2 changed files with 20 additions and 8 deletions

View file

@ -102,15 +102,27 @@ function renderChart(
'xAxisEnabled'=>false
],
'candlestick'=>[
'width' => 800,
'height' => 250,
'barColor' => '#000',
'risingColor' => '#0D0',
'fallingColor' => '#D00',
'labelColor' => '#000',
'fontSize' => 15,
'width'=>800,
'height'=>250,
'barColor'=>'#000',
'risingColor'=>'#0D0',
'fallingColor'=>'#D00',
'labelColor'=>'#000',
'fontSize'=>15,
'yAxisEnabled'=>true,
'xAxisEnabled'=>false
],
'filled'=>[
'width'=>800,
'height'=>250,
'lineColor'=>'#000',
'labelColor'=>'#000',
'smoothed'=>true,
'fontSize'=>15,
'yAxisEnabled'=>true,
'xAxisEnabled'=>false,
'yAxisZero'=>true,
'filled'=>true
]
];