Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 14.1 ('Barcodes')
Instant purchase and download via GumRoad!

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 window window1. In the open event in window1 we call the method basicChart. The only other tidbit that I must let you know about is there is a control on window1 called CP that is of type ChartPart.

// most of this code taken from the ChartPart website.

//

...End of Excerpt. Please purchase the magazine to read the full article.