How do I disable the Radar chart concentric grid lines?

Share RGraph:   To help my Google visibility (it can't get much worse!), if you like and use RGraph I'd appreciate it if you could link to me

« 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 pheo on 22nd January 2017
im trying to draw a radar

but i dont want the cross lines that go from each radial to the next, i have the centrics count set to 0 but it makes no difference

new RGraph.SVG.Radar({
         id: 'chart-container',
         data: data,
         options: {
             backgroundGridLinewidth:1,
             backgroundGridColor: 'gray',
             backgroundGridRadialsCount:8,
             backgroundGridCentricsCount: 0,
             colors: ['red','black','yellow','green','purple',],
             highlightLinewidth: 0,
             highlightStroke: 'white',
             highlightFill: 'rgba(0,0,0,0)',
             linewidth: 3,
             labels: ['BOUNDARIES AND BEHAVIOR','EDUCATION AND LEARNING','EMOTIONAL WELL-BEING','FAMILY ROUTINE','HOME AND MONEY','KEEPING YOUR FAMILY SAFE','PHYSICAL HEALTH','SOCIAL NETWORKS'],
             tooltips: tooltips,
             tickmarks: 'filledrect',
             tickmarksSize: 10
         }
     }).draw();
Posted by Richard on 22nd January 2017
Hi there,

There was a typo in the name - it should be:

backgroundGridConcentricsCount: 0


Here's the corrected demo:

www.rgraph.net/demos/svg-radar-outline.html






Richard

Add a reply




« Back to message list