ABeamer 0.3.1 includes chart series as expressions, allowing to plot mathematical functions.
The standard library now also includes
- Fixed the chart legend color for
linecharts. Previously it used fillColor for the legend in line charts.
- Fixed chart labelsY when there is not enough y-space created by labelsX. Previously if labelsX weren’t defined the first y-label would be cut from the chart.
Chart Series as Expressions
Before version 0.3.1, ABeamer only supported data series defined as numerical arrays.
With the support of Chart Series as Expressions, now is Chart data can be defined as an expression.
This way is simpler to create mathematical equation plots. ABeamer provides
v as the iterator variable. More parameters are available, read further details on chart documentation.
But the work isn’t finished yet since the labelX are still directly tied to the data points, and in the case of many data points which is usually the case in mathematical equation plots, the labels will overlap make them useless, so the next step is decouple the labelX from the data points.