This class implements a line chart and a bar chart - and now pie-chart too (upd nov 2013).
In the simplest use, start from an array of values to draw a chart.
Choose options to switch on/off titles, labels, values on the graph.
Choose to supply min and max value and adjust the dimensions in the chart.
Use the class in your project by copying the source in your project, or as component (from v 0.6) by compiling with "make executable" option.
Find out how to use it by the included example program: The class is delivered as part of a complete project, so that you can try it out. And you can modify the FMain code to learn how it can be usefull for your project.
The sample data used, is generated in the example program and displayed in a grid on screen.
No database or other extra things needed, works in KDE and (should) in other desktops like Ubuntu's, Gnome etc.
Made and tested in and for Gambas2.

Features

  • Draw a bar graph from an array of float values.
  • Draw a line graph from an array of float values

Project Samples

Project Activity

See All Activity >

License

GNU General Public License version 3.0 (GPLv3)

Follow ChartsClass

ChartsClass Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ChartsClass!

Additional Project Details

Operating Systems

Linux

Intended Audience

Advanced End Users, Developers, Information Technology

User Interface

GTK+, Qt, X Window System (X11)

Registered

2013-05-18