namespace ReactiveChart

The root namespace containing all functions and namespaces of the ReactiveChart chart library.

Namespace summary
Name Description
animation
chart

Chart specific interfaces and functions

collection

Namespace defining the interfaces for various collections

color
core
datatypes
format
geometry
math
reactive

Contains the reactive functions and interfaces.

render

Namespace to render shapes

util
Function summary
Name Description
animate
canvas

Creates a canvas shape. Take a look at the overloaded variants for the concrete settings you can pass.

chart

Creates a new chart. For more info, take a look at /tutorial or at the chart options

html

Creates a html shape

reactive

Creates a reactive object depending on the type of the parameter. If a function is given, a reactive procedure is returned. If an object is given, a reactive object is returned with the given properties. If an array is given, a reactive array is returned with the contents of the given array. Otherwise, a reactive variable is created.

Function detail
animate
function animate(settings: animation.IObjectEasing): animation.IObjectEasingResult

Parameters:
settings animation.IObjectEasing
Returns:

canvas
function canvas(config: canvas.ICanvasConfig): canvas.ICanvasChildShape

Creates a canvas shape. Take a look at the overloaded variants for the concrete settings you can pass.

Parameters:
config canvas.ICanvasConfig
Returns:

Overloads:
function canvas(rectangle: canvas.IRectangleConfig): canvas.IRectangleShape

Parameters:
rectangle canvas.IRectangleConfig
Returns:


function canvas(point: canvas.IPointConfig): canvas.IPointShape

Parameters:
point canvas.IPointConfig
Returns:


function canvas(line: canvas.ILineConfig): canvas.ILineShape

Parameters:
line canvas.ILineConfig
Returns:


function canvas(html: canvas.IHtmlRendererConfig): canvas.IHTMLShape

Parameters:
html canvas.IHtmlRendererConfig
Returns:


chart
function chart(settings: cartesian.ICartesianChartSettings): cartesian.ICartesianChart

Creates a new chart. For more info, take a look at /tutorial or at the chart options

Parameters:
settings cartesian.ICartesianChartSettings The chart settings
Returns:

The created chart

Overloads:
function chart(config: cartesian.IXYChartSettings): cartesian.IXYChart

Creates a new cartesian chart of type "xy"

Parameters:
config cartesian.IXYChartSettings
Returns:


function chart(config: cartesian.IXChartSettings): cartesian.IXChart

Creates a new cartesian chart of type "x"

Parameters:
config cartesian.IXChartSettings
Returns:

html
function html(config: string
     | render.IHtmlConfig): render.IHtmlNodeShape

Creates a html shape

Parameters:
config string | render.IHtmlConfig
Returns:

Overloads:


function html(decmial: string
     | render.IHtmlConfig): render.IHtmlNodeShape

Parameters:
decmial string | render.IHtmlConfig
Returns:

reactive
function reactive(val: any): any

Creates a reactive object depending on the type of the parameter. If a function is given, a reactive procedure is returned. If an object is given, a reactive object is returned with the given properties. If an array is given, a reactive array is returned with the contents of the given array. Otherwise, a reactive variable is created.

Parameters:
val any Value to transform into a reactive object
Returns:
any

The reactive object