neat-charts examples

Line chart in img tag

Random generated data, loaded as an image

Line chart in svg tag, zero axis shown, filled

800, 'height'=>250, 'lineColor'=>'#F00', 'labelColor'=>'#222', 'smoothed'=>false, 'fontSize'=>14, 'yAxisZero'=>true, 'filled'=>true ]); echo $chart->render(); ?>
Random generated data

Smoothed line chart in svg tag

400, 'height'=>300, // null works as a height too, it picks a height that makes the plot look good 'lineColor'=>'#080', 'labelColor'=>'#222', 'smoothed'=>true, 'fontSize'=>14 ]); echo $chart->render(); ?>
Random generated data

Sparkline in svg tag

100, 'height'=>20, 'lineColor'=>'#000', 'markerColor'=>'#F00', 'smoothed'=>false, 'fontSize'=>4, 'yAxisEnabled'=>false, 'xAxisEnabled'=>false ]); echo $chart->render(); ?>
Random generated data

Bar chart in svg tag

'#409' ]); echo $chart->render(); ?>
Random generated data

Candlestick chart in svg tag, zero axis shown, filled

render(); ?>
Random generated data