| Package | com.flexicious.components.charts | 
| Class | public class LineChart | 
| Inheritance | LineChart    CartesianChart   TinyChartBase   ChartBase   spark.components.supportClasses.SkinnableComponent | 
| Implements | ILineChart | 
| Subclasses | AreaChart | 
The LineChart control expects its series property
	  to contain an Array of LineSeries objects.
Hide MXML Syntax<mx:LineChart> tag inherits all the properties
	  of its parent classes and adds the following properties:
	  
	  <mx:LineChart />
| Property | Defined By | ||
|---|---|---|---|
![]()  | animate : Boolean [read-only] 
		  Should the chart animate? 
		   | TinyChartBase | |
![]()  | autoAdjust : Boolean = true 
		 Whether or not to adjust the min and max values for this series so that the axis bound to this series 
		 will pad end values to nicely distribute the numbers 
		   | TinyChartBase | |
![]()  | backgroundEnabled : Boolean = true 
		 Flag whether or not to draw the background 
		   | TinyChartBase | |
| chartType : String [override] [read-only] 
		 
		 One of the following constants, on basis of which chart type this is.  | LineChart | ||
![]()  | currentTip : IDataTipRenderer | TinyChartBase | |
![]()  | data : Object | ChartBase | |
![]()  | dataProvider : Object [override] 
		 
		  Specifies the data provider for the chart.  | TinyChartBase | |
![]()  | dataTipFunction : Function 
		  Specifies a callback method used to generate data tips from values.  | ChartBase | |
![]()  | description : String 
		  A short description of the data in the chart.  | ChartBase | |
![]()  | elementsToBlur : Array [read-only]   | TinyChartBase | |
![]()  | elementToCenter : IUIComponent [read-only]   | TinyChartBase | |
![]()  | firstSeries : Series [read-only] 
		 The first series
		   | TinyChartBase | |
![]()  | horizontalAxisHeight : Number [read-only] 
		 Height of the horizontal axis 
		   | CartesianChart | |
![]()  | horizontalGridLines : Boolean 
		 Whether or not to draw grid lines.  | CartesianChart | |
![]()  | interval : Number 
		 For IBarChart and IColumnChart support, where you have an axis, you can define a custom interval.  | TinyChartBase | |
![]()  | mouseSensitivity : Number = 2 
		  Specifies the distance, in pixels, that Flex considers a data point
		  to be under the mouse pointer when the pointer moves around a chart.  | ChartBase | |
![]()  | numElements : int [read-only] 
		  The number of elements in the associates skin 
		   | ChartBase | |
![]()  | painter : TinyChartPainterBase 
		 The default painter for this chart.  | TinyChartBase | |
![]()  | rightGutter : Number [read-only] 
		 Amount of space to leave on the right hand side for overrun of larger label values.  | CartesianChart | |
![]()  | secondarySeries : Array 
		 For multi series charts, you can add secondary series to this array.  | TinyChartBase | |
![]()  | selectedChartItems : Array [read-only] 
		  Specifies an array of all the selected ChartItem objects in the chart.  | TinyChartBase | |
![]()  | selectionMode : String 
		  Specifies whether or not ChartItem objects can be selected.  | ChartBase | |
![]()  | series : Array 
		  An array of Series objects that define the chart data.  | TinyChartBase | |
![]()  | showDataTips : Boolean = true 
		 Flag to show data tips for this chart 
		   | TinyChartBase | |
![]()  | showSpinnerOnCreationComplete : Boolean | TinyChartBase | |
![]()  | spinner : ISpinner | TinyChartBase | |
![]()  | spinnerBehavior : SpinnerBehavior | TinyChartBase | |
![]()  | spinnerFactory : IFactory 
 Factory responsible for instantiating a new spinner.  | TinyChartBase | |
![]()  | spinnerLabel : String 
 The label of the spinner control, you can use styles
  to control the appearance.  | TinyChartBase | |
![]()  | spinnerParent : Object [read-only] 
		 The parent component to add the spinner to
		   | TinyChartBase | |
![]()  | threeDimensional : Boolean 
		 Is this a 3D chart? For the 2.9 release, only bar and column charts support 3d.  | TinyChartBase | |
![]()  | threeDimensionalShadowRatio : Number 
		 If threeDimensional is set to true, the ratio of the shadow for the 3D perspective.  | TinyChartBase | |
![]()  | tooltipBehavior : TooltipBehavior | TinyChartBase | |
![]()  | topGutter : Number [read-only] 
		 Amount of space to leave on the right hand side for overrun of larger label values.  | CartesianChart | |
![]()  | type : String 
		  The type of bar/column chart to render.  | CartesianChart | |
![]()  | useElements : Boolean [read-only] 
		 Whether to use addElement or addChild;
		   | ChartBase | |
![]()  | verticalAxisWidth : Number [read-only] 
		 Width of the vertical axis 
		   | CartesianChart | |
![]()  | verticalGridLines : Boolean 
		 Whether or not to draw vertical grid lines.  | CartesianChart | |
| Method | Defined By | ||
|---|---|---|---|
| LineChart | |||
![]()  | addElement(element:IVisualElement):IVisualElement 
		 This method will add the passed in visual element directly into the associates skin 
		   | ChartBase | |
![]()  | drawChart():void 
		 This method actually draws the chart.  | TinyChartBase | |
![]()  | findDataPoints(x:Number, y:Number, checkInteractivity:Boolean = false, sensitivity:int = -1):Array 
		  Returns an array of HitData objects that describe
		  the nearest data point to the coordinates passed to the method.  | TinyChartBase | |
![]()  | getHorizontalAxisMarkerLength():Number 
		 Length of the horizontal axis ticks
		   | CartesianChart | |
![]()  | getPlotPoints(item:Object):Array 
		 Gets all the plot points across all series for this item.  | TinyChartBase | |
![]()  | getVerticalAxisMarkerLength():Number 
		 Length of the vertical axis ticks
		   | CartesianChart | |
![]()  | hideSpinner():void  | TinyChartBase | |
![]()  | invalidateChart():void 
		  Triggers a redraw of the chart area.  | TinyChartBase | |
![]()  | invalidateChartArea():void 
		  Triggers a redraw of the chart area.  | TinyChartBase | |
![]()  | invalidateChartSize():void 
		  Triggers a redraw of the chart area.  | TinyChartBase | |
![]()  | isItemSelected(item:Object, series:Series = null):Boolean 
		 Iterates over selectedChartItems and checks to see if any chart item has specified item
		 selected.  | TinyChartBase | |
![]()  | isItemUnderMouse(item:Object, series:Series = null, first:Boolean = false):Boolean 
		 Iterates over _itemsUnderMouse and checks to see if any chart item has specified item
		 selected.  | TinyChartBase | |
![]()  | showSpinner(msg:String):void  | TinyChartBase | |
| Method | Defined By | ||
|---|---|---|---|
![]()  | attachSkin():void [override]   | ChartBase | |
![]()  | collectionChangeHandler(event:CollectionEvent):void [override] 
		 Collection change handler.  | TinyChartBase | |
defaultDataTipFunction(hitData:HitData):String [override] 
		 Datatip function
		   | LineChart | ||
![]()  | measure():void [override] 
		   | ChartBase | |
![]()  | mouseClickHandler(event:MouseEvent):void 
		 Handler for the mouse click event.  | TinyChartBase | |
![]()  | mouseDoubleClickHandler(event:MouseEvent):void 
		 Handler for the double click event.  | TinyChartBase | |
![]()  | mouseDownHandler(event:MouseEvent):void 
		 Handler for the mouse down event.  | TinyChartBase | |
![]()  | mouseMoveHandler(event:MouseEvent):void  | TinyChartBase | |
![]()  | mouseOutHandler(event:MouseEvent):void 
		 Handler for the mouse out event.  | TinyChartBase | |
![]()  | mouseUpHandler(event:MouseEvent):void 
		 Handler for the mouse over event.  | TinyChartBase | |
![]()  | onCreationComplete(event:FlexEvent):void [override]   | TinyChartBase | |
![]()  | onResize(event:ResizeEvent):void [override]   | TinyChartBase | |
![]()  | partAdded(partName:String, instance:Object):void [override]   | CartesianChart | |
This component uses skins made up of skin parts. Do not set the skin parts directly. The component's skin sets the skin parts.
| chartType | property | 
chartType:String  [read-only] [override] One of the following constants, on basis of which chart type this is.
    public function get chartType():String| LineChart | () | Constructor | 
public function LineChart()| defaultDataTipFunction | () | method | 
override protected function defaultDataTipFunction(hitData:HitData):StringDatatip function
Parameters
hitData:HitData | 
String — 
		  |