CFXAxis Class Reference
Inherits from | |
Conforms to | |
Framework | |
Availability |
Available in iOS 5.0 and later.
|
Companion guide | |
Declared in |
ChartFX.h
|
Overview
Axes are one of the most important aspects in a chart since they provide users with visual means to read and analyze data; therefore, a charting tool must provide mechanisms to manipulate axis settings programmatically.
It's important to be aware that Chart FX for iOS supports many different axes: The main Y-Axis, the Secondary Y-Axis and the X-Axis.
Normally, the X-Axis is a categorical axis (although it can also be a numerical axis in XY Plots) and the Y axes are numerical axes that you can independently control through different properties available in the axis object.
Properties
autoScale
Instructs Chart FX for iOS to always recalculate the specified Axis scale values (Min, Max) when new values are set to the chart.
Discussion
If you set a Min or Max value and new data is received by the chart when the AutoScale property is enabled, the scale values will be overwritten by Chart FX for iOS . This method will not affect the Step property if it has previously set to a specific value. If you want the AutoScale property to recalculate the step value, make sure the Step property is set to zero (0).
Instead of having the AutoScale enabled, you can call the recalculateScale method so you can control when the axis scale values are actually overwritten.
Availability
- Available in iOS 5.0 and later.
See Also
Declared In
ChartFX.h
autoScroll
Enables or disables scrolling in an Axis.
Availability
- Available in iOS 5.0 and later.
See Also
Declared In
ChartFX.h
customGridLines
Gets the collection of CustomGridLines that belong to the Chart.
Parameters
- index
- The zero-based index of the CustomGridLine to get or set.
Discussion
CustomGridLines are lines that you can draw anywhere in the chart area and they associate themselves with a particular value in the CFXAxis that they are assigned to.
Declared In
ChartFX.h
dataFormat
Used to format the data displayed on point labels, and tool tips shown at mouseover.
Discussion
The format property of the CFXPointLabelAttributes class will overwrite the settings to the point labels using this property; however, the tooltips will keep the DataFormat set.
The labelsFormat property can be used to format the selected axis labels.
Declared In
ChartFX.h
firstLabel
Gets or sets a value used to customize the first label displayed on a selected axis.
Discussion
The setting must be an integer specifying where you want labels to begin. The axis will then follow the step associated with it to display subsequent labels.
When using this property in the X Axis of a chart with values ranging from 0 to 1, the axis' minorStep is used to calculate which label is the first, second, third, etc. When X Axis values range >1, then the axis' step is used for this calculation.
Declared In
ChartFX.h
forceZero
Used to set the minimum value of a numerical axis to zero even if the data minimum value does not start at zero.
Discussion
By default, Chart FX for iOS will set the minimum value of a numerical axis to zero even if the data set starts at a greater value. If you want Chart FX for iOS to automatically set the minimum value of the axis to the minimum value in the data passed, set this property to FALSE.
This property applies to numerical axes only.
Declared In
ChartFX.h
grids
Allows customization of grid lines by providing access to the supported members of the Grids class.
Discussion
This property provides customization of the chart Plot Area, by using the interlaced and interlacedColor properties of the Grids class.
Lines across the Axes can be added at the major and minor steps by setting major and minor Gridlines.
Lines across the Axes can be added at specific points by adding a CFXCustomGridLine.
Declared In
ChartFX.h
horizontal
Returns a boolean value specifying whether the selected axis is a horizontal or vertical axis.
Discussion
When the return value of this property is YES, the selected axis is horizontal. If NO, the selected axis is a vertical axis.
This property will return NO if the selected axis has not been enabled in the chart.
Declared In
ChartFX.h
inverted
Sets a selected numerical axis max value lesser than the min value.
Discussion
This property should be applied to a numerical axis. Assignment to categorical axes will not have an effect.
This property can only be applied to the X Axis in an XY plot chart. In an XY plot, the X Axis is a numerical axis rather than categorical.
When a selected axis is inverted, the alignment of the categorical axis of the chart will be reversed to make the chart more readable.
Declared In
ChartFX.h
keyLabels
Used to assign a key (short) legend to tickmarks in a categorical axis.
Parameters
- i
- A zero based index specifying the tickmark you want to assign the key legend.
Declared In
ChartFX.h
labelAngle
Sets the text rotation for the labels in the selected axis.
Discussion
This property uses an integer (degrees) ranging from [-90,90], depending on the rotation angle you want to set. Set this property to 90 to show labels vertically.
Use a positive number to rotate the labels from lower left to upper right. Use negative degrees to rotate the text from upper left to lower right.
If you would like to change the angle of PointLabels, you can use the angle property of the CFXPointLabelAttributes class.
Declared In
ChartFX.h
labels
Allows you to get or set the tick mark labels for the selected axis.
Parameters
- i
- A zero based index indicating the Label index for the axis.
Discussion
This property is used to read or write labels for a categorical axis. Normally, the X axis is a categorical axis containing labels associated with each major tick mark, while the Y axis is a numerical axis where labels are controlled by the scale (Min, Max, etc) and numerical data contained in the chart.
You can set as many labels as points are available in the chart. These labels will be shown in the major tick marks of the selected axis. Some of them can be left empty so no labels are shown on that specific major tick mark.
You can control how frequent these labels are displayed by using the step property. Label visual attributes like rotation, color, and font are also accessible through the labelAngle, textColor, and font properties, respectively.
By default, Chart FX for iOS does not associate any labels to the categorical axis (X axis) and a "TAG" number will be shown. When you use this property, the TAG numbers will be replaced by settings specified in this property.
When used in conjunction with the labelValue property, this property can be used to set string values to a numerical axis.
You can easily remove all labels set to an axis with the clear method of the CFXDataValues class.
The labels property of the CFXDataValues class is a shortcut to the Labels property of the main axisX object of the Chart.
Availability
- Available in iOS 5.0 and later.
Declared In
ChartFX.h
labelsFormat
Used to format the labels displayed on the selected axis.
Discussion
This property allows you to format axis labels without affecting the format of the data values contained in the chart.
You can use the dataFormat property to set a format for selected point labels, mouseover tips or values.
Availability
- Available in iOS 5.0 and later.
See Also
Declared In
ChartFX.h
labelValue
Allows you to set and associate text labels to major tick marks in a numerical axis.
This property can get or set the LabelValue assigned to any of the axes.
Discussion
Normally, labels in a numerical axis are automatically controlled and displayed according to the min, max and step properties. In some cases, you'll need to associate text labels with a numerical axis (using the labels property), but when any of the scale values (Min, Max, Step, etc) change, these labels will no longer serve their purpose as the tick marks will be recalculated according to scale settings.
For example, if you have a chart where the Y axis ranges from Min=0 to Max=100 and Step=25, you'll have 4 tick marks on 25,50,75 and 100. By default Chart FX for iOS will display numbers (as labels) associated with each tick mark.
Now let's say you want to associate text labels (instead of the number) with each tick mark in the Y axis and you use the Label Property to set the following text labels: "Twenty-Five", "Fifty", "Seventy-Five", "One Hundred".
When you do this, everything will work out fine and the 4 tick marks will be labeled accordingly; however, if during the execution of your program or through user interaction, the Step suddenly changes from 25 to 12.5, you'll have 8 tick marks instead of 4 because you used the Label property with indexes 0,1,2 and 3, the "Fifty" tickmark will no longer correspond to the 50 value.
If you would have set the LabelValue Property to 25, when the Step changes from 25 to 12.5 Chart FX for iOS will label every other tick mark and the labels will correspond to their initial setting.
Label visual attributes like rotation, color and font are also accessible through the labelAngle, textColor, and font properties, respectively.
Declared In
ChartFX.h
line
Allows you to apply supported Line class members to a selected axis line.
Discussion
You may control the color, width, and style properties of the selected line using the supported members of the Line class.
Declared In
ChartFX.h
lineSpacing
Gets or sets a value indicating the LineSpacing for an axis.
Discussion
This property specifies the LineSpacing for vertical axes. The labels in the selected axis will never be painted less than the configured LineSpacing.
Setting the LineSpacing property to 2 will instruct the axis to use double line spacing. Setting the value to 1 instructs the chart to use single line spacing. The default value is 1.5.
Declared In
ChartFX.h
logBase
Used to set a logarithmic scale for a numerical axis and recalculate the values as powers equal to the setting of this property.
Discussion
The LogBase property can be applied only to a numerical axis, a categorical axis will ignore this setting.
The LogBase property is a member of the axis object, therefore the axis object must be referenced in order to properly access the LogBase property.
No zeros or negative data values are permitted in logarithmic charts.
The step and minorStep properties setting must be equal or greater than the LogBase property setting.
Resetting the data contained in a chart will not automatically recalculate axis values, unless the recalculateScale method is called.
Availability
- Available in iOS 5.0 and later.
See Also
Declared In
ChartFX.h
max
Gets or sets the Max value assigned to the specified axis.
Discussion
The Max property can be applied only to a numerical axis, a categorical axis will ignore this setting.
The Max property is a member of the axis object, therefore the axis object must be referenced in order to properly access the Max property.
If no Max value is specified, Chart FX for iOS will automatically set a maximum value according to the data provided, you can use this property to read or write this default value.
Resetting the data contained in a chart will not automatically set a new Max value unless the recalculateScale method is called or the autoScale property is set to YES.
The value of the Max property must be greater than the value of the Min property.
There is no automatic method for aligning a main and secondary axis, it is required that you set the Min and Max in order to align them manually. The generic algorithm used to find these values is the following:
axis.min = otherAxis.min/(otherAxis.max / axis.max)
Declared In
ChartFX.h
maxSizePercentage
Allows you to specify the maximum percentage of the chart area the AxisX labels may occupy.
Discussion
This property is particularly useful when plotting angled or vertical labels along the x-axis; since the labels may be too long thus shrinking the plotted area of the chart, you may want to set the maxSizePercentage property to increase it.
This property may be configured with values ranging from 0 - 100. Specifying 0 will instruct Chart FX for iOS to try hiding the labels area and cover it by the chart.
Declared In
ChartFX.h
min
Gets or sets the Min value assigned to the specified axis.
Discussion
The Min property can be applied only to a numerical axis, a categorical axis will ignore this setting.
The Min property is a member of the axis object, therefore the axis object must be referenced in order to properly access the Min property.
If no Min value is specified, Chart FX for iOS will automatically set a minimum value according to the data provided, you can use this property to read or write this default value.
Changing the data contained in a chart will not automatically set a new Min value unless the recalculateScale method is called or the autoScale property is set to YES.
The value of the Min property must be lesser than the value of the Max property.
There is no automatic method for aligning a main and secondary axis, it is required that you set the Min and Max in order to align them manually. The generic algorithm used to find these values is the following:
axis.min = otherAxis.min/(otherAxis.max / axis.max)
Declared In
ChartFX.h
minorStep
Specifies the increment you want between minor tick marks and minor gridlines (if they are displayed) on the selected axis.
Discussion
This property is used to control the interval of minor tick marks and gridlines in the selected axis. For example, if the selected axis ranges from 0-100 and you have specified a step value of 10, labels and gridlines will appear at 10, 20, 30, etc. If you would like to have 5 minor tick marks in each major interval, set the MinorStep to 2. Please note the values for the Step and MinorStep properties are data related.
Labels will not appear at minor tick marks.
The value of the MinorStep Property must be lesser than the value of the step property.
When using the firstLabel property in the X Axis of a chart with values ranging from 0 to 1, the axis' MinorStep is used to calculate which label is the first, second, third, etc. When X Axis values range >1, then the axis' step is used for this calcuation.
Declared In
ChartFX.h
notify
Used to enable or disable the GetAxisLabel event so you can customize labels on the specified axis.
Availability
- Available in iOS 5.0 and later.
Declared In
ChartFX.h
pixelsPerUnit
Gives you the ability to control how many pixels per unit are in the selected axis.
This property is very useful if you want a scroll bar in the selected axis.
Availability
- Available in iOS 5.0 and later.
Declared In
ChartFX.h
position
Specifies the placement of the axis labels and tick marks relative to the chart.
Discussion
The Position property is a member of the axis object; therefore, the axis object must be referenced in order to set the property correctly.
Multiple axes may be created using the AxesX and the AxesY properties of the CFXChart class.
Declared In
ChartFX.h
scaleUnit
Returns or sets the scale unit of a selected axis.
Discussion
This constant is very useful when the values used on the Y axis are too big (i.e. 10,000,000) in this case you can use a 1,000,000 scale and the values on the Y axis will be divided by this scale.
The ScaleUnit property is a member of the axis object; therefore, the axis object must be referenced in order to set the property correctly.
Chart FX for iOS automatically calculates a scaleUnit based on the axis data and will add an axis title accordingly. This feature can be overridden by assigning 1 to scaleUnit.
Declared In
ChartFX.h
scrollPosition
Allows you to set the starting scroll position when a chart is scrollable.
Discussion
The autoScroll property of the chart must be set to YES in order for the ScrollPosition to be properly used.
When you set the ScrollPosition, the first point included in the chart will be the configured point.
You can use the scrollSize property to read the total number of scrolls in the chart based on the current scroll range.
You can set the scroll range using the setScrollView method.
Availability
- Available in iOS 5.0 and later.
See Also
Declared In
ChartFX.h
scrollSize
Returns the number of scrolls in a chart based on the scroll view configuration.
Discussion
You may set the scroll position using the scrollPosition property.
You may set the scroll view for a selected axis using the setScrollView property. The getScrollView property may be used to read these values.
Availability
- Available in iOS 5.0 and later.
See Also
Declared In
ChartFX.h
sections
Returns a selected AxisSection object.
Parameters
- n
- Zero based index specifying the AxisSection item.
Discussion
This property exposes the members of the AxisSection and AxisSectionBase classes. Please see the CFXAxisSection and CFXAxisSectionBaseclasses for additional information regarding those supported members.
Declared In
ChartFX.h
separation
Allows you to specify a gap in pixels between multiple axis.
Discussion
This property is useful when multiple axes are configured and you need to create space for readability.
Declared In
ChartFX.h
staggered
Alternates the level of the axis labels for the selected axis.
Discussion
Staggering axis labels can help improve chart readability when axis label strings are long.
Declared In
ChartFX.h
step
Specifies the interval of major tick marks and gridlines on the selected axis.
It also controls the gap or interval between labels in the selected axis.
Discussion
Normally, you use this property to control the interval of labels, tick marks and gridlines in the selected axis. For example, if the selected axis ranges from 0 -100 and you want to show labels, tick marks or gridlines every 10 units, then the appropriate setting for the Step property is 10.
This property can also be used for a categorical axis. For example, if your X axis displays labels ranging from January to December and you set the Step property to 2, then the categorical axis will display legends every other month.
You can also control a minor interval with the minorStep property.
If no Step value is specified, Chart FX for iOS will automatically set a Step according to the data provided, you can use this property to read or write this default value.
Changing the data contained in a chart will not automatically change the Step value. If you want Chart FX to calculate an appropriate Step value automatically set the Step value to 0 (Automatic) or invoke the recalculateScale method.
The value of the Step Property must be greater than the value of the minorStep property.
When using the firstLabel property in the X Axis of a chart with values ranging from 0 to 1, the axis' minorStep is used to calculate which label is the first, second, third, etc. When X Axis values range >1, then the axis' Step is used for this calcuation.
Declared In
ChartFX.h
style
Allows you to add additional styles to the selected axis.
Discussion
This property is a mask property. This means all settings represent a bit in the word that you need to turn on or off according to what you want. For this purpose you will need to use the bitwise operators (And, Or, Not, Xor) provided by your development tool.
Because it is a mask property, you must make sure you use these operators to turn on/off bits and avoid losing previous settings to the property.
For example, if you want to turn ON the Interlaced setting the right way of setting this property is:
chart1.axisX.style = chart1.axisX.style | CFXAxisStylesInterlaced
If you type the following code:
chart1.axisX.style = CFXAxisStylesInterlaced
(WRONG!)
You will erase all other settings in the property causing an erratic behavior of the library and an incorrect setting of the individual properties which also control these flags.
The Axis.Style property supports a flag called AutoFirstLabel (Default=ON) which automatically positions the first label to the closest number rounded to the axis step. For example, if a numeric axis starts at 7 with a Step of 10 and the AutoFirstLabel property is ON, the axis will show labels at 10,20,30 and so on. If the AutoFirstLabel property is turned off labels will be shown at 7,17,27 and so on.
Note: If the axis contains dates (Date Axis) the AutoFirstLabel property will position the first label at the end of the month. If the AutoFirstLabel is turned OFF, the labels will be shown using the first available date and advanced using the Step property setting.
Declared In
ChartFX.h
title
Gets or sets the title for a specific axis.
Discussion
The Title property is a member of the axis object; therefore, the axis object must be referenced in order to properly utilize the Title property.
This property receives or returns a CFXTitle class. By accessing the title object properties, you can change attributes like: Alignment, Color, Font, and Text.
This property is used to get or set the axis title. To set the chart top title, please refer to the chart's titles property.
You can create a MultiLine title by including the text\r character.
Declared In
ChartFX.h
visible
Shows or hides the lines, labels, tick marks and grids for the selected axis.
Discussion
The Visible property is a member of the axis object; therefore, the axis object must be referenced in order to properly utilize the Visible property.
By hiding the labels for the specified axis using the Visible property, other attributes such as the grids and tick marks are also hidden.
Declared In
ChartFX.h
Instance Methods
adjustScale
Adjusts the selected axis to "nice" scale values.
Discussion
This method is ONLY useful if the autoScale property is disabled, as Chart FX will recalculate scale values and adjust the axis accordingly. But if you disable the AutoScale feature to set your own Min and Max (and Step when applicable) you can use this method to round them to "nice" values.
"Nice" values are calculated according to the values associated with the axis in powers of 10, For example:
If your y axis ranges from 0-18, the AdjustScale method can round the Max value to 20.
If your y axis ranges from 0-0.56, the AdjustScale method can round the Max Value to 0.6.
If your y axis ranges from 0-234, the AdjustScale method can round the Max Value to 300.
This method will not affect the step and minorStep properties if they have been previously set. To make sure they respond to this method, make sure the Step and MinorStep properties are set to zero (0).
A typical case of when to use this method is when you disable the autoScale property to calculate your Min and Max and any of them are not a "nice" number because they are being calculated according to the data being sent to the chart. At this time, you can invoke the AdjustScale method so they are rounded to "nice" numbers.
Availability
- Available in iOS 5.0 and later.
See Also
Declared In
ChartFX.h
pixelToValue:
Converts a position in pixels in the chart area to its representation on the respective axis.
Parameters
- xyPixel
- An integer specifying the pixel value to be converted.
Discussion
The origin or (0,0) coordinate in pixels, is always positioned in the top/left corner of the chart, without including the toolbar or other tools that may be showing in the chart area.
This method is useful when customizing the chart painting or positioning annotation objects in the chart area. For example, you may want to convert a particular position in pixels to axis coordinates.
All the tap events return an object that holds the X and Y pixel values where the mouse event was fired in the chart area. By converting the pixels you can determine the point value where the tap event occured.
This method must be invoked after the chart has been painted at least once. Invoking this method before the chart has been painted will return unexpected results.
Declared In
ChartFX.h
resetScale
Prepares the selected axis to receive new data by resetting scale values.
Discussion
This method is to be called before new data is going to be sent to the chart.
This method resets all scale values for the selected axis. When new data is provided, Chart FX can recalculate values accordingly.
The affected scale values are:
min and max which are set to undefined so when new data arrives they can be calculated accordingly by Chart FX.
step and minorStep which are set to Automatic.
This method should be called before sending new data to the chart. Calling this method after setting the data to the chart will cause undesired results. Please refer to the recalculateScale method to recalculate automatic values for existent data.
Availability
- Available in iOS 5.0 and later.
See Also
Declared In
ChartFX.h
scrollViewMin:max:
Used to retrieve values set by the SetScrollViewMin method.
Parameters
- min
- Variable (passed by reference) that will store the min value or where the scroll bar begins.
- max
- Variable (passed by reference) that will store the max value or where the view (scroll bar) ends.
Discussion
The GetScrollView will return the min and max values for scrolling in the chart.
Please refer to the setScrollView method for more information on the use of this method.
Declared In
ChartFX.h
valueToPixel:
Converts a value to its position in pixels on a selected axis.
Parameters
- value
- A double specifying the point value to be converted.
Discussion
This method is useful when customizing the chart painting or positioning annotation objects in the chart area. You may want to convert a particular position in the chart area given in axis units to screen coordinates (pixels).
This method must be invoked after the chart has been painted at least once. Invoking this method before the chart has been painted will return unexpected results.
Declared In
ChartFX.h
setScrollViewMin:max:
Creates a scroll bar to view a portion of the selected axis.
Parameters
- min
- Where the view (scroll bar) begins.
- max
- Where the view (scroll bar) ends.
Availability
- Available in iOS 5.0 and later.
See Also
Declared In
ChartFX.h
Constants
CFXAxisPosition
Specifies the placement of the axis line relative to the chart.
typedef enum { CFXNear, CFXFar } CFXAxisPosition;
Constants
CFXNear
- Specifies the axis line be placed near the chart in the following way: In a X axis, the axis line be below the chart. In Y axis, the axis line be left to the chart.
CFXFar
- Specifies that axis line is placed far from the chart in the following way: In a X axis, the axis line be above the chart. In a Y axis, the axis line is right to the chart.
Declared In
chartfx.h
CFXAxisStyles
Allows you to add additional styles to the selected axis.
typedef enum { CFXHideText, CFXNotify, CFXShow2Levels, CFXSingleLine, CFXBreakZero, CFXHide, CFXNotClipped, CFXCentered, CFXRotateText, CFXLongTick, CFXAutoScale, CFXForceZero, CFXShowEnds, CFXRoundStep, CFXIgnoreLabels, CFXGridFront, CFXInverted, CFXDetectArea, CFXShowIntermediateLogLabels, CFXAutoMinorStep, CFXAutoFirstLabel, CFXAutoCenter, CFXFixRightAligned, CFXAutoLabelLayout, CFXAllowHalf, CFXHighlightValues, CFXDefault, CFXLeftAligned, CFXDoNotReset } CFXAxisStyles;
Constants
CFXHideText
- Hides labels for the selected axis.
CFXNotify
- Setting this flag will make the chart generate a GetAxisLabel Event every time it needs to draw a legend in the selected axis.
CFXShow2Levels
- Displays staggered labels.
CFXSingleLine
- Do not word-wrap labels.
CFXBreakZero
- This constant will cause a chart to set the starting point at zero. For example, if you have a bar chart with a minimum value of -50 and turn on this flag the starting point will be zero and you will have bars that go up or down, depending on their value.
CFXHide
- Hides entire axis, including labels and tick marks.
CFXNotClipped
- Do not clip the X legends (It is the programmers responsibility to assure that labels don't overlap each other). Setting this flag ON will avoid the RED tags to show when a label is too big, you can also use this flag when you don't want to set labels for every point (i.e. set a label every 20th point).
CFXCentered
- Displays Interlaced Grid on the selected axis.
CFXRotateText
- This setting applies to 3D charts only and it allows the text to be rotated when the chart is rotated.
CFXLongTick
- Displays a long major tick mark that makes the axis label appear enclosed in a box. This setting is used in conjunction with the Centered flag.
CFXAutoScale
- Same as AutoScale Property.
CFXForceZero
- Forces minimum to zero when adjusting the axis in a chart where all values are positive.
CFXShowEnds
- Forces ChartFX to display the minimum and maximum value independently from the step set to the chart. For example, if step is 10 and maximum is 95 when this setting is used, the axis will show ...60,70,80,90 and 95.
CFXRoundStep
- Do round the interval of tick marks and gridlines on the selected axis. The values shown on the axis will exactly the same data passed to the chart.
CFXIgnoreLabels
- Ignores any axis label assignments and displays labels as default.
CFXGridFront
- Paints the axis gridlines on top of the series point markers.
CFXInverted
- Sets the Max value for the selected axis lesser than the Min value.
CFXDetectArea
- Instructs Chart FX to include the area around the axis labels when accessing the axis context menu. By default the menu is only accessible by right-clicking over an axis label.
CFXShowIntermediateLogLabels
- Used to display incremental values for charts with logarithmic scale.
CFXAutoMinorStep
- Instructs Chart FX to calculate the MinorStep automatically.
CFXAutoFirstLabel
- Automatically positions the first label to the closest number rounded to the axis step.
CFXAutoCenter
- Instructs Chart FX to center the labels automatically.
CFXFixRightAligned
- Right justifies label text.
CFXAutoLabelLayout
- Auto label layout will automatically determine if staggering or setting in an angle will increase the visibility of the labels. If turned off, the Axis will not stagger or angle the labels unless specified using the right properties.
CFXAllowHalf
- If space permits and the Step property is left at auto, this enum will instruct the Axis to draw double the amount of labels as it normally would (drawing labels for half steps).
CFXHighlightValues
- Instructs Chart FX to Highlight values higher than the value pointed by the mouse when highlighting the Axis.
CFXDefault
- The default value is: SingleLine OR BreakZero OR LongTick OR AutoScale OR ForceZero
CFXLeftAligned
- If Y Axis is set to Far, this will instruct the labels to be aligned to the left.
CFXDoNotReset
- Setting this enum will prevent the Axis to reset in situations where it would normally reset it, like when the method RecalculateScale is called or the data is bound to the chart. Will only affect charts where the scale is left as auto. The method ResetScale will still work, since it is Axis specific.
Declared In
chartfx.h