Results 1 to 1 of 1

Thread: Legend Ext Js

  1. #1
    Sencha User
    Join Date
    Mar 2017
    Posts
    2
    Vote Rating
    0
      0  

    Default Legend Ext Js

    Help pleaseeeeeeeeeeeeee

    Hi , I have a problem , i want to show at right the legend with the field and number like this for exemple perim:quantity
    perim1 : 24
    perim2 : 30
    this is my code :



    legend: {
    docked: 'right',
    emptyText : 'No Data',
    angleField: 'CNT'
    },


    series: [
    {
    type: 'pie',
    label: {
    field: 'PERIM',
    display: 'rotate',
    font: '10px Arial'
    },
    tooltip: {
    trackMouse: true,
    renderer: function (tooltip, record, item) {
    tooltip.setHtml('SECTOR OF '+record.get('PERIM')+ ' is: ' + record.get('CNT'));
    }
    },


    angleField: 'CNT',
    showInLegend: true,
    donut: 20


    }
    ],
    interactions: [
    {
    type: 'rotate'
    }
    ]




    });
    Attached Images Attached Images

Similar Threads

  1. Replies: 4
    Last Post: 4 Mar 2014, 7:09 AM
  2. Replies: 2
    Last Post: 29 Apr 2013, 4:26 AM
  3. Replies: 4
    Last Post: 29 Apr 2013, 4:23 AM
  4. [CLOSED] Chart Legend doesn't resize when user resize browser and legend will get cut off.
    By amit.vankadia in forum Sencha GXT Discussion
    Replies: 3
    Last Post: 29 Aug 2012, 2:29 PM
  5. Replies: 1
    Last Post: 11 Jan 2012, 2:04 PM

Posting Permissions

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