# KX Dashboards - Intraday Chart with Historical Snap

**URL:** https://forum.kx.com/t/kx-dashboards-intraday-chart-with-historical-snap/12311
**Category:** Community Support
**Tags:** add-ons
**Created:** [December 9, 2021, 5:13pm UTC](https://forum.kx.com/t/kx-dashboards-intraday-chart-with-historical-snap/12311 "2021-12-09T17:13:00Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![dirwin1](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@dirwin1](https://forum.kx.com/u/dirwin1)
#### Post date: [December 9, 2021, 5:13pm UTC](https://forum.kx.com/t/kx-dashboards-intraday-chart-with-historical-snap/12311/1 "2021-12-09T17:13:00Z")

</div>

Hi, I’m working with a client that wants to build a streaming analytic&nbsp;chart but with the option to switch mode to snap to historical data. Typically we can use a GW to stitch RDB and HDB data together but this use case is slightly different in that we need to stitch streaming data with HDB data.&nbsp;

We have a working POC using a rather unconventional approach, we utilize a lot of the QR APIs to make the HDB query a deferred request so that it doesn’t block the streaming process.&nbsp; I’d like to reach out to see if there are other possible solutions and raise the challenges we’re currently facing.

Current Solution (kdb 3.5, Dashboards V4.3.1)

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

- Delta Dashboards

- Charts Process

- Snap Function&nbsp;

Problems/Questions

1. As the HDB query is async the dashboards don’t know when it’s going to be completed therefore there is no loading icon and the charts load layer by layer. **Is there a way to force the chart loading icon?**
2. On dashboards, can we make the datasource a parameter (viewstate)? If we had this option then when we switch mode we can target the necessary process

Looking forward to see how we handle this with other projects/clients.

Thanks, Daniel

---

<div class="post-metadata">

### Author: ![Laura2](https://avatars.discourse-cdn.com/v4/letter/l/76d3ee/32.png) [@Laura2](https://forum.kx.com/u/Laura2)
#### Post date: [December 10, 2021, 9:34am UTC](https://forum.kx.com/t/kx-dashboards-intraday-chart-with-historical-snap/12311/2 "2021-12-10T09:34:00Z")

</div>

Hi Daniel,

Thanks for a great question!

We’ve raised this with our dashboards team and hope to have an answer for you soon!

Thanks,

Laura
