cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamically setting of Tooltip in Business Graphic

sweetysingh
Participant
0 Kudos

Hi,

I am using WebDynpro business graphics stacked column graph, in that I need to show Tooltip based on the data comming from backed.

Format of Tooltip : <Data comming from Backend> + <Name of the Bar Colour>

I am able to show the Tooltip but data is not showing correctly.

Suppose below is the data for 2 Bars(Colour Red):

Value for Bar1 = 10, Bar2 = 20.

I want

Tooltip for Bar1 = "10 Red" (As Value is 10 and colour is Red)

Tooltip for Bar2 = "20 Red" (As Value is 20 and colour is Red)

But I am getting the same Tooltip (10 Red) for both the Bars.

Please anyone help me on this problem.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

To Populate the Tooltip dynamically, you should be using Series & Point in your graph. And if the attribute bound to Tooltip property of the Point UI, is populated with the correct value, then the tooltip on the graph should be displayed as you are expecting.

Also make sure that the attribute bound to Tooltip property is under the point node(i.e. child node under the Series node).

Revert back if you have any queries.

Regards,

Vishweshwara P.K.M.

sweetysingh
Participant
0 Kudos

Hi Vishweshwara,

Thanks for your help. It worked for me.

Answers (0)