Titles and legends in charts

Modified on Mon, 5 Oct at 1:53 PM

CorporateCharts can be used to place chart titles, axis titles, and legends in a chart.

Modules are located here:

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

Chart Title

<Cmd case="CorporateCharts:chart_title_pos" val="xx,xx"/>

Description: Change position of chart title

Parameter:

val

chart,left

Left position in chart area.

chart,center

Center position in chart area.

chart,right

Right position in chart area.

plot,left

Left position in plot area.

plot,center

Center position in plot area.

plot,right

Right position in plot area.


<Cmd case="CorporateCharts:chart_title_remove"/>

Description: Remove chart title.

Parameter: None

Axis Titles

<Cmd case="CorporateCharts:axis_title_pos" val="xxx,x" pos="xx"/>

Description: Change position of axis titles.

Parameter:

val

primary,x

Change position of primary X-axis title.

secondary,x

Change position of secondary X-axis title.

primary,y

Change position of primary Y-axis title.

secondary,y

Change position of secondary Y-axis title.

pos

left

Change position to left.

center

Change position to center.

right

Change position to right.


<Cmd case="CorporateCharts:axis_title_remove" val="xxx,x"/>

Description: Remove axis title.

Parameter:

val

primary,x

Remove primary X-axis title.

secondary,x

Remove secondary X-axis title.

primary,y

Remove primary Y-axis title.

secondary,y

Remove secondary Y-axis title.

Legends

<Cmd case="CorporateCharts:legend_pos" val="xx,xx,xx"/>

Description: Change position of legends.

Parameter:

val

left,chart,center

Left chart area as overall position, and center as specific position.

left,chart,bottom

Left chart area as overall position, and bottom as specific position.

right,chart,center

Right chart area as overall position, and center as specific position.

right,chart,bottom

Right chart area as overall position, and bottom as specific position.

top,chart,left

Top chart area as overall position, and left as specific position.

top,chart,center

Top chart area as overall position, and center as specific position.

top,chart,right

Top chart area as overall position, and right as specific position.

bottom,chart,left

Bottom chart area as overall position, and left as specific position.

bottom,chart,center

Bottom chart area as overall position, and center as specific position.

bottom,chart,right

Bottom chart area as overall position, and right as specific position.

left,plot,top

Left plot area as overall position, and top as specific position.

left,plot,center

Left plot area as overall position, and center as specific position.

left,plot,bottom

Left plot area as overall position, and bottom as specific position.

right,plot,top

Right plot area as overall position, and top as specific position.

right,plot,center

Right plot area as overall position, and center as specific position.

right,plot,bottom

Right plot area as overall position, and bottom as specific position.

top,plot,left

Top plot area as overall position, and left as specific position.

top,plot,center

Top plot area as overall position, and center as specific position.

top,plot,right

Top plot area as overall position, and right as specific position.

bottom,plot,left

Bottom plot area as overall position, and left as specific position.

bottom,plot,center

Bottom plot area as overall position, and center as specific position.

bottom,plot,right

Bottom plot area as overall position, and right as specific position.

xx,xx,fill

The fill value, forces the legend to use all of the space available, from left margin to right margin.

long-legend

Optional. Set to true so it leaves legend untouched and does not stack legend entries.


<Cmd case="CorporateCharts:legend_remove"/>

Description: Remove legends.

Parameter: None.

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