User Story
As a Wikipedia editor, I want to be able to create basic bar charts that can be embedded in articles so that I can enhance encyclopedic content through data visualization.
Acceptance Criteria
- It's possible to define a .chart file that accept a new parameter of "type": "bar" with one or multiple series using the same parameters as "type": "line"
- "type": "bar" definitions generate a basic bar chart on preview (like this example).
- "type": "bar" definitions can be embedded in an article to render a basic bar chart.
- Must have a legend. See T375233.
- Must use default color scheme (patterns for each bar will be added as part of T376198.
Design
Chart standards
- Default chart styling definitions for elements such as the title, legend, etc. can be found in T375235: Apply default styling for charts
- Default color scheme design definitions can be found in T375234: Define color scheme for charts
- Pattern/symbol functionality design definitions can be found in T375313: Define pattern/node scheme for accessible charts
Bar chart specifics
- Bars on the chart should have a borderRadius: [4,4,0,0]
Light mode example
Dark mode example

