包 | com.supermap.web.iServerJava6R.themeServices |
类 | public class ThemeGraphAxes |
继承 | ThemeGraphAxes ![]() |
该类用于设置统计图中坐标轴样式相关信息,如坐标轴颜色、是否显示、坐标文本样式等。
属性 | 定义方 | ||
---|---|---|---|
axesColor : ServerColor
坐标轴颜色,默认为黑色。当
axesDisplayed = true 时有效。 |
ThemeGraphAxes | ||
axesDisplayed : Boolean
是否显示坐标轴。默认为 false,即不显示.
|
ThemeGraphAxes | ||
axesGridDisplayed : Boolean
是否在统计图坐标轴上显示网格。默认为 false,即不显示。当
axesDisplayed = true 时有效。 |
ThemeGraphAxes | ||
axesTextDisplayed : Boolean
是否显示坐标轴的文本标注。默认为 false,即不显示。当
axesDisplayed = true 时有效。 |
ThemeGraphAxes | ||
axesTextStyle : ServerTextStyle
ServerTextStyle 对象。获取或设置坐标轴文本显示风格。当
axesTextDisplayed = true 时有效。 |
ThemeGraphAxes |
方法 | 定义方 | ||
---|---|---|---|
初始化 ThemeGraphAxes 类的新实例。
|
ThemeGraphAxes |
axesColor | 属性 |
axesColor:ServerColor
坐标轴颜色,默认为黑色。当 axesDisplayed = true
时有效。
public function get axesColor():ServerColor
public function set axesColor(value:ServerColor):void
axesDisplayed | 属性 |
axesDisplayed:Boolean
是否显示坐标轴。默认为 false,即不显示.
由于饼状图和环状图无坐标轴,故该属性以及所有与坐标轴设置相关的属性都不适用于它们。并且只有当该值为 true 时,其它设置坐标轴的属性才起作用。
public function get axesDisplayed():Boolean
public function set axesDisplayed(value:Boolean):void
axesGridDisplayed | 属性 |
axesGridDisplayed:Boolean
是否在统计图坐标轴上显示网格。默认为 false,即不显示。当 axesDisplayed = true
时有效。
public function get axesGridDisplayed():Boolean
public function set axesGridDisplayed(value:Boolean):void
axesTextDisplayed | 属性 |
axesTextDisplayed:Boolean
是否显示坐标轴的文本标注。默认为 false,即不显示。当 axesDisplayed = true
时有效。
public function get axesTextDisplayed():Boolean
public function set axesTextDisplayed(value:Boolean):void
axesTextStyle | 属性 |
axesTextStyle:ServerTextStyle
ServerTextStyle 对象。获取或设置坐标轴文本显示风格。当 axesTextDisplayed = true
时有效。
public function get axesTextStyle():ServerTextStyle
public function set axesTextStyle(value:ServerTextStyle):void
另请参见
ThemeGraphAxes | () | 构造函数 |
public function ThemeGraphAxes()
初始化 ThemeGraphAxes 类的新实例。