Radar chart question: How do I unbox and bold the labels (within the axis)?

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Robert Jordan on 8th February 2013
Good Day,

I am trying to bold and unbox the label within my charts axis.

I have the following scripts included:
  - jquery-1.8.2
  - RGraph.common.core
  - RGraph.common.key
  - RGraph.common.dynamic
  - RGraph.common.tooltips
  - RGraph.common.effects
  - RGraph.drawing.circle (though not needed for this questions issue)
  - RGraph.line (though not needed for this questions issue)
  - RGraph.radar

     <script type="text/javascript">

         var id = 'mySuperChart';
         var labels = ['Personal Service Report', 'Plant\r\nSurvey', 'People\r\nSurvey', 'Service\r\nPlan', 'Program\r\nAdministration\r\nManuals', 'Business\r\nReview', 'Chemical\r\nManagement\r\nTeam', 'Customer\r\nSatisfaction Surveys', 'Value\r\nand\r\nReturn On Investment', 'Relationship\r\nPlanning', 'Target\r\nAccount\r\nSelling'];
         var radar = undefined;

         var questions = {

             whyDontTheLabelsUnbox: function () {
                 radar = new RGraph.Radar(id, [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]);
                 radar.Set('chart.background.circles.spacing', 35);
                 radar.Set('chart.labels', labels);
                 radar.Set('chart.ymax', 5);

                 // QUESTION: Why don't the labels un-box?
                 radar.Set('chart.labels.boxed', false); //<-- FAILS
                 radar.Set('chart.labels.axes', 'n');


         window.onload = function () {

<canvas id="mySuperChart" width="800" height="400">[No canvas support]</canvas>
Posted by RGraph support on 8th February 2013

Well the labels are not boxed by default now - see the example page. You might be using an older version if your labels are boxed by default.


Richard, RGraph Support
Posted by Unboxing the AXIS LABELS on 10th February 2013
I'm sorry, I see now that I used the wrong wording...and I may be using the wrong command. What I am trying to unbox are the AXIS LABELS (that describe the range).
Posted by RGraph support on 10th February 2013

There's no option for that currently. I can add one for if you wish as a "license holder customisation". Eg chart.labels.boxed.axes


Richard, RGraph Support

Add a reply

« Back to message list