Hi guys i wan't to ask you about button how to make this queires for buttons yesterday last week etc and when i click to update the graph any idea how can i make that?
as you can see here why is that
I can explain why this is happening: The data that is used on the line & area chart is a query in this setup, not parameter. In that case, the component will not accept a timespan as a filter. Instead, the filtering should happen on query level (see my answer). The values on the x-axis are not formatted as dates because the query column that is used on that axis is not of the datetime type.
Hi Davor,
Thanks for the screenshot! It looks like the x-axis of your chart is displaying numbers like “600, 700, 800, 900,” which suggests the axis might not be configured to display time values. This could be why the timespans from the time range feed aren’t working.
To fix this, could you check if the x-axis is set to show time rather than numbers? Once the x-axis is configured to display time, the timespan feed should work as expected.
Let me know if that helps!