Packagecom.amcharts.stock
Classpublic class ChartScrollbarSettings
InheritanceChartScrollbarSettings Inheritance flash.events.EventDispatcher

Scrollbar settings. In case a property is not specified, default style and property values from ChartScrollbar will be used.



Public Properties
 PropertyDefined by
  autoGridCount : Boolean
Specifies whether number of gridCount is specified automatically, according to the axis size.
ChartScrollbarSettings
  backgroundAlpha : Number
Background opacity.
ChartScrollbarSettings
  backgroundColor : Number
Background color of the scrollbar.
ChartScrollbarSettings
  color : Number
Text color.
ChartScrollbarSettings
  enabled : Boolean
Set false if you don't need scrollbar.
ChartScrollbarSettings
  fontSize : Number
Font size.
ChartScrollbarSettings
  graph : AmGraph
Specifies which graph will be displayed in the scrollbar.
ChartScrollbarSettings
  graphFillAlpha : Number
Graph fill opacity.
ChartScrollbarSettings
  graphFillColor : Number
Graph fill color.
ChartScrollbarSettings
  graphLineAlpha : Number
Graph line opacity.
ChartScrollbarSettings
  graphLineColor : Number
Graph line color.
ChartScrollbarSettings
  graphType : String
Type of chart scrollbar's graph.
ChartScrollbarSettings
  gridAlpha : Number
Grid opacity.
ChartScrollbarSettings
  gridColor : Number
Grid color.
ChartScrollbarSettings
  gridCount : Number
Grid count.
ChartScrollbarSettings
  height : Number
Height of scrollbar, in pixels.
ChartScrollbarSettings
  hideResizeGrips : Boolean
Specifies whether resize grips are hidden when mouse is away from the scrollbar.
ChartScrollbarSettings
  resizeEnabled : Boolean
Specifies whether scrollbar has a resize feature.
ChartScrollbarSettings
  scrollDuration : Number
Duration of scrolling, when the user clicks on scrollbar's background, in seconds.
ChartScrollbarSettings
  selectedBackgroundAlpha : Number
Selected background opacity.
ChartScrollbarSettings
  selectedBackgroundColor : Number
Selected background color.
ChartScrollbarSettings
  selectedGraphFillAlpha : Number
Selected graph's fill opacity.
ChartScrollbarSettings
  selectedGraphFillColor : Number
Selected graph's fill color.
ChartScrollbarSettings
  selectedGraphLineAlpha : Number
Selected graph's line opacity.
ChartScrollbarSettings
  selectedGraphLineColor : Number
Selected graph's line color.
ChartScrollbarSettings
  updateOnReleaseOnly : Boolean
Specifies if the chart should be updated while dragging/resizing the scrollbar or only at the moment when user releases mouse button.
ChartScrollbarSettings
Public Methods
 MethodDefined by
  
Constructor.
ChartScrollbarSettings
Property detail
autoGridCountproperty
autoGridCount:Boolean  [read-write]

Specifies whether number of gridCount is specified automatically, according to the axis size.

The default value is true.

Implementation
    public function get autoGridCount():Boolean
    public function set autoGridCount(value:Boolean):void
backgroundAlphaproperty 
backgroundAlpha:Number  [read-write]

Background opacity.

Implementation
    public function get backgroundAlpha():Number
    public function set backgroundAlpha(value:Number):void
backgroundColorproperty 
backgroundColor:Number  [read-write]

Background color of the scrollbar.

Implementation
    public function get backgroundColor():Number
    public function set backgroundColor(value:Number):void
colorproperty 
color:Number  [read-write]

Text color.

Implementation
    public function get color():Number
    public function set color(value:Number):void
enabledproperty 
enabled:Boolean  [read-write]

Set false if you don't need scrollbar.

The default value is true.

Implementation
    public function get enabled():Boolean
    public function set enabled(value:Boolean):void
fontSizeproperty 
fontSize:Number  [read-write]

Font size.

Implementation
    public function get fontSize():Number
    public function set fontSize(value:Number):void
graphproperty 
graph:AmGraph  [read-write]

Specifies which graph will be displayed in the scrollbar.

Implementation
    public function get graph():AmGraph
    public function set graph(value:AmGraph):void
graphFillAlphaproperty 
graphFillAlpha:Number  [read-write]

Graph fill opacity.

Implementation
    public function get graphFillAlpha():Number
    public function set graphFillAlpha(value:Number):void
graphFillColorproperty 
graphFillColor:Number  [read-write]

Graph fill color.

Implementation
    public function get graphFillColor():Number
    public function set graphFillColor(value:Number):void
graphLineAlphaproperty 
graphLineAlpha:Number  [read-write]

Graph line opacity.

Implementation
    public function get graphLineAlpha():Number
    public function set graphLineAlpha(value:Number):void
graphLineColorproperty 
graphLineColor:Number  [read-write]

Graph line color.

Implementation
    public function get graphLineColor():Number
    public function set graphLineColor(value:Number):void
graphTypeproperty 
graphType:String  [read-write]

Type of chart scrollbar's graph. By default the graph type is the same as the original graph's type, however in case of candlestick or ohlc you might want to show line graph in the scrollbar. Possible values are: line, column, step, smoothedLine, candlestick, ohlc.

Implementation
    public function get graphType():String
    public function set graphType(value:String):void
gridAlphaproperty 
gridAlpha:Number  [read-write]

Grid opacity.

Implementation
    public function get gridAlpha():Number
    public function set gridAlpha(value:Number):void
gridColorproperty 
gridColor:Number  [read-write]

Grid color.

Implementation
    public function get gridColor():Number
    public function set gridColor(value:Number):void
gridCountproperty 
gridCount:Number  [read-write]

Grid count.

Implementation
    public function get gridCount():Number
    public function set gridCount(value:Number):void
heightproperty 
height:Number  [read-write]

Height of scrollbar, in pixels.

The default value is 40.

Implementation
    public function get height():Number
    public function set height(value:Number):void
hideResizeGripsproperty 
hideResizeGrips:Boolean  [read-write]

Specifies whether resize grips are hidden when mouse is away from the scrollbar.

The default value is false.

Implementation
    public function get hideResizeGrips():Boolean
    public function set hideResizeGrips(value:Boolean):void
resizeEnabledproperty 
resizeEnabled:Boolean  [read-write]

Specifies whether scrollbar has a resize feature.

Implementation
    public function get resizeEnabled():Boolean
    public function set resizeEnabled(value:Boolean):void
scrollDurationproperty 
scrollDuration:Number  [read-write]

Duration of scrolling, when the user clicks on scrollbar's background, in seconds.

Implementation
    public function get scrollDuration():Number
    public function set scrollDuration(value:Number):void
selectedBackgroundAlphaproperty 
selectedBackgroundAlpha:Number  [read-write]

Selected background opacity.

Implementation
    public function get selectedBackgroundAlpha():Number
    public function set selectedBackgroundAlpha(value:Number):void
selectedBackgroundColorproperty 
selectedBackgroundColor:Number  [read-write]

Selected background color.

Implementation
    public function get selectedBackgroundColor():Number
    public function set selectedBackgroundColor(value:Number):void
selectedGraphFillAlphaproperty 
selectedGraphFillAlpha:Number  [read-write]

Selected graph's fill opacity.

Implementation
    public function get selectedGraphFillAlpha():Number
    public function set selectedGraphFillAlpha(value:Number):void
selectedGraphFillColorproperty 
selectedGraphFillColor:Number  [read-write]

Selected graph's fill color.

Implementation
    public function get selectedGraphFillColor():Number
    public function set selectedGraphFillColor(value:Number):void
selectedGraphLineAlphaproperty 
selectedGraphLineAlpha:Number  [read-write]

Selected graph's line opacity.

Implementation
    public function get selectedGraphLineAlpha():Number
    public function set selectedGraphLineAlpha(value:Number):void
selectedGraphLineColorproperty 
selectedGraphLineColor:Number  [read-write]

Selected graph's line color.

Implementation
    public function get selectedGraphLineColor():Number
    public function set selectedGraphLineColor(value:Number):void
updateOnReleaseOnlyproperty 
updateOnReleaseOnly:Boolean  [read-write]

Specifies if the chart should be updated while dragging/resizing the scrollbar or only at the moment when user releases mouse button. Usefull when working with large data sets.

Implementation
    public function get updateOnReleaseOnly():Boolean
    public function set updateOnReleaseOnly(value:Boolean):void
Constructor detail
ChartScrollbarSettings()constructor
public function ChartScrollbarSettings()

Constructor.