log scale for `xychart-beta`
migueltorrescosta opened this issue · comments
migueltorrescosta commented
Proposal
Have a string field scale
that
- defaults to
linear
- accepts
log
as an option - Can be extended to other scales in the future
This would allow us to version control a graph description with true ( non-logged ) values, while plotting the logged values.
Example
xychart-beta
title "Sales Revenue"
scale log
x-axis [jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec]
y-axis "Revenue (in $)" 4000 --> 11000
bar [5000, 6000, 7500, 8200, 9500, 10500, 11000, 10200, 9200, 8500, 7000, 6000]
line [5000, 6000, 7500, 8200, 9500, 10500, 11000, 10200, 9200, 8500, 7000, 6000]
Screenshots
No response