Article Preview
Buy Now
COLUMN
Column
Issue: 14.1 (January/February 2016)
Author: Scott Boss
Author Bio: Scott Boss is the founder of Nocturnal Coding Monkeys, Llc, who specialize in writing custom software. Scott has been a developer, system administrator, storage engineer, consultant, and architect to businesses from startup to global 100.
Article Description: No description available.
Article Length (in bytes): 4,433
Starting Page Number: 87
Article Number: 14113
Related Web Link(s):
http://cullytechnologies.com/products/chartpart/
http://www.techconsulting.com/
http://cullytechnologies.com
Excerpt of article text...
This month we are going to tackle the question about charts and charting. It is not a feature that is always required, but when it is there are a few options to choose from. Most options for charts are commercial. Depending on your needs and budget, commercial might be fine. Now if we are working on Open Source project or something that doesn't have a large budget, free charting is a better option for us.
This is where ChartPart (
http://cullytechnologies.com/products/chartpart/ ) comes into the picture. It is one of a few free/Open Source options. The module started back in 1998 by TechConsulting (http://www.techconsulting.com/ ) and was open-sourced in 2000. In 2013, CULLYTechnologies (http://cullytechnologies.com ) took over maintaining it and adding lots more features. ChartPart does a good job at the basic charts (pie, bar, line). If we look at Figure 1, we can see an example bar chart.Now that we have seen what ChartPart can do, let's look at some code to generate a bar chart.
basicChart
is a method on the windowwindow1
. In theopen
event inwindow1
we call the methodbasicChart
. The only other tidbit that I must let you know about is there is a control onwindow1
calledCP
that is of typeChartPart
.
// most of this code taken from the ChartPart website. //
...End of Excerpt. Please purchase the magazine to read the full article.