var myConfig = { type: 'bar', title: { text: 'Lending Rate', fontFamily: 'Georgia' }, utc: true, timezone: 0, scaleX: { transform: { type: 'date', all: '%M %d, %Y' }, step: 86400000, item: { fontSize: 10 } }, scaleY: { values: '21.1:21.4:0.1', format: '%vM', decimals: 1, item: { fontSize: 10 }, guide: { lineStyle: 'dotted' } }, plot: { barWidth: '50%', borderWidth: 1, borderColor: 'gray', backgroundColor: '#99ccff', valueBox: { text: '%v million', fontSize: 12, fontColor: 'gray', fontWeight: 'normal' }, tooltip: { text: '%v million' } }, series: [ { values: [ [1472428800000, 21.2], [1472515200000, 21.3], ] } ] }; zingchart.render({ id : 'myChart', data : myConfig, height: 400, width: 600 });
<script src= "https://cdn.zingchart.com/zingchart.min.js"></script> <div id='myChart'></div>