X Axis Vs. Category Axis with Golang via C++

Possible Usage Scenarios

There are different types of X axes. While the Y axis is a Value‑type axis, the X axis can be a Category‑type axis or a Value‑type axis. Using a Value axis, the data is treated as continuously varying numerical data, and the marker is placed at a point along the axis that varies according to its numerical value. Using a Category axis, the data is treated as a sequence of non‑numerical text labels, and the marker is placed at a point along the axis according to its position in the sequence. The sample below illustrates the difference between Value and Category axes.

Our sample data is shown in the sample table file below. The first column contains our X‑axis data, which can be treated as categories or as values. Note that the numbers are not equally spaced, nor do they appear in numerical order.

todo:image_alt_text

Handle X and Category Axes like Microsoft Excel

We will display this data on two types of charts: the first chart is an XY (Scatter) chart with X as a Value axis, and the second chart is a line chart with X as a Category axis.

todo:image_alt_text

Sample Code