Type class
ChartScrollbar class displays chart scrollbar. Supported by AmSerialChart and AmXYChart.
Example of how scrollbar is added to the chart:
var chart = new AmCharts.AmSerialChart(); var chartScrollbar = new AmCharts.ChartScrollbar(); chart.addChartScrollbar(chartScrollbar);
Inheritance
ChartScrollbar does not extend any other symbol.
ChartScrollbar is not extended by any other symbol.
Properties
autoGridCount # |
Type Default Specifies whether number of gridCount is specified automatically, acoarding to the axis size. |
---|---|
backgroundAlpha # |
Type Default Background opacity. |
backgroundColor # |
Type Default Background color of the scrollbar. |
categoryAxis # |
Type Default Read-only. Category axis of the scrollbar. |
color # |
Type Default Text color. Will use chart's color if not set. |
dragIconHeight # |
Type Default Height of resize grip image. Note, you should also update the image in amcharts/images folder if you don't want it to be distorted because of resizing. |
dragIconWidth # |
Type Default Width of resize grip image. Note, you should also update the image in amcharts/images folder if you don't want it to be distorted because of resizing. |
graph # |
Type Default Specifies which graph will be displayed in the scrollbar. Only Serial chart's scrollbar can display a graph. |
graphFillAlpha # |
Type Default Graph fill opacity. Value range is 0 - 1. |
graphFillColor # |
Type Default Graph fill color. |
graphLineAlpha # |
Type Default Graph line opacity. Value range is 0 - 1. |
graphLineColor # |
Type Default Graph line color. |
graphType # |
Type Default 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". |
gridAlpha # |
Type Default Grid opacity. Value range is 0 - 1. |
gridColor # |
Type Default Grid color. |
gridCount # |
Type Default The number of grid lines. |
hideResizeGrips # |
Type Default Specifies whether resize grips are hidden when mouse is away from the scrollbar. |
maximum # |
Type Maximum value of ValueAxis of ChartScrollbar. Calculated automatically, of not set. |
minimum # |
Type Minimum value of ValueAxis of ChartScrollbar. Calculated automatically, of not set. |
resizeEnabled # |
Type Default Specifies whether scrollbar has a resize feature. |
scrollbarHeight # |
Type Default Height (width, if chart is rotated) of a scrollbar. |
scrollDuration # |
Type Default Duration of scrolling, when the user clicks on scrollbar's background, in seconds. |
selectedBackgroundAlpha # |
Type Default Selected backround opacity. |
selectedBackgroundColor # |
Type Default Selected background color. |
selectedGraphFillAlpha # |
Type Default Selected graph's fill opacity. Value range is 0 - 1. |
selectedGraphFillColor # |
Type Default Selected graph's fill color. |
selectedGraphLineAlpha # |
Type Default Selected graph's line opacity. Value range is 0 - 1. |
selectedGraphLineColor # |
Type Default Selected graph's line color. |
updateOnReleaseOnly # |
Type Default Specifies if the chart should be updated while dragging/resizing the scrollbar or only at the moment when user releases mouse button. |
Methods
ChartScrollbar does not have any methods.
Events
ChartScrollbar does not have any events.
Adapters
ChartScrollbar does not have any adapters.