cancel
Showing results for 
Search instead for 
Did you mean: 

How to write custom tooltip for vizframe charts in sapui5

0 Kudos

Hi Geeks,

I am using vizframe charts in one of my requirements. I have disabled standard tooltip and wanted to enable Custom tooltip. I have gone through the chart Documentation. There is an property called interaction to enable Custom tooltip. I have used interaction.decoration property but i am not getting custom tooltip.

Event handler for showDetail is not getting triggered when i hover mouse on column bar graph.

Can anyone help me?

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

hello,

{
    name: "selectData",
    data: [{
        //selected element's detail
        target: "Dom Element", //an object pointed to corresponding dom element
        data: {
            Dimension1: value
            Dimension2: value


            ...
            DimensionN: value
            Measure1: value
            Measure2: value


            ...
            MeasureN: value
        }
    }
    //if under multi selection, there will be more than one selected elements


    ...]
    type: "dataPoint"
}


see this url : https://sapui5.hana.ondemand.com/docs/vizdocs/index.html#reference/chartProperty/Charts/Bar%20%20(15...