1. #1
    Sencha User
    Join Date
    May 2010
    Location
    Hamburg, Germany
    Posts
    97
    Vote Rating
    0
    ctp is on a distinguished road

      0  

    Default Unanswered: How to refresh a pie graph?

    Unanswered: How to refresh a pie graph?


    Hi folks,

    I try to refresh a pie graph but without any success. I have a window with a combo box and a pie graph. The user should choose the angleField in the select box and the pie graph should be updated automatically. I have this select listener on my combo box:

    Code:
    onUserChartComboBoxListener(): function(combo, records, eOpts) {
        var chart = this.down('chart');
        chart.angleField = combo.getValue();
        console.log(chart);
        chart.refresh();
    The 'chart' variable refers to the right chart and I get the right value from the combo selection but the pie graph does not refresh. Any hints?
    Cheerio,

    Chris

  2. #2
    Sencha - Community Support Team friend's Avatar
    Join Date
    Apr 2011
    Posts
    895
    Answers
    106
    Vote Rating
    27
    friend has a spectacular aura about friend has a spectacular aura about

      0  

    Default


    Reloading the chart's store should work, where you can optionally pass params to the store as well:

    Code:
    chart.store.load({
      params: {
        someParam: 'someValue'
      }
    });

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar