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

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -