ilgizar / ilgizar-candlestick-panel

Grafana candlestick panel plugin
MIT License
227 stars 54 forks source link

[Bug] Erratic chart #2

Closed JamesGalt closed 6 years ago

JamesGalt commented 6 years ago

Hi, I have missing plots in the graf same version of grafana see the tooltip in the following screenshot

capture d ecran 2018-02-22 a 03 26 25

Thanks

ilgizar commented 6 years ago

What data source? How do you ask for metrics? I assume that in the designated period there is no data in the database. Reduce the period to the gap with the missing schedule and send the raw data of one of the metrics. To fill in the missing data, you can use fill(linear) in GROUP BY section.

JamesGalt commented 6 years ago

Data source is Influx, and there is data as you can see in the tooltip, I can show you the data in the graph panel As you can see there is volume Also I already used fill(previous) I use a custom interval named $itv because I want to be able to select custom values. __$interval seems to work but is not settable by user :(

capture d ecran 2018-02-22 a 05 00 53 capture d ecran 2018-02-22 a 05 13 50
JamesGalt commented 6 years ago

This is what I get when I use the built in __$interval variable as you can see there are volume so it should draw data I suspect the data being too high as you can see in my screenshot Also I can send you the json data from the query inspector

capture d ecran 2018-02-22 a 05 33 16
JamesGalt commented 6 years ago

I ve been able to reproduce it, when there is a spike with high over the maximum of open or close it doesn't show the box but data are here, we can see it in the tooltip as in the screenshot above.

data that makes the plotting fail data.json

ilgizar commented 6 years ago

Thank you, your data made it possible to identify a mistake in the plugin's work of rendering candlesticks.

JamesGalt commented 6 years ago

Happy to help!

JamesGalt commented 6 years ago

Perfect !