Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

chart js more data than labels

//Try adding the options.scales.xAxes.ticks.maxTicksLimit option:
xAxes: [{
    type: 'time',
    ticks: {
        autoSkip: true,
        maxTicksLimit: 20
    }
}]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #chart #js #data #labels
ADD COMMENT
Topic
Name
1+5 =