i try this contribute but  after some calls  it breals
Fehler: k.trendline is undefined
Zeile: 34

Fehler: p.plugins.barRenderer is undefined
Zeile: 34

almost after some calls. at the start the chart is visible and correct, 
but after some calls or when i add some other pie or line charts to 
another tab i get the above errors and nothing or only the title 
appears. What can this be?

i use qxdygraph parralel. Can this be a problem?



here the source code

                 var page1 = new qx.ui.tabview.Page("Chart: - " 
+this.searchTitle.getValue(), "icon/16/apps/utilities-terminal.png");
                 page1.setLayout(new qx.ui.layout.Dock());
                 page1.setShowCloseButton(true);
                 this.tabView.add(page1);
                 this.tabView.setSelection([page1]);

                 var data =     [
                                 [4, 2, 9, 16],
                                 [3, 7, 6.25, 3.125]
                             ];

                 var options = function($jqplot){return{
                     stackSeries: true,
                     legend: {
                         show: true,
                         location: 'nw'
                         },
                     title: 'Unit Revenues: Acme Traps Division',
                     seriesDefaults: {
                         renderer: $jqplot.BarRenderer,
                         rendererOptions: {barWidth: 50}
                         },
                     series: [{label: '1st Qtr'}, {label: '2nd Qtr'}],
                     axes: {
                         xaxis: {
                             renderer: $jqplot.CategoryAxisRenderer,
                             ticks:['Red', 'Blue', 'Green', 'Yellow']
                             },
                         yaxis: {
                             min: 0,
                             max: 20,
                             numberTicks:5,
                             tickOptions:{formatString:'$%.2f'}
                             }
                         }
                     }
                 };
                 var plugins = ['categoryAxisRenderer','barRenderer'];
                 var plot = new qxjqplot.Plot(data,options,plugins);

                 page1.add(plot, {edge:"center"});
                 this.tabView.setSelection([page1]);

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to