Top
You are looking at an outdated 7.0.0 version of this document. Switch to the 8.0.1 version to see the up to date information.

namespace anychart Improve this Doc

Core space for all anychart components.

Constants Overview

DEVELOPDefine, is developers edition.
VERSIONCurrent version of the framework, replaced on compile time.

Functions Overview

areaChart()Default area chart.
barChart()Default bar chart.
columnChart()Default column chart.
financialChart()Default financial chart.
fromJson()Creates an element by config.
fromXml()Creates an element by config.
lineChart()Default line chart.
onDocumentLoad()Add callback for the document load event.
onDocumentReady()Please be watchful and careful with this method.
pieChart()Default pie chart.

Enums Overview

anychart.SignalList of all possible signals.

Classes Overview

anychart.BaseClass implementins all the work with consistency states.
anychart.ChartBase class for all charts, contains the margins, the background and the title.
anychart.SignalEventSpecial event for changes in dirty states.
anychart.VisualBaseBase class for all elements.
anychart.VisualBaseWithBoundsAn extended base element that understands bounds settings and can handle percent values in it.

Constants Description

Define, is developers edition.

Type: boolean

Current version of the framework, replaced on compile time.

Type: string

Functions Description

areaChart

Default area chart. xAxis, yAxis, grids.

Params:

Name Type Description
var_args anychart.data.View | anychart.data.Set | Array Area chart data.

Returns:

anychart.cartesian.Chart - Chart with defaults for line series.

barChart

Default bar chart. xAxis, yAxis, grids.

Params:

Name Type Description
var_args anychart.data.View | anychart.data.Set | Array Bar chart data.

Returns:

anychart.cartesian.Chart - Chart with defaults for line series.

columnChart

Default column chart. xAxis, yAxis, grids.

Params:

Name Type Description
var_args anychart.data.View | anychart.data.Set | Array Column chart data.

Returns:

anychart.cartesian.Chart - Chart with defaults for line series.

financialChart

Default financial chart. xAxis, yAxis, grids.

Params:

Name Type Description
var_args anychart.data.View | anychart.data.Set | Array Finance chart data.

Returns:

anychart.cartesian.Chart - Chart with defaults for line series.

fromJson

Creates an element by config.

Params:

Name Type Description
jsonConfig Object | string Config.

Returns:

* - Element created by config.

fromXml

Creates an element by config.

Params:

Name Type Description
xmlConfig string | Node Config.

Returns:

* - Element created by config.

lineChart

Default line chart. xAxis, yAxis, grids.

Params:

Name Type Description
var_args anychart.data.View | anychart.data.Set | Array Line chart data.

Returns:

anychart.cartesian.Chart - Chart with defaults for line series.

onDocumentLoad

Add callback for the document load event.

Params:

Name Type Description
func function Function which will be called on document load event.
scope * Function call context.

onDocumentReady

Please be watchful and careful with this method. Callback is invoked prior to full page LOAD, which means you have no access to CSS and other elemnents outside page head and async loaded elements Add callback for document load event.

Params:

Name Type Description
func function Function which will called on document load event.
scope * Function call context.

pieChart

Default pie chart.

Params:

Name Type Description
data anychart.data.View | anychart.data.Set | Array | string Data for the chart.

Returns:

anychart.pie.Chart - Default pie chart.