score:30
Accepted answer
the properties you are looking for actually are in the time
attribute :
options: {
scales: {
xaxes: [{
type: "time",
time: {
min: 1471174953000,
max: 1473853353000
}
}]
}
}
score:5
this was changed in 3.0
https://www.chartjs.org/docs/next/getting-started/v3-migration#options
scales.[x/y]axes.time.max was renamed to scales[id].max
scales.[x/y]axes.time.min was renamed to scales[id].min
Source: stackoverflow.com
Related Query
- How to set the xAxes min and max values of time cartesian chart in Chart.js
- Chart.js timescale: set min and max on xAxes
- How to set max and min value for Y axis
- ChartJS: How to set fixed Y axis max and min
- ChartJS automatically scaled chart has undefined min and max
- How to set min max for x axis depend on data with Chartjs and Spring Boot?
- min and max tag is not showing in chart chart.js
- How to set only min and max values in y-axis (chart js)
- In Chart.js set chart title, name of x axis and y axis?
- Set min, max and number of steps in radar chart.js
- Hide min and max values from y Axis in Chart.js
- Chartjs: how to show only max and min values on y-axis
- How can I display the xAxes and yAxes data in the tooltip, Chart JS?
- Chartjs v2.5 - only show min and max on scale, absolute positioning on scale
- How do I force Chart.js axes min and max with react-chartjs-2?
- Chartjs - Set start and end value into a Bar Chart
- Setting up min and max in chartjs did not work
- How to set max smaller than min in ChartJS
- Bar chart with min height and zero values - ChartJs
- Setting min and max values chart.js
- Unable to set width and height on canvas in chart js
- Set max value of chart.js bar chart
- set my chart min yaxis to 0
- How do you set x and y axis and Title for a line chart using charts.js?
- Chart.js - Same min and max value of two charts
- How to set 3 axis in google chart (V-Axis Left as Qty, V-Axis Right as Series Column and H-Axis as TimeOrder)?
- ChartJs: x-axes min and max value not working
- chart.js how to force min and max y axis values
- Chartjs gradient background color based on min and max values
- How can i add min and max range horizontal line in angular-chart.js
More Query from same tag
- Chart.js awkward label gaps before last x-axis label
- Vertical line at the end of a dataset
- How to set gradient in legend box color in Chart,js
- ChartJS - how to display line chart with single element as a line? (not as a dot)
- Hiding the ticks on the x-axes clips the chart (Chart.JS)
- Chart.js: How to group legends of dataset? So one toggle for multiple datasets?
- Chartjs : Can I overwrite bar value on hover for every bar chart
- How to customize chart js Bar chart shape?
- How do I open a dialog on clicking a Bar in the BarChart?
- Chart Js - Globally set bar chart color based on value
- how to display text information on hover in chart js?
- ChartJs days of the week from numbers
- How to display data with percentage from database in pie chartjs?
- Show chart.js animation only when user scroll on the specific DIV
- Chart.JS spacing and padding
- Chart.js 2.x - How to get handle of only clicked datapoint?
- Is it possible to set up 0 as a minimum number for bar chart? react-chart.js-2
- How to hide more than one legend on Chartjs?
- Chart js shows old chart data when hover
- Default font size doesn't change ChartJS
- PHP/Laravel - Chartjs implode does not function
- facing problem to solve Uncaught TypeError while using chart js
- ChartJs Doughnut parsing datasets
- destroy method implementation in pie chart chartjs
- How to make integer scale in Chartjs
- Chart.js - make barchart element blink
- Is there a way to filter data in Chart.js?
- ChartJS: How to add empty values?
- How to hide a dataset with your own button?
- How do I override the function convertTicksToLabels chartjs