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 14 in printed book and digital formats -- plus a one-year subscription 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 11.6 ('Apple About Boxes')
Instant purchase and download via GumRoad!

FEATURE

ChartPart 3.0

Create charts and graphs within your Xojo applications

Issue: 11.6 (November/December 2013)
Author: Kevin Cully
Author Bio: Kevin Cully currently is owner of CULLY Technologies, LLC., leads the Atlanta Xojo Users Group and is an avid Xojo developer on Linux and the other Xojo target platforms.
Article Description: No description available.
Article Length (in bytes): 7,366
Starting Page Number: 36
Article Number: 11608
Related Web Link(s):

http://cullytechnologies.com/products/chartpart/

Excerpt of article text...

I was in need of charts and graphs for an application I'm building. The application is all speculative on whether it would be as beneficial as I thought, and whether there would be a market for it, so I didn't want to plunk down any money. Plus, with me wanting Linux support, that removed some charting contenders. I couldn't believe it when I ran across ChartPart, abandoned since 2000, and was able to bring it current to Xojo. As it was an open source project, the REALbasic code was readily available.

ChartPart was originally developed for RB by TechConsulting in 1998. There was another release in 1999 and it was released as an open sourced project on SourceForge in mid-2000. ChartPart was released under the Lesser GPL (LGPL) license which allows for free use for commercial or non-commercial use. (Check the included LGPL license for more details.)

I downloaded the file from SourceForge, had a friend uncompress the .sit file as I didn't have a .sit file extractor available to me. I set out to rebuild the demo application, but almost no effort was required to bring the ChartPart canvas subclass up to modern Xojo language standards.

Using ChartPart in your Xojo application

To include ChartPart in your Xojo applications, just import the ChartPart class as an external class, and then drag the ChartPart canvas subclass onto one of the windows in your application. Set custom properties as your requirements dictate. To add a data element to your chart, assuming that ChartPart is instantiated as CP, then make the call of:

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