Niceley
Posts: 47
Joined: Fri May 06, 2022 7:28 am

Question on Timeline chart

Hello,
First of all, i wanted to know if it is possible to add multiple information on a datetime axis ? Exemple : Book who has the same publication date on the same line
Image

I have another question, if it is possible to create "blank" space ( exemple : No book published between 1950 and 1953)
Niceley
Posts: 47
Joined: Fri May 06, 2022 7:28 am

Re: Question on Timeline chart

No one ? :(
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: Question on Timeline chart

Hello,

You can use 'datetime' type xAxis and set x position of points in data.
If you want to create blank space between points separate them into another series.
Demo: https://jsfiddle.net/BlackLabel/qn4dmzwe/

Let me know if you have any further questions!
Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/
Niceley
Posts: 47
Joined: Fri May 06, 2022 7:28 am

Re: Question on Timeline chart

Hello, thanks for the answer.
I would like to know if it possible to keep the timeline like in the screenshot ? Because if you set x position, it will transform into a timeline of point
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: Question on Timeline chart

You're welcome!

No, this is not easily achieved, you could add annotations using the annotations module or generate a label with SVGRenderer that looks like the ones generated normally. But this is something non-standard and involves more code.

Annotations: https://www.highcharts.com/docs/advance ... ons-module
SVGRenderer: https://api.highcharts.com/class-refere ... VGRenderer

In case of any further questions, feel free to contact us again.
Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/

Return to “Highcharts Usage”