pR0Ps / grafana-trackmap-panel

A panel for Grafana that visualizes GPS points as a line on an interactive map
https://grafana.com/plugins/pr0ps-trackmap-panel
Apache License 2.0
136 stars 61 forks source link

Circle marker not working with the new time series graph #67

Closed CptHolzschnauz closed 1 year ago

CptHolzschnauz commented 3 years ago

With Grafana v8.0.6 the moving circle marker is not working with the new times series graph. With the old graph it's fine.

drecchia commented 3 years ago

Same here. +1

psychemedia commented 2 years ago

I am new to Grafana, and this plugin, and from the README screenshots, and the title of this issue, I assume that if I highlight a point in one of the other time series chart panels, I should see a corresponding point on the mapped route? This does not happen for me using Grafana 8.2.1 using the new time series chart (I have not tried with the old chart).

If I shift-click-drag and zoom to an area of the mapped route, the new time series panels do automatically zoom into a corresponding area of the timeseries.

If I select and zoom a region of the time series in a new time series chart, all the new time series charts update to the same zoomed area of the time series, but the map does not zoom to the corresponding area of the route.

CptHolzschnauz commented 2 years ago

Yes, that's right. You do a mouse over a graph and a point on the map show the corresponding location. It's only working with the Graph(old) tile, NOT with the new Time Series tile. Here is a example of a working query for the map: A (B is lng) SELECT time AS "time", lat FROM mqtt_msg WHERE $__timeFilter(time) AND device_id= "blabla" ORDER BY time

leonardopivetta commented 2 years ago

I'm facing the same issue, It doesn't show any point with the new time series

umbm commented 2 years ago

same here and no mousover action displayed

leonardopivetta commented 2 years ago

looking at the code it seems like you are using the old angular way of getting the cursor position, that's not compatible with the new Timeseries panel.

After some research, I found that the react solution for getting the cursor position is to subscribe to the eventbus in the PanelProps with the DataHoveEvent.

Hope this will help the developers 😁

Bart-1992 commented 2 years ago

I'm having the same issue, hope the developer can find some time to solve this for the new Timeseries panel :)

karthikhkumar commented 2 years ago

I too have similar issue. This missing feature helps in the correlation of different panels. It would be awesome if this issue is fixed

chaos-user commented 2 years ago

Hi everyone. I'm facing the same issue about dot point drawing. @leonardopivetta is possbile to share a workaround (please) to fix this issue until developers publish a new release (please) of this plugin? Without dot drawing related to data timeline navigation, this amazing plugin lose its usability.

chaos-user commented 2 years ago

Hi everyone.

I found a "workaround" to keep "dot functionality" by keep using old Graph at Grafana instead of time series graph.

image

image2

NOTE: This is not a final solution or even recommended. It's just a way to keep track plugin compatibility, but using an old and deprecated Grafana plugin

CptHolzschnauz commented 2 years ago

As mentioned before: It's only working with the Graph(old) tile, NOT with the new Time Series tile. I don't think Graph(Old) is not deprecated, at least works fine for me with no issues or missing features.

chaos-user commented 2 years ago

@CptHolzschnauz , you are right. The track plugin keeps working with Graph(old) panel from grafana. My point is Graph panel have been "replaced" by time-series panel since Grafana 7.0 when they update and unify panels architecture and performance. https://grafana.com/blog/2021/02/10/how-the-new-time-series-panel-brings-major-performance-improvements-and-new-visualization-features-to-grafana-7.4/

By default at a fresh new grafana installation, the Graph old panel is not available, only Time-Series....but we can "edit" JSON and change timeseries to graph to make old graph panel available again :)

Is for that reason that I mentioned old Graph has been deprecated, but you are right... it still works as before.