ScaleJustification

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Common > Charts > ChartScale >

ScaleJustification

Previous page Return to chapter overview Next page

Definition

Indicates the location of the chart scale relative to the chart control.

 

Property Value

A ScaleJustification enum.  Possible values are:

Right

Left

Overlay

 

Syntax

ScaleJustification

 

Examples

ns

protected override void OnRender(ChartControl chartControl, ChartScale chartScale)
{        
  if (chartScale.ScaleJustification == ScaleJustification.Right)
  {
    // do something            
  }
}