jquery - How to add jqplot bubble chart axis label -
i using jqplot bubble chart. want show label on x , y axis. tried mentioned here. seems not work bubble chart.
http://www.jqplot.com/deploy/dist/examples/axislabelsrotatedtext.html
also, highlighter plugin not work bubblechart ?
i badly stuck. appreciate here.
thanks, jigar
see example
$(document).ready(function() { var arr = [[11, 123, 1236, "acura"], [45, 92, 1067, "alfa romeo"], [24, 104, 1176, "am general"], [50, 23, 610, "aston martin lagonda"], [18, 17, 539, "audi"], [7, 89, 864, "bmw"], [2, 13, 1026, "bugatti"]]; var plot2 = $.jqplot('chart', [arr], { /*seriesdefaults: { },*/ series: [ { renderer: $.jqplot.bubblerenderer, rendereroptions: { bubblealpha: 0.6, highlightalpha: 0.8 }, shadow: true, shadowalpha: 0.05 }], axesdefaults: { tickrenderer: $.jqplot.canvasaxistickrenderer, }, axes: { xaxis: { renderer: $.jqplot.categoryaxisrenderer, label: 'x axis label' }, yaxis: { autoscale: true, label: 'y axis label' } } }); });
Comments
Post a Comment