Topic: Line Chart customization
itearo
free
asked 6 years ago
Hello!
Is there any way to customize view of labels in Line Chart like only months or weeks of dates inserted in data label array?
For example: I'm inserting dates in label array like 2016-11-01, 2016-11-02 ... 2016-12-31, so the data is for the each day, and i want to show label only november and december, not all the dates.
Add comment
Marta Wierzbicka
staff
answered 6 years ago
Hello,
I was looking for solution, but unfortunately we don't have this one. There is whole documentation for charts: http://www.chartjs.org/docs/#line-chart-dataset-structure and maybe you will find somthing there.
Best,
Marta
Marta Wierzbicka
staff
answered 6 years ago
Hello,
To understand your point: you have in labels array dates from 1-11-2016 till 31-12-2016 but you don't want to show all these dates in your chart but only two labels for months November and December? I want to understand you well if I want to help you.
Best,
Marta
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Specification of the issue
- User: Free
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Tags