I'm wanting to show BarChart Data and StackedBarChart data like PieData, I want to show the total value of each data section. any code examples?
I'm showing in lable: ChartName, Column, Legend = Value
B4X:
Sub BarChart_MouseMoved(Event As MouseEvent)
Dim BC As BarChart = Sender
Dim AxisCoord As XYCoord = BC.MouseToAxis(Event)
Dim XAxis As CategoryAxis = BC.XAxis
Dim YAxis As CategoryAxis = BC.YAxis
Dim XValue As String = XAxis.GetValueForDisplay(AxisCoord.X)
Dim YValue As Double = YAxis.GetValueForDisplay(AxisCoord.Y)
lbDashboardInfo.Text = BC.Title & ", " & XValue & " = " & NumberFormat(YValue, 1, 0)
End Sub
I'm showing in lable: ChartName, Column, Legend = Value