About

The wijbarchart widget allows you to create a customized bar chart to compare the values of items across categories. We support binding of 3 different series for the Y axis.


General


Attribute

Binds value for attributes to the object. All valid attributes can be binded.


Format from Application Class:


marginLeft:10,shadow:true


Disable

If the binded value for this field contains a value, the object will not be rendered from the server to the client. The disable function will also disable all child objects.


Datasource

Bind an internal table from application class and it will be used as chart data.


X Axis

The content of the chart, format can be in text or numbers.


Y Axis 1

The value for Y Axis 1 of the chart, numbers only.


Y Axis 2

The value for Y Axis 2 of the chart, numbers only.


Y Axis 3

The value for Y Axis 3 of the chart, numbers only.


Legend 1

The content for the legend of Y Axis 1, format can be in text or numbers. Must be binded to a field from the application class.


Legend 2

The content for the legend of Y Axis 2, format can be in text or numbers. Must be binded to a field from the application class.


Legend 3

The content for the legend of Y Axis 3, format can be in text or numbers. Must be binded to a field from the application class.


AJAX ID

The Ajax ID used in OnAjax method in the application class.


Prevent reload at initialization

As a default all components with ajax call will trigger an reload event after document is loaded. Enable to prevent the init reload.


Trigger Ajax Call

All our components using ajax have the possibility to be manually triggered with a javascript function. The function name is: reload+component name. If you have a component named myChart, you can trigger the javascript function:


reloadmyChart();

 

External Reference

http://wijmo.com/wiki/index.php/Barchart