javascript - How to align Chart.JS line chart labels to the center -


i'm using chart.js 1.0.2 create line chart: the chart i'm getting right now

what i'm trying move labels on bottom of chart center of each rectangle (instead of being aligned vertical grid lines):

what i'm trying to

there no documentation on chartjs.org believe smart trick problem can solved. ideas on how can accomplished?

offsetgridlines (boolean) if true, labels shifted between grid lines.

type: 'line', data: data, options: {     ...     scales: {         xaxes: [{             gridlines: {                 offsetgridlines: true             }         ]}     } } 

Comments

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -