question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

feature: multiple axes in charts

See original GitHub issue

Tracking 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:open
  • Created 9 years ago
  • Comments:31 (14 by maintainers)

github_iconTop GitHub Comments

2reactions
zkn365commented, Nov 25, 2016

Is the API for the second y axis avaiable now? I checked the chart and series source withtout clue. Thanks.

0reactions
scannycommented, Jan 6, 2022

No current plans to implement.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found