sourcegraph / sourcegraph-public-snapshot

Code AI platform with Code Search & Cody
https://sourcegraph.com
Other
10.11k stars 1.27k forks source link

Web [Charts]: Add bar chart type as a possible visualisation type for series-like charts #37139

Open vovakulikov opened 2 years ago

vovakulikov commented 2 years ago

Background

At the moment we have only one option to visualize series-like datasets and this is the line chart. To be able to fulfil all data visualization cases we should extend series-like charts with bar chart type. This also means that we want to have a series-like chart where one series is represented with a line chart and the other is represented with a bar chart.

Examples

Note that this issue doesn't imply that we will implement group bars and stacked series bars at once. The stacked bar chart will be implemented in a separate issue.

Screenshot 2022-06-14 at 18 21 23
sourcegraph-bot-2 commented 2 years ago

Heads up @joelkw @felixfbecker @vovakulikov @unclejustin - the "team/code-insights" label was applied to this issue.

Joelkw commented 2 years ago

@vovakulikov is this an issue for the compute-powered insight bar charts or unrelated? If unrelated, please move out of this iteration, if related, all's good.