Hello
Lets say I have values
2020 20
2021 21
2022 no value
2023 no value
2024 26
and I want a line chart with missing values, but the years 2022,2023 present - how can this be done?
kind regards
Randolph
Hello, Randolph,
Thank you for reaching out to us.
Our team recommends using the showEmptyValues
property of the grid
object. The grid
object itself is a property of the options
object.
Setting its value to true
allows displaying empty values both on the grid and on the charts, including the line chart.
Please see an example we have prepared for you.
We hope it helps.
Best regards,
Illia
I have very similar problem, which is visible in example too:
2022 no value
2023 no value
I want to show nothing (line goes to axis) instead of direct line from 2021 to 2024. How can I do that?
Hello, Mantas!
Thank you for your question.
We kindly suggest two ways to achieve such data visualization:
We hope it helps.
Feel free to ask in case of any other questions.
Regards,
Solomiia
Thank you, I did very similar approach, as you suggested in 1:
I left outer joined data to ALL days in period. Of course, there are much more data to send and analyze, but it works.
Hello, Mantas!
Thank you for your swift response.
We are glad to hear that you managed to configure the desired data visualization.
You are welcome to contact us in case of any other questions.
Regards,
Solomiia