前页 | 后页 |
ChartAxisIndex Class
ChartAxisIndex Attributes
Attribute |
Description |
See also |
---|---|---|
Visible |
Boolean Shows or hides the axis. |
ChartAxisIndex Methods
Method |
Description |
See also |
---|---|---|
EnableMajorUnitIntervalInterlacing(boolean binterlace) |
void Turns interlacing on or off. |
|
GetGuid() |
string Returns the guid of the axis. Uniquely identifies an axis. |
|
GetLabel() |
string Returns the value of the label of the axis. |
|
SetAxisName(string label, boolean showonaxis) |
void Sets the label for the axis and whether it should be displayed on the chart. Parameters:
|
|
SetCrossType(long type) |
void Provides a directive or hint for use when calculating the position of labels on an axis. Parameters:
|
ChartAxisCrossType |
SetDataFormat(string format, boolean formatAsDate) |
void Sets the format string for the conversion of values to strings (e.g. "%.4f"). If the datapoints represent datetime values, the formatAsDate argument should be true, and the format string set appropriately (e.g. "%H:%M") Parameters:
|
|
SetDisplayUnits(double units) |
void Sets the display units on the axis. Basically, the datapoint values are divided by this figure to give a major unit value. For example, if the datapoint contains meter values, a value of 1000 would result in kilometers being used as the major unit on the axis. Parameters:
|
|
SetFixedDisplayRange(double fmin, double fmax) |
void Sets a fixed range for the axis. Parameters:
|
|
SetLabelType(long labelpos) |
void Sets the position of labels on the axis. Parameters:
|
ChartAxisLabelType |
SetTickMark(long tickmarkpos) |
void Sets the position of tick marks on the axis. Parameters:
|
ChartAxisTickMarkType |
ShowMajorGridLines(boolean show) |
void Shows or hides grid lines. |