Saturday, 15 September 2012

jqplot y-axis label isn't vertical -


I have spent two days better part of trying to make the y-axis label vertically without success. Therefore, for the first time I have set a jeffield (hopefully I have corrected) which shows the same problem as my code, which works in ways other than the Y-axis labeling problem. FalatImb = [[-10, 400000], [-10, 797,000], [-2.9, 878,000], [2.9, 878,000], [10, 797,000], [10, 400000]]; $ .jqplot.config.enablePlugins = true; DpLatImbOpt = {seriesDefaults: {Shadow: false}, axis: {xaxis: {min: -15, max: 15, numerics: 7, label: '& amp; Larr; Left and midot; 1000000 lbs and midod; Correct and RRR; '}, Yaxis: {minimum: 400000, maximum: 950000, numberTicks: 12, label:' lbs gross weight ', labelRenderer: $ .jqplot.CanvasAxisLabelRenderer}}, grid: {background:' black ', gridLineColor:' # 666666 ', Shadow: false}, highlighter: {fadeTooltip: false, show: true; showToolTip: true, useAxesFormatters: true, formatString:'. .1.1,% 0f '}, series: [[Color:' red '}]}; $ JakePlot ('DPLTIMB', [FLTIMB], DPLTImbopt);

I thought that supplying a label renderer for the y-axis will cause the vertical alignment of that label to default, but it is not so and why I can not see it.

This is on jsfiddle

The obscure Y-axis reads the label 'LBS gross weight'.

Other than the immediate problem, suggestions related to others are welcome as I am a relative newboy.

Viewing your current scripts:

  & lt; Script src = 'http: //terryliittschwager.com/WB/jslib/jquery.jqplot.min.js'> & Lt; / Script & gt; & Lt; Script src = 'http: //terryliittschwager.com/WB/jslib/jqplot.canvasTextRenderer.min.js> & Lt; / Script & gt; & Lt; Script src = 'http: //terryliittschwager.com/WB/jslib/jqplot.canvasAxisLabelRenderer.min.js> & Lt; / Script & gt; & Lt; Script src = 'http: //terryliittschwager.com/WB/jslib/jqplot.highlighter.min.js'> & Lt; / Script & gt; & Lt; Div id = "dpLatImb" style = "margin-top: 20px; margin-left: 20px; width: 400px; height: 400px;" & Gt; & Lt; / Div & gt;   

The two are unavailable ' characters:

   jqplot.canvasTextRenderer.min.js  and  jqplot.canvasAxisLabelRenderer.min.js after the  ' 

bus I , then that fleet will be shown the label of the Y-axis.

No comments:

Post a Comment