Package | Top Level |
Class | public class Charts |
Inheritance | Charts YUIAdapter flash.display.Sprite |
Method | Defined by | ||
---|---|---|---|
Charts()
Constructor.
| Charts | ||
getAltText():String
Gets the alternative text for assistive technology.
| YUIAdapter | ||
getCategoryField():String
Returns the field used in complex objects to access categories to be
displayed on the PieChart.
| Charts | ||
getCategoryNames():Array
Returns the category names.
| Charts | ||
getDataField():String
Returns the field used in complex objects to access data to be
displayed on the PieChart.
| Charts | ||
getHorizontalAxisTitle():String
Returns the title displayed next to the vertical axis.
| Charts | ||
getHorizontalField():String
Returns the field used in complex objects to access data to be
displayed on the horizontal axis.
| Charts | ||
getVerticalAxisTitle():String
Returns the title displayed next to the vertical axis.
| Charts | ||
getVerticalField():String
Returns the field used in complex objects to access data to be
displayed on the vertical axis.
| Charts | ||
setAltText(value:String):void
Sets the alternative text for assistive technology.
| YUIAdapter | ||
setCategoryField(value:String):void
Sets the field used in complex objects to access categories to be displayed
on the PieChart.
| Charts | ||
setCategoryNames(value:Array):void
Sets the category names used if the data requires a category axis.
| Charts | ||
setDataField(value:String):void
Sets the field used in complex objects to access data to be displayed
on the PieChart.
| Charts | ||
setDataProvider(value:Array):void
| Charts | ||
setDataTipFunction(value:String):void
Sets the JavaScript function to call to generate the chart's data tip.
| Charts | ||
setHorizontalAxis(value:Object):void
Updates the horizontal axis with a new type.
| Charts | ||
setHorizontalAxisTitle(value:String):void
Sets the title displayed next to the horizontal axis.
| Charts | ||
setHorizontalField(value:String):void
Sets the field used in complex objects to access data to be displayed
on the horizontal axis.
| Charts | ||
setSeriesStyles(styles:Array):void
| Charts | ||
setStyle(name:String, value:Object, json:Boolean = true):void
| Charts | ||
setStyles(styles:String):void
Accepts a JSON-encoded set of styles for the chart itself.
| Charts | ||
setType(value:String):void
Creates a chart instance based on the specified type.
| Charts | ||
setVerticalAxis(value:Object):void
Updates the vertical axis with a new type.
| Charts | ||
setVerticalAxisTitle(value:String):void
Sets the title displayed next to the vertical axis.
| Charts | ||
setVerticalField(value:String):void
Sets the field used in complex objects to access data to be displayed
on the vertical axis.
| Charts |
Method | Defined by | ||
---|---|---|---|
chartItemExtraEventHandler(event:MouseEvent):void
| Charts | ||
initializeComponent():void
To be overridden by subclasses to add ExternalInterface callbacks.
| YUIAdapter | ||
log(message:Object, category:String = null):void
Sends a log message to the YUI Logger.
| YUIAdapter | ||
setAxisStyles(styles:Object, axisName:String):void
| Charts | ||
setDataTipStyles(styles:Object):void
| Charts | ||
setLegendStyles(styles:Object):void
| Charts | ||
showFatalError(message:Object):void
| YUIAdapter |
Charts | () | constructor |
public function Charts()
Constructor.
chartItemExtraEventHandler | () | method |
protected function chartItemExtraEventHandler(event:MouseEvent):void
Parameters
event:MouseEvent |
getCategoryField | () | method |
public function getCategoryField():String
Returns the field used in complex objects to access categories to be displayed on the PieChart.
ReturnsString |
getCategoryNames | () | method |
public function getCategoryNames():Array
Returns the category names.
ReturnsArray |
getDataField | () | method |
public function getDataField():String
Returns the field used in complex objects to access data to be displayed on the PieChart.
ReturnsString |
getHorizontalAxisTitle | () | method |
public function getHorizontalAxisTitle():String
Returns the title displayed next to the vertical axis.
ReturnsString |
getHorizontalField | () | method |
public function getHorizontalField():String
Returns the field used in complex objects to access data to be displayed on the horizontal axis.
ReturnsString |
getVerticalAxisTitle | () | method |
public function getVerticalAxisTitle():String
Returns the title displayed next to the vertical axis.
ReturnsString |
getVerticalField | () | method |
public function getVerticalField():String
Returns the field used in complex objects to access data to be displayed on the vertical axis.
ReturnsString |
setAxisStyles | () | method |
protected function setAxisStyles(styles:Object, axisName:String):void
Parameters
styles:Object |
|
axisName:String |
setCategoryField | () | method |
public function setCategoryField(value:String):void
Sets the field used in complex objects to access categories to be displayed on the PieChart.
Parametersvalue:String |
setCategoryNames | () | method |
public function setCategoryNames(value:Array):void
Sets the category names used if the data requires a category axis. This field should be used if the data does not define the category values directly.
Parametersvalue:Array |
setDataField | () | method |
public function setDataField(value:String):void
Sets the field used in complex objects to access data to be displayed on the PieChart.
Parametersvalue:String |
setDataProvider | () | method |
public function setDataProvider(value:Array):void
Parameters
value:Array |
setDataTipFunction | () | method |
public function setDataTipFunction(value:String):void
Sets the JavaScript function to call to generate the chart's data tip.
Parametersvalue:String |
setDataTipStyles | () | method |
protected function setDataTipStyles(styles:Object):void
Parameters
styles:Object |
setHorizontalAxis | () | method |
public function setHorizontalAxis(value:Object):void
Updates the horizontal axis with a new type.
Parametersvalue:Object |
setHorizontalAxisTitle | () | method |
public function setHorizontalAxisTitle(value:String):void
Sets the title displayed next to the horizontal axis.
Parametersvalue:String |
setHorizontalField | () | method |
public function setHorizontalField(value:String):void
Sets the field used in complex objects to access data to be displayed on the horizontal axis. If the input data is XML, and the field is an attribute, be sure to include the "
Parametersvalue:String |
setLegendStyles | () | method |
protected function setLegendStyles(styles:Object):void
Parameters
styles:Object |
setSeriesStyles | () | method |
public function setSeriesStyles(styles:Array):void
Parameters
styles:Array |
setStyle | () | method |
public function setStyle(name:String, value:Object, json:Boolean = true):void
Parameters
name:String |
|
value:Object |
|
json:Boolean (default = true )
|
setStyles | () | method |
public function setStyles(styles:String):void
Accepts a JSON-encoded set of styles for the chart itself. Flash Player versions below 9.0.60 don't encode ExternalInterface calls correctly!
Parametersstyles:String |
setType | () | method |
public function setType(value:String):void
Creates a chart instance based on the specified type.
Parametersvalue:String |
setVerticalAxis | () | method |
public function setVerticalAxis(value:Object):void
Updates the vertical axis with a new type.
Parametersvalue:Object |
setVerticalAxisTitle | () | method |
public function setVerticalAxisTitle(value:String):void
Sets the title displayed next to the vertical axis.
Parametersvalue:String |
setVerticalField | () | method |
public function setVerticalField(value:String):void
Sets the field used in complex objects to access data to be displayed on the vertical axis. If the input data is XML, and the field is an attribute, be sure to include the "
Parametersvalue:String |