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
    5,054
    Vote Rating
    97
    Gary Schlosberg is just really nice Gary Schlosberg is just really nice Gary Schlosberg is just really nice Gary Schlosberg is just really nice

      0  

    Default


    Have you tried setTitle?


    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our recruiting manager:
    sheryl@sencha.com

  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