[Gambas-user] gb.chart

Andrea Bertini and.bertini at ...626...
Mon Oct 26 04:10:41 CET 2009


the help-code given doesn't work with release 2.16.

Messages:
=========
'the values count must be up then 1'
'no current device'

Code:
=====
DIM mychart AS NEW Chart (not writte in the help but inserted) 
mychart.Count = 3
mychart[0].Values = [1.0, 2.0, 3.0]
mychart.Headers.Values = ["tic", "tac", "toes"]
mychart.Legend.Visible = TRUE
mychart.Style = ChartType.Pie
mychart.Width = DrawingArea1.W
mychart.Height = DrawingArea1.H
mychart.Draw





More information about the User mailing list