Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Series and Categories” in Odesys BarChart. What are they?

0
Posted

Series and Categories” in Odesys BarChart. What are they?

0

The data for the bar chart is organized in data series and data categories. All bars that belong to the same data series usually have the same color, which is the one set for the series. The label of the data series shows up in the legend. Every category has one bar from each data series. Only one label is shown for every category on the categories axis. You can still set a label for each individual bar and it will show up at the top of that bar. You can specify a color for each bar that will override the color of the data series that it belongs to. You can use setBarGap() and setCategoryGap() to specify how close the bars are to each other and how close the categories are to each other. BarChartView.setMode() determines whether to draw a stacked or a regular bar chart. Please look at the BarChartView in the API documentation for other properties of the Bar chart. It is usually easier to create the categories first and then to create and initialize the data series.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123