Article Preview
Buy Now
FEATURE
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):
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.