Skip to content

Multiple Queries

This demo shows how to use ChartFactor to render a Bar chart with data obtained from multiples queries. Data event handlers allow developers to add filters or change the data between and after server calls to give full control over the final result.

Review the complete source code and copy/paste it to create your own.
1
{"action": "import", "url": "../cf-demos/multi-query/index.html"}
1
{"action": "import", "url": "../cf-demos/multi-query/index.js"}
1
{"action": "import", "url": "../cf-demos/multi-query/style.css"}

If you want to see the demo in full screen click here

The Ticket Sales table is derived from the Amazon’s Sample Database for Redshift. The data represents ticket sales activity for the fictional TICKIT web site, where users buy and sell tickets online for different types of events.