diff --git a/docs/chart/api/chart_series_config.md b/docs/chart/api/chart_series_config.md index f17e9e2d..355fedb3 100644 --- a/docs/chart/api/chart_series_config.md +++ b/docs/chart/api/chart_series_config.md @@ -308,7 +308,7 @@ series: [ valueTemplate - (optional) a function that specifies the template for rendering the calculated percent values for data items on a chart

Related Sample: Chart. Value template + (optional) a function that specifies the template for rendering the values for data items on a chart

Related Sample: Chart. Value template diff --git a/docs/chart/customization.md b/docs/chart/customization.md index 65e9c883..6ca1322d 100644 --- a/docs/chart/customization.md +++ b/docs/chart/customization.md @@ -246,13 +246,13 @@ const chart = new dhx.Chart("chart_container", { }); ~~~ -## Adding template for percent values +## Adding template to values of data items in Pie and Donut charts ![](../assets/chart/show_percent_values.png) **Related sample**: [Chart. Value template](https://snippet.dhtmlx.com/o7ke2f1s) -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: +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: ~~~jsx {6-8} const chart = new dhx.Chart("chart_container", { diff --git a/docs/whatsnew.md b/docs/whatsnew.md index 6f3a79be..4dd438b0 100644 --- a/docs/whatsnew.md +++ b/docs/whatsnew.md @@ -19,7 +19,7 @@ Released on July X, 2024 #### Chart -- 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) +- 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) - The ability to [add the header/footer for an exported PNG file](/chart/api/export/chart_png_method/) #### Combobox