• Resolved Tanmoy Biswas

    (@wcblogs87)


    HI

    Thank you for your awesome plugin.

    However, I have little issue with the plugin. I want?to remove the last colon (:) from the tooltip text. So please help me.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Iqonic Design

    (@iqonicdesign)

    Hello @wcblogs87

    If you want to remove the last colon from the tooltip text, you can do this by customizing the JavaScript code.
    Here’s an example of how you can modify your code:

     tooltip: {
    formatter: function(val) {
    // Custom logic to format the tooltip
    return val.map(item =>
    ${item.name}: ${item.value}).join(', ').replace(/, $/, '');
    }
    },

    Best regard,
    Iqonic Design

    Thread Starter Tanmoy Biswas

    (@wcblogs87)

    Lovely, Thank you for your quick reply!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.