pro_imaj Posted February 4, 2023 Share Posted February 4, 2023 Hi @Marlon Nardi Attached is your Kendo example, when you compile please open the pie chart because there is a problem there. I want to show the "Isler" field and "Amount" field information when the mouse is hovered over the chart in the pie chart.The data structure is as follows. with ClientDataSet1 do begin CreateDataSet; // Works, Quantity AppendRecord(['a ISI',1 ]); AppendRecord(['b ISI',3 ]); AppendRecord(['c ISI',5 ]); AppendRecord(['d ISI',7 ]); AppendRecord(['e ISI',9 ]); end; For example, I want to see the following result when Pie is hovered over the chart with the mouse. "a HEAT :1 " It should be with the code below, but "{0} field returns "Amount" information, while {1} field does not return "Works" information. Do you have a suggestion about this? Chart.ChartProperties.Values['tooltip'] := '{visible: true, format: "{0} :{1} "}'; *The sample project is attached. FSKendoUI_Test.zip Quote Link to comment Share on other sites More sharing options...
pro_imaj Posted February 18, 2023 Author Share Posted February 18, 2023 On 2/5/2023 at 12:46 AM, pro_imaj said: Hi @Marlon Nardi Attached is your Kendo example, when you compile please open the pie chart because there is a problem there. I want to show the "Isler" field and "Amount" field information when the mouse is hovered over the chart in the pie chart.The data structure is as follows. with ClientDataSet1 do begin CreateDataSet; // Works, Quantity AppendRecord(['a ISI',1 ]); AppendRecord(['b ISI',3 ]); AppendRecord(['c ISI',5 ]); AppendRecord(['d ISI',7 ]); AppendRecord(['e ISI',9 ]); end; For example, I want to see the following result when Pie is hovered over the chart with the mouse. "a HEAT :1 " It should be with the code below, but "{0} field returns "Amount" information, while {1} field does not return "Works" information. Do you have a suggestion about this? Chart.ChartProperties.Values['tooltip'] := '{visible: true, format: "{0} :{1} "}'; *The sample project is attached. FSKendoUI_Test.zip 13.17 MB · 0 downloads @Marlon Nardi Greetings Marlon, Are you able to look into this matter? Thanks. Quote Link to comment Share on other sites More sharing options...
Marlon Nardi Posted February 18, 2023 Share Posted February 18, 2023 Hi my friend. Today is less agitated for me, I will look at your case. Thanks for the feedback. 1 Quote Link to comment Share on other sites More sharing options...
Marlon Nardi Posted February 18, 2023 Share Posted February 18, 2023 Chart.ChartProperties.Values['tooltip'] := '{visible: true, template: "#= category # - #= value #"}'; https://store.falconsistemas.com.br FSKendoUI_Test_Updated.rar Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.