How to plot every n:th value in a xy-chart? (dynamic zoom in map, set-analysis)
Hi folks,
I'm having the standard googleMap XY-plot. My problem is that I'm plotting a long route on the map. The rest of the document requires a resolution of 1 meter so I'm having >200000 points which takes a lot of time in the XY-chart.
I would like only about 200 points being plotted when showing the whole route and then as the user zooms in still 200 points are plotted but distributed in the interval of the current selection.
See the attached simple document.
My dimension is called RPL.KP and is just an integer representing the meters.
This limits the points plotted and speed things up but you can never see any intermediate points between the kilometers first selected. It's not dynamic. Adding a dependency of the zoom-variable will not solve that since the user still makes an active selection in the chart of just a few points. This makes me wonder if this is possible. I have to clear the users selection of KP and make a new selection in the range of min(KP) to max(KP)
So then I turned into set-analysis adding this in the sum-expressions