Skip to content

Commit df8c9a5

Browse files
committed
[update] info on template for Pie and Donut chart values
1 parent fc84a32 commit df8c9a5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/chart/api/chart_series_config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ series: [
308308
</tr>
309309
<tr>
310310
<td><b>valueTemplate</b></td>
311-
<td>(optional) a function that specifies the template for rendering the calculated percent values for data items on a chart<br/><br><b>Related Sample: </b><a href="https://snippet.dhtmlx.com/77aei7os?tag=chart" target="_blank">Chart. Value template</a> </td>
311+
<td>(optional) a function that specifies the template for rendering the values for data items on a chart<br/><br><b>Related Sample: </b><a href="https://snippet.dhtmlx.com/77aei7os?tag=chart" target="_blank">Chart. Value template</a> </td>
312312
</tr>
313313
</tbody>
314314
</table>

docs/chart/customization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,13 +246,13 @@ const chart = new dhx.Chart("chart_container", {
246246
});
247247
~~~
248248

249-
## Adding template for percent values
249+
## Adding template to values of data items in Pie and Donut charts
250250

251251
![](../assets/chart/show_percent_values.png)
252252

253253
**Related sample**: [Chart. Value template](https://snippet.dhtmlx.com/o7ke2f1s)
254254

255-
When you need to show percent values for data items on the Pie, Pie3D and Donut charts, you can use the **valueTemplate** option of [series](chart/configuration_properties.md#the-list-of-config-options-for-series-for-charts-without-scales-pie-pie3d-donut) to specify the necessary template function. For example:
255+
When you need to show values for data items on the Pie, Pie3D and Donut charts, you can use the **valueTemplate** option of [series](chart/configuration_properties.md#the-list-of-config-options-for-series-for-charts-without-scales-pie-pie3d-donut) to specify the necessary template function. For example:
256256

257257
~~~jsx {6-8}
258258
const chart = new dhx.Chart("chart_container", {

docs/whatsnew.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Released on July X, 2024
1919

2020
#### Chart
2121

22-
- The ability to [specify a template for showing percent values for data items on the Pie, Pie3D and Donut charts](chart/customization.md#adding-template-for-percent-values)
22+
- The ability to [specify a template for showing values for data items on the Pie, Pie3D and Donut charts](chart/customization.md#adding-template-for-percent-values)
2323
- The ability to [add the header/footer for an exported PNG file](/chart/api/export/chart_png_method/)
2424

2525
#### Combobox

0 commit comments

Comments
 (0)