I would like to display the data "item.get("value")" as a dollar value but all I get is a Double
B4X:
Private Sub CreateScrapChart
' set the bar colors
chartScrap.ClearData
chartScrap.AddBar("Bar 1", xui.Color_Red)
chartScrap.AddBar("Bar 2", xui.Color_Blue)
For Each item As Map In Main.data2
chartScrap.AddBarMultiplePoint(item.Get("Code"), Array As Double(item.Get("Value")))
Next
chartScrap.DrawChart
End Sub
[\code]