Is it possible to have dynamic date range/ time period?

Hi guys,

We are trying to create an experience view with the user able to select dynamic date ranges to view the data. We want to have a custom histogram chart and a heatmap which we were able to do and just wanted to figure out if it is possible to have dynamic date range/ time period on the gps heatmap and custom chart through the time series query?

Please advise,

Thank you.

Suroor

@Suroor_Wijdan,

if it is possible to have dynamic date range/ time period on the gps heatmap and custom chart through the time series query?

By “dynamic” in this sense, are you looking to let your users select a time range on the dashboard and have the heatmap and custom chart blocks change? Are you looking to do this in an Experience page or just on a public dashboard page? Is there more you’d like to see in the date picker in the dashboard that allows you to see past dashboard states?

This will not be possible with the Losant-built dashboard blocks. You will need to capture user input with a date selector and then carry that input into other blocks. You will need to either use a Custom HTML Block for both the date input and the chart. A custom Experience page is also an option. There is a great Data Explorer Template that would be a great place for you to start for this sort of thing.

Thank you,
Heath

Yes I meant users selecting a time range for them to view the data.

One follow-up question, is Notebook the only option for now if we want to filter the Time-series data based on the values of certain attributes?

@Suroor_Wijdan,

is Notebook the only option for now if we want to filter the Time-series data based on the values of certain attributes?

Yes, right now if you are looking to query attributes by value, Notebooks are going to be the best way to do that. If you are sending data to Google BigQuery, you can use the BigQuery Node to query based on value.

Thank you,
Heath