Article Preview
Buy Now
COLUMN
New Charts and a Bug Fix
A few miscellaneous items
Issue: 21.5 (September/October 2023)
Author: Marc Zeedar
Author Bio: Marc taught himself programming in high school when he bought his first computer but had no money for software. He's had fun learning ever since.
Article Description: No description available.
Article Length (in bytes): 8,971
Starting Page Number: 60
Article Number: 21506
Resource File(s):
project-21506.zip Updated: 2023-08-31 19:03:46
Related Link(s): None
Excerpt of article text...
Last issue I wrote about Xojo's new charting tools. Now in the new 2023r2 of Xojo, they've added a stacked bar chart option as well as a few other tweaks, so I thought I'd briefly summarize those improvements.
Stacked Bars
The new stacked bar chart uses the same dataset as the regular bar chart, so it's easy to modify our previous Xojo project to support stacked.
The first thing I did was to add a "Stacked" option to the
pmChartType
popupMenu'sinitial value
(see Figure 1).Then I went to the
SelectionChanged
event ofpmChartType
and modified itsselect case
statement as follows:
...End of Excerpt. Please purchase the magazine to read the full article.