-
Dear @RamiAwar, I would like to request the ability to create more than one chart in a single query. For example, a query like: "Use a line chart to show the sale amount performance in 2023 and a bar chart for 2024". If possible, it would be great if dataline could support visualizing combo charts, such as: A combo bar and line chart. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey! You can already ask for multiple results in one query actually. It doesn't always work great but it works! |
Beta Was this translation helpful? Give feedback.
Ah now I see what you mean.
Combo charts are quite a step up in difficulty unfortunately. We do plan on supporting them eventually, but it's not as trivial as other types of charts.
If you're interested in helping us get there, basically the flow is generating ChartJS json using LLMs, but also validating that the SQL generated fits perfectly into whatever template is selected. So in case you're looking at a combo chart, one example of that is 2 line charts overlayed. This means the SQL results should be 3 rows: one is the shared X-axis values, and the other two are the different Y-axis values.
In case of a combo-chart, you're also looking at a more dynamic validation and construction. So …