1. #1
    Sencha User
    Join Date
    Oct 2013
    Posts
    2
    Vote Rating
    0
    benoitlm is on a distinguished road

      0  

    Default How to show value serie in legend

    Hi,

    On chart serie of line type, I search to add the value item in legend when on mouseover:

    Code:
    this.series = [
    {
        type: 'line',
        axis: 'left',
        showInLegend : true,
        xField: 'timing',
        highlight : false,
        showDelay : 700,
        listeners : {
            itemmouseover : function(event) {
                // how to show value on legend
                 }
        },
        showMarkers : true,
        smooth : true,
        title : 'History',
        yField: 'history'
    }]
    Thanks in advanced for your help.

    Regards,

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    9,285
    Vote Rating
    253
    Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of

      0  

    Default

    Have you tried setTitle?


    Join me at SenchaCon 2016!

  3. #3
    Sencha User
    Join Date
    Oct 2013
    Posts
    2
    Vote Rating
    0
    benoitlm is on a distinguished road

      0  

    Default

    Good ideas ^^ It's work fine. Thanks for your help.

Thread Participants: 1

Tags for this Thread