ChartScale

View as Markdown

The ChartScale class includes a range of properties related to the Y-Axis values of the ChartPanel on which the calling script resides. The ChartScale can be configured to Right, Left, or Overlay.

ChartScale_1

Methods and Properties

Method/PropertyDescription
GetPixelsForDistance()Returns the number of device pixels between the value passed to the method representing a series point value on the chart scale
GetValueByY()Returns the series value on the chart scale determined by a y pixel coordinate on the chart
GetValueByYWpf()Returns the series value on the chart scale determined by a WPF coordinate on the chart
GetYByValue()Returns the chart’s y-pixel coordinate on the chart determined by a series value represented on the chart scale
GetYByValueWpf()Returns a WPF coordinate on the chart determined by a series value represented on the chart scale
HeightIndicates the overall distance (from top to bottom) of the chart scale in device pixels
IsVisibleIndicates if the chart scale is viewable on the UI
MaxMinusMinThe difference between the chart scale’s MaxValue and MinValue represented as a y value
MaxValueThe highest displayed value on the chart scale
MinValueThe lowest rendered value on the chart scale
PanelIndexThe panel on which the chart scale resides
PropertiesRepresents a number of properties available to the Chart Scale which can be configured to change the appearance of the scale
ScaleJustificationIndicates the location of the chart scale relative to the chart control
WidthIndicates the overall distance (from left to right) of the chart scale in device pixels