Hide Comments
Hide Comments

Comments (0)

expandingMethods

 

Name

Description

public method

Assign(TPersistent)

Copies the contents of another similar object to the current object

alert_noteNotes to Inheritors

Most objects override Assign to handle the assignment of properties from similar objects. When overriding Assign, call the inherited method if the destination object cannot handle the assignment of properties from the class of the Source parameter

public method

AxisToPixel(TRSChartValueType)

Overloaded.  Converts from the chart value parameter to a pixel coordinate of the Owner RSChartPanel.TRSCustomChartPanel component. Based on the     ZoomMinimum and     ZoomMaximum range of the chart axis, this routine converts the parameter value into a pixel coordinate. Unlike the overloaded AxisToPixel method, this method assumes that the visual pixel range of the chart axis is defined by the chart panel's     ChartRect property. The chart axis uses the bounds of the rectangle that apply to its location, e.g., a BottomAxis chart axis would use the ChartRect's Left=ZoomMinimum and Right=ZoomMaximum fields for the calculation (the rectangle is also adjusted if StartPosition and EndPosition properties are not their defaults).

Use one of the AxisToPixel methods anytime you need to convert from internal chart axis coordinates to a visual pixel coordinate. For example, if the chart axis has a zoomed range from 0 to 100 and the ChartRect is Left=150 and Right=500, this function would return:
AxisToPixel( 0 ) = 150
AxisToPixel( 50 ) = 325
AxisToPixel( 100 ) = 500

Use one of the     PixelToAxis methods to convert back from pixel coordinates to chart coordinates.
 

public method

AxisToPixel(TRSChartValueType,TCanvasRect)

Overloaded.  Converts from the chart value parameter to a pixel coordinate of the specified ChartRect parameter. Based on the     ZoomMinimum and     ZoomMaximum range of the chart axis, this routine converts the parameter value into a pixel coordinate. Unlike the overloaded AxisToPixel method, this method assumes that the visual pixel range of the chart axis is defined by the ChartRect property. The chart axis uses the bounds of the rectangle that apply to its location, e.g., a BottomAxis chart axis would use the ChartRect's Left=ZoomMinimum and Right=ZoomMaximum fields for the calculation (the rectangle is also adjusted if StartPosition and EndPosition properties are not their defaults).

Use one of the AxisToPixel methods anytime you need to convert from internal chart axis coordinates to a visual pixel coordinate. For example, if the chart axis has a zoomed range from 0 to 100 and the ChartRect is Left=150 and Right=500, this function would return:
AxisToPixel( 0 ) = 150
AxisToPixel( 50 ) = 325
AxisToPixel( 100 ) = 500

Use one of the     PixelToAxis methods to convert back from pixel coordinates to chart coordinates.
 

protected method

AxisToPixel(TRSLogarithmicType,TRSChartValueType,TCanvasRect,TRSChartValueType,TRSChartValueType,Boolean)

Overloaded. Represents method AxisToPixel(TRSLogarithmicType,TRSChartValueType,TCanvasRect,TRSChartValueType,TRSChartValueType,Boolean).

public method

CalculateBounds(TCanvas,TCanvasRect)

Sets the chart axis' Width and Height to their proper values based on the ARect parameter.

alert_noteTip

Usually, this method does not need to be called directly as it is automatically called when the chart axis is painted. However, when the chart axis has not been painted yet (e.g., the OnCreate event of the form) and you want to use the chart axis, call this method first.

protected method

Changed

Overloaded. Represents method Changed. (Overrides RSChartPanel.TRSChartGraphic.Changed.)

protected method

Changed(TObject)

Overloaded. Represents method Changed(TObject).

protected method

ChartListNotify(TObject,TRSCustomChart,TRSListNotification)

Represents method ChartListNotify(TObject,TRSCustomChart,TRSListNotification).

protected method

DrawAxis(TCanvas,TCanvasRect)

Represents method DrawAxis(TCanvas,TCanvasRect).

protected method

DrawAxisLine(TCanvas,TCanvasRect)

Represents method DrawAxisLine(TCanvas,TCanvasRect).

protected method

DrawGrid(TCanvas,TCanvasRect)

Represents method DrawGrid(TCanvas,TCanvasRect).

protected method

DrawLabels(TCanvas,TCanvasRect)

Represents method DrawLabels(TCanvas,TCanvasRect).

protected method

DrawTitle(TCanvas,TCanvasRect)

Represents method DrawTitle(TCanvas,TCanvasRect).

public method

FormatValue(TRSChartValueType)

Returns a string representation of the chart value based on the     Format or     DateTimeFormat properties. Based on the     IsDateTime method, the FormatValue function converts the floating point value to a string using the     Format property or a date time string using the     DateTimeFormat property.

Use the FormatValue method to convert a value to a string using the formatting of the chart axis
 

protected method

GetAxisLabelStyle

Represents method GetAxisLabelStyle.

protected method

GetHalfRect(TCanvasRect,Boolean)

Represents method GetHalfRect(TCanvasRect,Boolean).

protected method

GetLabelSpacing(TCanvas,TCanvasRect,TRSChartValueType,TRSChartValueType)

Represents method GetLabelSpacing(TCanvas,TCanvasRect,TRSChartValueType,TRSChartValueType).

protected method

GetLogCycleAxis(TCanvasRect,TRSChartValueType,TRSChartValueType,TRSChartValueType)

Represents method GetLogCycleAxis(TCanvasRect,TRSChartValueType,TRSChartValueType,TRSChartValueType).

protected method

GetLogCycleZoomChart(TCanvasRect,TRSChartValueType,TRSChartValueType,TRSChartValueType)

Represents method GetLogCycleZoomChart(TCanvasRect,TRSChartValueType,TRSChartValueType,TRSChartValueType).

protected method

Initialize

Represents method Initialize. (Overrides RSChartPanel.TRSChartGraphicArea.Initialize.)

protected method

InitializeEvents

Represents method InitializeEvents. (Overrides RSChartPanel.TRSChartGraphicArea.InitializeEvents.)

protected method

InternalDraw(TCanvas,TCanvasRect)

Represents method InternalDraw(TCanvas,TCanvasRect). (Overrides RSChartPanel.TRSChartGraphicArea.InternalDraw(TCanvas,TCanvasRect).)

public method

IsDateTime

Returns whether the axis is displaying chart values using a date time string representation or a floating point string representation. The chart axis displays date time values when the   ActiveChart (the first visible chart in the   Charts list) specifies its   IsDateTime property to True. When the chart axis displays date time values, the   FormatValue method uses the   DateTimeFormat property for formatting. Otherwise, the FormatValue method uses the   Format property for formatting.

public method

Pan(Integer)

Overloaded.  Moves the visual window, specified by the     ZoomMinimum and     ZoomMaximum properties, by the amount. The Amount parameter, which is based on pixels, is first converted into the equivalent amount based on chart axis values. Specifying a positive amount moves the zoomed window right and a negative amount moves it left.

Use the overloaded Pan method to move the visual window using chart axis values directly.

The Pan method does nothing if the chart axis is not zoomed in (     Zooming = True).
 

public method

Pan(TRSChartValueType)

Overloaded.  Moves the visual window, specified by the     ZoomMinimum and     ZoomMaximum properties, by the amount. The Amount parameter is based on chart axis values. Specifying a positive amount moves the zoomed window right and a negative amount moves it left.

Use the overloaded Pan method to move the visual window using pixel amounts directly.

The Pan method does nothing if the chart axis is not zoomed in (     Zooming = True).
 

public method

PixelToAxis(TCanvasPixel,Boolean)

Overloaded.  Converts from a canvas pixel coordinate to a chart axis coordinate. Based on the     ZoomMinimum and     ZoomMaximum range of the chart axis, this routine converts the parameter value into a chart axis coordinate. Unlike the overloaded PixelToAxis method, this method assumes that the visual pixel range of the chart axis is defined by the chart panel's ChartRect property (obtained through the Owner property). The chart axis uses the bounds of the rectangle that apply to its location, e.g., a BottomAxis chart axis would use the ChartRect's Left=ZoomMinimum and Right=ZoomMaximum fields for the calculation (the rectangle is also adjusted if StartPosition and EndPosition properties are not their defaults).

Use one of the PixelToAxis methods anytime you need to convert from a canvas pixel coordinate to the internal chart axis coordinates. For example, if the chart axis has a zoomed range from 0 to 100 and the ChartRect is Left=150 and Right=500, this function would return:
PixelToAxis( 150 ) = 0
PixelToAxis( 325 ) = 50
PixelToAxis( 500 ) = 100

Use one of the AxisToPixel methods to convert back from chart coordinates to canvas pixel coordinates.
 

public method

PixelToAxis(TCanvasPixel,TCanvasRect,Boolean)

Overloaded.  Converts from a canvas pixel coordinate to a chart axis coordinate. Based on the     ZoomMinimum and     ZoomMaximum range of the chart axis, this routine converts the parameter value into a chart axis coordinate. This method uses the ChartRect parameter to specify the visual pixel range of the chart axis. The chart axis uses the bounds of the rectangle that apply to its location, e.g., a BottomAxis chart axis would use the ChartRect's Left=ZoomMinimum and Right=ZoomMaximum fields for the calculation (the rectangle is also adjusted if StartPosition and EndPosition properties are not their defaults).

Use one of the PixelToAxis methods anytime you need to convert from a canvas pixel coordinate to the internal chart axis coordinates. For example, if the chart axis has a zoomed range from 0 to 100 and the ChartRect is Left=150 and Right=500, this function would return:
PixelToAxis( 150 ) = 0
PixelToAxis( 325 ) = 50
PixelToAxis( 500 ) = 100

Use one of the AxisToPixel methods to convert back from chart coordinates to canvas pixel coordinates.
 

protected method

PixelToAxis(TRSLogarithmicType,TCanvasPixel,TCanvasRect,TRSChartValueType,TRSChartValueType,Boolean)

Overloaded. Represents method PixelToAxis(TRSLogarithmicType,TCanvasPixel,TCanvasRect,TRSChartValueType,TRSChartValueType,Boolean).

public method

SizeUnzoomed

Returns the size of the axis (Maximum-Minimum)

public method

SizeZoomed

Returns the size of the zoomed axis (ZoomMaximum-ZoomMinimum)

protected method

UnboundPixelToAxis(TCanvasPixel,TCanvasRect)

Represents method UnboundPixelToAxis(TCanvasPixel,TCanvasRect).

public method

Unzoom

Unzooms the axis to its full range. The Unzoom method changes the visual portion of the chart axis' range to its full range (e.g.,   ZoomMinimum =   Minimum and   ZoomMaximum =   Maximum).

protected method

UpdateAxisValues

Represents method UpdateAxisValues.

protected method

UpdateChartAxisInfo

Represents method UpdateChartAxisInfo.

protected method

ValueChanged(TRSCustomChart)

Represents method ValueChanged(TRSCustomChart).

protected method

VisibleChanged(TRSCustomChart)

Overloaded. Represents method VisibleChanged(TRSCustomChart).

public method

Zoom(TRSChartValueType,Single)

Overloaded.  Zoom a specific part of the axis range by specifying the center (in chart values, not pixel values) and zoom magnification amount. The Zoom method changes the     ZoomMinimum and     ZoomMaximum properties to zoom the axis into that visual portion of the range. It allows you to change the portion of the axis that is being visually displayed.

The overloaded Zoom method zooms the axis using chart values. The ZoomPixelArea method zooms the axis using canvas rectangle values instead of chart values.
 

public method

Zoom(TRSRect)

Overloaded.  Zoom the axis in on (or magnify) a portion of the axis' range. The Zoom method accepts a rectangle using chart axis coordinates and changes the     ZoomMinimum and     ZoomMaximum properties to zoom the axis into that visual portion of the range. It allows you to change the portion of the axis that is being visually displayed.

The ZoomPixelArea method zooms the axis using canvas rectangle values instead of chart values.
 

public method

ZoomAmount

Returns the current zoom amount or magnification. A value of 1 means no magnification.

public method

ZoomPixelArea(TCanvasRect)

Overloaded.  Zoom the axis in on (or magnify) a portion of the axis' range. The Zoom method accepts a canvas pixel rectangle and changes the     ZoomMinimum and     ZoomMaximum properties to zoom the axis into that visual portion of the range. It allows you to change the portion of the axis that is being visually displayed.

The overloaded Zoom method zooms the axis using chart values instead of canvas rectangle values.
 

Top

Comments (0)

RiverSoftAVG Charting Component Suite (RCCS) © 2005-2015, Thomas G. Grubb