Menu

Project ChartsClass: Creation

Gambas is a perfect tool to generate Desktop applications for Linux. Although a chart module or class is on its way (at least for gambas3), and some promising beta code was included in Gambas2, I had the need to display some simple graphs in an existing Gambas desktop program.
These are the circumstances now, may 2013, the moment where this project starts.

First target: ChartsClass must draw a single line graph and a bar graph.
It has to draw a graph without too much knowledge of the Class, i.e. even without much parameters, it should draw a simple graph; the least you need is an array with values to graph:

myChart.makeGraph(DrawingArea1, hArrValues)

The most simple graph just can be made by sending a graph area (where the graph has to appear) and an array of (float) values.

Further targets might include adjusting/resizing, show labels and/or values, titles, grid...

Maybe someone adds spontaneously multi-datasets, or a pie-chart?

Posted by OpenWim 2013-05-18

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.