Add or remove secondary axes

Modified on Mon, 5 Oct at 1:53 PM

CorporateCharts can be used to add (and remove) secondary axes in a chart. This is only supported in Excel.

Module is located here:

Code
...\ModuleLibrary\CorporateCharts\01c_nocontext_Specific Chart Elements

CMD to add a second axis

<Cmd case="CorporateCharts:addSecondAxis" axis="xxx"/>

Parameters

axis

Define whether the second axis should be added to the y axis or x axis.

force

Define to be true to allowing a second axis to be added if it was added prior.

legend-topmargin

Optional. Define to be true so it leaves area between plotarea and legend.


CMD to add an axis for negative values

When a graph contains negative values, it is beneficial to move the X-axis to be placed below the values. Use this command to do so.

<Cmd case="CorporateCharts:x-axis-negative-values" />


CMD to remove a second Y-axis

<Cmd case="CorporateCharts:removeSecondYAxis"/>

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article