6Version history¶
-
Version 1.0 (2022/09/11) First version.
-
Version 2.0 (2023/12/03)
-
– The package now mainly uses LaTeX3 syntax.
-
– Improved the definition of the path of the slices.
-
– Many internal computations are now performed with \fp_eval:n instead of pgfmath for higher accuracy and to allow larger values. This applies in particular to the computation of \WCpercentage, \WCpercentagerounded and \WCtotalnum. Hence \WCpercentagerounded can be parsed by siunitx since its definition does not involve \pgfmathprintnumberto anymore and \WCtotalnum does not end with .0 if it is an integer.
-
– The number of data which can be given to each slice of the wheelchart and accessed by \WCvarA and so on is not limited to \(26\) anymore.
-
–
Added the macros \WCcountdiscrete, \WCetocthelinkedname, \WCetocthelinkednumber, \WCetocthelinkedpage, \WCetocthename, \WCetocthenumber, \WCetocthenumberofpages, \WCetocthepage, \WClegend, \WClist⟨name⟩ and \⟨prefix⟩⟨name⟩.
-
–
Added the keys after slices, arc, arc around text, arc data, arc data align, arc data angle pos, arc data angle shift, arc data dir, arc data pos, arc data sep, arc data style, arc first half, arc pos, arc second half, arc sep, before slices, caption left sep, caption sep, data angle pos, data pos, discrete, discrete factor, discrete partitioning, discrete pic, discrete sort, discrete space at borders, domain, etoc code, etoc count total pages, etoc level, etoc name, etoc use name, expand list items, for loop end, for loop start, gap max angle, gap radius, header, header prefix, inner data angle pos, inner data angle shift, inner data pos, inner plot, inner plot style, legend columns, legend only, legend row, lines angle pos, lines angle shift, lines ext dir, lines ext fixed left, lines ext fixed right, lines pos, outer plot, outer plot style, parse, plot, plot style, samples, separator columns, separator rows, slices angle pos, slices angle shift, slices arc inner end, slices arc inner end start, slices arc inner start, slices arc inner start end, slices arc match, slices arc outer end, slices arc outer end start, slices arc outer start, slices arc outer start end, slices end to, slices inner angle reduce, slices inner angle shift, slices inner arc, slices inner arc tangent, slices inner arrow, slices inner end angle shift, slices inner start angle shift, slices inner to, slices outer angle reduce, slices outer angle shift, slices outer arc, slices outer arc tangent, slices outer arrow, slices outer end angle shift, slices outer start angle shift, slices outer to, slices pos, slices scope, slices sep, slices start to, slices to, slice{⟨range⟩}, title left sep, title sep, triangle proportional area, triangle proportional height, WClist⟨name⟩, wheel data angle pos, wheel data angle shift, wheel data sep, xbar and ybar.
-
– Added the possibility to give a ⟨range⟩ to the keys such that the options given to the key will only be applied to a slice if the number of the slice is in the ⟨range⟩.
-
– Added the possibility to give a ⟨list⟩ to the keys.
-
– The ⟨wheelchart data⟩ are not processed with \foreach anymore but instead with one of \seq_set_split:Nee, \seq_set_split:Nen or \seq_set_split:Neo depending on the keys expand list and expand list items. Thus syntax which is specific to how \foreach processes a list does not work anymore, such as the dots notation and the repeating of the last entry if some entry in the list has fewer entries than required.
-
– If the key start angle is set after the key start half then v1.0 preserved the setting of the key start half. In v2.0, the setting is determined by the key which is set last.
-
– In v1.0, the value of the key data angle shift was also applied to inner data, lines and wheel data. In v2.0, this is not the case anymore. Instead there are now separate keys inner data angle shift, lines angle shift, wheel data angle shift and also arc data angle shift.
-
– In v1.0, the key data sep was not applied if the key lines ext was used. In v2.0, this is not the case anymore.
-
– In v1.0, a negative value for the key lines was not applied. In v2.0, this is not the case anymore.
-
-
Version 3.0 (2024/03/08)
-
– Improved the parametrization of the slices in the case that no plot is used. In particular, the arc and arc data are placed with an arc if no plot is used whereas in v2.0, these were placed with a plot even if no plot was used. Also, the computation of \WCdataangle and \WCmidangle is more precise than in v2.0.
-
– Optimized the code. The compilation is faster than in v2.0.
-
– Added the commands \WCangle, \WCcoordinate, \WCpoint and \WCradius.
-
–
Added the keys arc around line, arc data expand, arc data line sep factor, slices Arrow, slices end, slices inner, slices outer and slices start.
-
– Changed the definition of \WCperc in the key arc data so that \WCperc follows the arc or plot.
-
– Added the possibility that the contents of the key arc data consists of multiple lines separated by \\.
-
– Reduced the functionality of the keys contour and middle fill to require a fixed inner and outer radius for all slices.
-
– Removed the key parse. The values of applicable keys are parsed with \pgfmathparse. If a value should be parsed with l3fp then \fpeval can be used.
-
– In v2.0, the key arc data angle shift was not taken into account for the key arc in combination with the key arc around text. This is fixed in v3.0.
-
– In v2.0, the number of items for each slice in the ⟨wheelchart data⟩ which can be accessed with the macros \WCvarA and so on was determined by the number of items for the last slice. For example, data{1}=\WCvarD in combination with the ⟨wheelchart data⟩ 1/black/A/a,2/gray/B was not possible with v2.0. This is not a limitation anymore with v3.0.
-
-
Version 4.0 (2024/07/28)
-
– Added the keys arc data lines pos and arc data lines shift.
-
– Solved an incompatibility if \\ is used in a key such as data inside an environment such as center.
-
-
Version 5.0 (2025/07/24)
-
– Replaced the deprecated \regex_match:NVTF by \regex_if_match:NVTF.
-
– If \WClegend is used in a tblr environment from the package tabularray then it is no longer necessary to give the option expand=\WClegend to this tblr environment.
-
-
Version 6.0 (2026/04/19) Cleaned up the documentation.