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 20.1 ('Debugging')
Instant purchase and download via GumRoad!


Cool Charts and Heatmaps

Using Monkeybread Software's ChartDirector Plugin

Issue: 20.1 (January/February 2022)
Author: Stefanie Juchmes
Author Bio: Stefanie studied computer science at the university in Bonn. She came in touch with Xojo due to the work of her brother-in-law and got a junior developer position in early 2019 at Monkeybread Software.
Article Description: No description available.
Article Length (in bytes): 19,802
Starting Page Number: 40
Article Number: 20105
Resource File(s):

Download Icon project20105.zip Updated: 2022-01-02 19:45:14

Related Link(s): None

Excerpt of article text...

In this article I want to show you how to build a heatmap as a representative for other diagrams and save it in a PDF file. In the PDF file we can also add a table with these values. This will require the ChartDirector and DynaPDF plugins for Xojo.

We start with the heatmap. A heatmap is a grid of fields. They can have different sizes and colors. They are often used to analyze website user behavior. Each area is assigned a color, so you can see if the area is high- or low-frequented. The diagram often looks like the image of a thermal camera, which is where the name comes from.

Of course, a heatmap can also be used for the language-related purpose of displaying different temperatures. In this example we want to do that. We have the monthly mean temperature for a city for the last ten years and we want to display this temperature by colors in a heatmap.

The Data

Figure 1 shows the data we want to display. To do this, we first create an array in which we write the years we have and an array with the individual month names:

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