Results 1 to 3 of 3

Thread: How to show value serie in legend

  1. #1
    Sencha User
    Join Date
    Oct 2013
    Posts
    2
    Vote Rating
    0
      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
    10,385
    Vote Rating
    263
      0  

    Default

    Have you tried setTitle?

  3. #3
    Sencha User
    Join Date
    Oct 2013
    Posts
    2
    Vote Rating
    0
      0  

    Default

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •