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

    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
    3,854
    Vote Rating
    66
    Gary Schlosberg has a spectacular aura about Gary Schlosberg has a spectacular aura about Gary Schlosberg has a spectacular aura about

      0  

    Default


    Have you tried setTitle?
    Get on the Fast Track with Sencha Training http://sencha.com/training

  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