pict-section-form 1.4.1 → 1.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,6 +28,7 @@ data addresses** with a fresh UUID so each copy is its own world.
28
28
  | AppData cross-references | `getvalue` / `setvalue` read and write across the data tree |
29
29
  | Conditional visibility | A detail section shows itself based on a solved value |
30
30
  | Solver-driven charts | `bar` and `polarArea` charts are computed by solver expressions |
31
+ | Chart value labels | A `line` chart draws each point's value, moving or hiding labels that would overlap |
31
32
 
32
33
  ## Key files
33
34
 
@@ -173,6 +174,23 @@ the macro-breakdown chart computes one dataset each for fat, carbohydrates,
173
174
  protein, and sugar. The lab also uses a `polarArea` chart with the same
174
175
  solver-driven shape.
175
176
 
177
+ The Sugar vs Carbohydrates chart in the overview shows values on the points
178
+ without hovering. `ChartValueLabels` turns that on, and `ValueLabels: false`
179
+ leaves one series unlabelled:
180
+
181
+ ```json
182
+ "ChartValueLabels": { "Decimals": 1, "Color": "Dataset" },
183
+ "ChartDatasetsSolvers": [
184
+ { "Label": "Carbohydrates (g)", "DataSolver": "..." },
185
+ { "Label": "Sugar (g)", "DataSolver": "..." },
186
+ { "Label": "Protein (g, unlabelled)", "DataSolver": "...", "ValueLabels": false }
187
+ ]
188
+ ```
189
+
190
+ Where two labels would collide, the later series' label moves to the other side
191
+ of its point, and is hidden if that side is taken too. See
192
+ [Point Value Labels](../../input_providers/009-chart.md#point-value-labels).
193
+
176
194
  ## Running the example
177
195
 
178
196
  ```bash