ludo.chart.Bar

ludo.chart.


new ludo.chart.Bar(config)

Bar Chart component

Parameters:
Name Type Description
config Object
Properties
Name Type Description
orientation String

Bar chart orientation, horizontal or vertical

barSize Number

Fraction width of bars, default: 0.8

animate Boolean

True to initially animate the chart, default: false

easing function

Easing method to use. default: ludo.svg.easing.outSine

duration function

Animation duration in ms(1/1000s). Default: 300

stacked Boolean

Stack child data items

Source:

Extends

Members


ds

Reference to datasource

Properties:
Name Type Description
ds ludo.chart.DataSource
Inherited From:
Source:

Methods


reveal(direction, duration)

Chart reveal animation.

Parameters:
Name Type Description
direction String

direction for the animation, 'left', 'right', 'up' or 'down'. Default: 'right'

duration Number

animation duration in milliseconds, default: 600

Inherited From:
Source: