Hello,

is their any qxjqplot expert?

i try since the whole day to make a barrenderer, but   nothing appears. 
i try this

var s1 = [200, 600, 700, 1000];
                 var s2 = [460, -210, 690, 820];
                 var s3 = [-260, -440, 320, 200];
                 var ticks = ['May', 'June', 'July', 'August'];
                 var options = function($jqplot){return{
                     // The "seriesDefaults" option is an options object 
that will
                     // be applied to all series in the chart.
                     seriesDefaults:{
                         renderer:$.jqplot.BarRenderer,
                         rendererOptions: {fillToZero: true}
                         },
                     // Custom labels for the series are specified with 
the "label"
                     // option on the series option.  Here a series 
option object
                     // is specified for each series.
                     series:[
                         {label:'Hotel'},
                         {label:'Event Regristration'},
                         {label:'Airfare'}
                         ],
                     // Show the legend and put it outside the grid, but 
inside the
                     // plot container, shrinking the grid to accomodate 
the legend.
                     // A value of "outside" would not shrink the grid 
and allow
                     // the legend to overflow the container.
                     legend: {
                         show: true,
                         placement: 'outsideGrid'
                         },
                     axes: {
                         // Use a category axis on the x axis and use 
our custom ticks.
                         xaxis: {
                             renderer: $.jqplot.CategoryAxisRenderer,
                             ticks: ticks
                             },
                         // Pad the y axis just a little so bars can get 
close to, but
                         // not touch, the grid boundaries.  1.2 is the 
default padding.
                         yaxis: {
                             pad: 1.05,
                             tickOptions: {formatString: '$%d'}
                             }
                         }
                      }};
                 var plugins = ['pieRenderer','BarRenderer'];
                 var plot = new qxjqplot.Plot(data,options,plugins);


but nothing appear and no errors shown.

What can be wrong? When i add the "BarRender"

to the pluginsarray and render a pie chart

    var plugins = ['pieRenderer','BarRenderer'];

nothing appera too.

this pierender  be ok

                 var data = [[['frogs',3], ['buzzards',7], ['deer',2.5], 
['turkeys',6], ['moles',5], ['ground hogs',4]]];
                 var options = function($jqplot){return{
                     title: 'Pie Chart with Legend and sliceMargin',
                     seriesDefaults:{renderer:$jqplot.PieRenderer, 
rendererOptions:{sliceMargin:8}},
                     legend:{show:true}
                      }};
                 var plugins = ['pieRenderer'];
                 var plot = new qxjqplot.Plot(data,options,plugins);


Is their any other renderer to use or what can be wrong?

thank you



------------------------------------------------------------------------------
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
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to