JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › General Discussions › Pivot/grouping + charting question › Reply To: Pivot/grouping + charting question
January 26, 2023 at 4:32 pm
#104306
Participant
Hi pkz,
The object “smartChart.seriesGroups[0]” controls the settings of the chart’s type.
In the example, the type is set ‘column’. You can change the type just by changing it to ‘line’ or ‘area’.
To create a bar chart – set the type to ‘column’ and set ‘orientation’ to ‘horizontal’
Best regards,
Ivan Peevski
Smart UI Team
https://www.htmlelements.com/