Releases: nzzdev/Q-chart
Releases · nzzdev/Q-chart
v3.1.0
New Date Axis
- new interval option value
auto
(the new default): Interval is defined based on the actual time span between the first and last date in the data - besides auto, these intervals are supported:
decade
,year
,month
,week
,day
,hour
,minute
,second
- label formatting is still based on the interval, but done using a custom function registered as a vega expression function. This is mostly done in order to support quarterly formatting (something d3-date-format used by vega cannot do)
- new option
dateSeriesOptions.labels
(few|many). The default if undefined is many to keep previous functionality for existing charts. Newly edited charts get the new default few. few will only show the first and last label based on the interval. The first label is where the first interval step after the first date occurs, the last label is the last interval step before the last date in the data.
small features
- allow to define Y-axis maximum value for area charts
- highlighting rows on dotplots results in lighter gray for the others rows lines and numbers
- optimize the
toolRuntimeConfig
sent via browser js toweb-svg
endpoint before generating the script for this (remove unused colors and settings) - the vertical gridlines for line and area charts are removed.
fixes
- prognosis for lines and bars works correct now if the date series is entered with latest date first and earliest date last in the data
- do not round the X axis for columns if more than 50 columns (doing so results in all columns drawn at the same place)
v3.0.2
v3.0.1
v3.0.0
v2.2.1
(arrow, dotplot) fix y-axis format