Showing 1 – 1 of 1 replies
bekeer020

I use the following code for chart but […]

bekeer020 PURCHASED
6 years ago
Hello Dear

I use the following code for chart but maximum Y axis is 16 i need it to by dynamics depends on max value

new Chartist.Line('.total-revenue4', {
labels: ['Jan', 'Feb', 'Mar']
, series: [
[200, 5, 8,]
, [3, 1,4]
]

},
{
high: 15
, showArea: true
, fullWidth: true
, plugins: [
Chartist.plugins.tooltip()
], // As this is axis specific we need to tell Chartist to use whole numbers only on the concerned axis
axisY: {
onlyInteger: true
, offset: 20

}

});

thanks
WrapPixel
WrapPixel SELLER
6 years ago
Hello, you need to programming to make it dynamic, we support only static as our template is static. Thanks