pradeep0830
Posts: 14
Joined: Wed Jan 12, 2022 4:23 am

With same data points trends are looking differently in big size window and inside the small card view .

Hi team,

We have a dashboard page with multiple cards/tiles, inside each tile we are showing the trend lines using highchart's. If user double clicks on any tile we are navigating to bigger screen size where we are showing same trend line with same data points. In bigger screen size trend lines curves are looking fine but inside small tile the trend lines curves are looking completely different. Please find the attached image for reference.

Thanks,
Pradeep
Attachments
for small tile view
for small tile view
misalignement2.PNG (33.59 KiB) Viewed 100 times
Comparision
Comparision
misalignment.PNG (76.81 KiB) Viewed 100 times
hubert.k
Posts: 1164
Joined: Mon Apr 11, 2022 11:48 am

Re: With same data points trends are looking differently in big size window and inside the small card view .

Hi Pradeep!
We appreciate you reaching out to us!

I see, that xAxis ticks are different between your two images (between dashboard [three charts] and the extended version). This is related to the chart configuration because I assume, that you are calculating ticks based on the actual date, which on the dashboard is e.g. 18:30 and on the extended version is 18:36. By this difference in time, the data is different (newest) so the chart is looking different also.

Feel free to ask if you have any further questions.
Regards!
Hubert Kozik
Highcharts Developer

Return to “Highcharts Usage”