Cloud Business App Edition > Wijmo Control Extensions > Controls > FlexPie |
FlexPie provides a flexible way to display a list of items in a pie chart. A user can simply select a screen template to create a FlexPie that allows data binding, setting data label for a display point, or selecting pie slice without having to code manually. Also, the control provides design flexibility to adjust the size and appearance of the FlexPie. This allows developers to create complex FlexPie based applications.
Isml.js |
Copy Code
|
---|---|
myapp.FlexPieBrowse.FlexPie_render = function (element, contentItem) { var pie = new c1.cba.FlexPie($(element), contentItem); var collectionView = new c1.cba.LightSwitchCollectionView(contentItem); pie.wjControl.itemsSource = collectionView; myapp.pie = pie.wjControl; }; |