Réserver une Démo

SVP notez : Cette page d’aide n’est pas pour la dernière version d’Enterprise Architect. La dernière aide peut être trouvée ici.

Pré. Proc.

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:

  • label: string, the text for the label

  • showonaxis: Boolean, a true value indicates that the label is displayed

SetCrossType(long type)

void
Provides a directive or hint for use when calculating the position of labels on an axis.
Parameters:

  • type: long, one of the ChartAxisCrossType enumerations

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:

  • format: string, the format to use when converting datapoint values to string

  • formatAsDate: Boolean, a true value indicates the datapoint represent a datetime

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:

  • units: double, the value of a single unit on the axis

SetFixedDisplayRange(double fmin, double fmax)

void
Sets a fixed range for the axis.
Parameters:

  • fmin: double, the minimum value

  • fmax: double, the maximum value

SetLabelType(long labelpos)

void
Sets the position of labels on the axis.
Parameters:

  • labelpos: long, one of the ChartAxisLabelType enumerations

ChartAxisLabelType

SetTickMark(long tickmarkpos)

void
Sets the position of tick marks on the axis.
Parameters:

  • tickmarkpos: long, one of the ChartAxisTickMarkType enumerations

ChartAxisTickMarkType

ShowMajorGridLines(boolean show)

void
Shows or hides grid lines.