gnadenlos_gelb
Posts: 1
Joined: Wed Jun 23, 2021 12:35 pm

Show only data in range

Hello Community,

i´m learning the last weeks to create some Highcharts (highcharts is really great).
Now i need some help. My Chart loads data from Database and than, all 10 minutes it loads the last database value and shoes in the charts. This works perfect.

My data is daydata (its a photovoltaic system). It beginns most time at 5-7 oclock in the morning and ends at 15-20 oclock.....

Now i will have a charts that beginns on the left side with 00:00 oclock, end ends on 23:59 oclock and the data will be showed in the right time range...
See the picture what i mean.

I hope somebody can help me to solve that.....

Image
dominik.c
Posts: 2081
Joined: Fri Aug 07, 2020 7:07 am

Re: Show only data in range

Hello gnadenlos_gelb!

Welcome to our forum and thanks for contacting us with your question!

It is hard to tell you what is not working and what could be done without taking look at your code. Could you reproduce the issue in an online editor that I could work on? In the link below you can find a basic template.

Demo:
https://jsfiddle.net/BlackLabel/0pbeym97/

Best regards!
Dominik Chudy
Highcharts Developer

Return to “Highcharts Usage”