chart.js - chartjs Line chart: scale respect value on x-axis -


i new on chartjs.

i using line chart. labels include value: [100,200,1000]

enter image description here

the distance between labels same, , not depend on value of label. chart requires distance between [200] label , [1000] label 8 times longer distance between [100] , [200] label.

please me stuck.

chart.js x labels not number scales. there community extension (http://dima117.github.io/chart.scatter/) this. linked in documentation (http://www.chartjs.org/docs/#advanced-usage-community-extensions).


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

jquery - ReferenceError: CKEDITOR is not defined -

android - Go back to previous fragment -