chart.render()

Method Definition: render (Function onRenderCompleted)
Parent: Chart
Description: update() function used to update more than one chart-properties at one short

chart.render() must be called to initiate the internal drawing of the Chart. render() function must be called after updating any parameter of Chart or any chart-element using setProperty() or update() function.

Function Parameters/Arguments
onRenderCompleted
The onRenderCompleted function will be called as soon as chart rendering is completed

Pseudo code
                      var chart = new Cosfire.Chart("chart-container", {....});

// Set Data
chart.setDate([...]);

chart.render(function onRenderCompleted() {
  // chart rendered
}));