feature: multiple axes in charts
See original GitHub issueTracking more than one value axis is necessary for e.g. scatter plots and manipulating charts with a secondary axis.
In the oxml/chart/chart.py
file, the catAx
and valAx
should be ZeroOrMore
arrays of axes instead of ZeroOrOne
values that store only the first axis in a chart. I think it would be nice to preserve the behavior today where you get the first axis with e.g. chart.value_axis
and only expose the multiple axes via some new API like chart.value_axes_list
.
There will need to be provisions for working with axis IDs and assigning the axis IDs for each plot within a chart. The pptx.chart.axis._BaseAxis
will need to be able to set c:crossAx
, c:crosses
, and c:axPos
values.
Issue Analytics
- State:
- Created 9 years ago
- Comments:31 (14 by maintainers)
Top Results From Across the Web
Add or remove a secondary axis in a chart in Excel
On the Series Options tab, under Plot Series On, click Secondary Axis and then click Close. A secondary vertical axis is displayed in...
Read more >Add Axes for Multiple Measures in Views - Tableau Help
To align the two axes in a dual axes chart to use the same scale, right-click (control-click on Mac) the secondary axis, and...
Read more >Multiple axes | Highcharts.com
Chart showing use of multiple y-axes, where each series has a separate axis. Multiple axes allows data in different ranges to be visualized...
Read more >Dual Axis Chart - Voxco
Dual axis charts are frequently used to display two distinct data series with varying magnitude (=number range) and/or measure (GDP, life expectancy, etc.)....
Read more >Multi Axes Chart - Power BI Advanced Custom Visual - xViz
The Multi Axes Chart for Power BI gives you the ability to have up to 5 axes. The custom visual provides 10 options...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Is the API for the second y axis avaiable now? I checked the chart and series source withtout clue. Thanks.
No current plans to implement.