1. #1
    Ext User
    Join Date
    Oct 2008
    Posts
    91
    Vote Rating
    0
    Michi_de is on a distinguished road

      0  

    Default OFCGXT Disable Chart Animation

    OFCGXT Disable Chart Animation


    I want to use a ofcgxt (user plugin) piechart.
    But whenever the cursor is over a slice of the chart, the slice start this little weird animation:
    it starts to wince/tremor. I wanted to put this animation off, this way:

    Code:
            buChart = new GxtChartWidget<Statistic>();
            buChart.setStore(statisticStore);
            buChart.setWidth("250");
            buChart.setHeight("250");
            
            
            buChartProvider = new PieChartProvider<Statistic>("counter", "name");
            buChartProvider.getChartData().setTitle(new Text("BU - Piechart Statistic"));
            buChartProvider.getChartData().setBackgroundColour("#eeeeee");
            buChartProvider.getPieChart().setColours("#0000ff", "#ff0000");
            buChartProvider.getPieChart().setAnimate(false);
            
            buChart.setModelChartProvider(buChartProvider);
    But it still is animating my chart...

    To be more clear, what animation i mean, i made this screenshot (attached).
    It shows a slice, where the cursor is over it. I don't want the slice to move away from the center. It should keep not moving, even if the cursor is above.

    Any idea on how to disable this animation?
    Attached Images

  2. #2
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    4
    gslender is on a distinguished road

      0  

    Default


    This is due to the available features/functions in the SVN of OFC -> http://openflashchart.com/

Thread Participants: 1