Please provide a property that will enable the ValueAxis of Radar Chart to be visible on top of the RadarArea series.
Currently, if the RadarArea Series has the opacity property set to 1.0, it masks the ValueAxis. To make the ValueAxis visible, the RadarArea's opacity should be reduced and this in turn makes the color of RadarArea less appealing.
Please provide a feature whereby we can make the ValueAxis visible through the RadarArea series without compromising on the opacity.
Sure Alex.
The idea is to attach a dataBound event to the Chart object.
In this dataBound event, invoke the functionality to render gridlines.
Ensure that the opacity of the series matches the opacity defined in the gridLineShow().
The dataBound event gets fired when a data is bound to the Chart as in:
This should render the chart as in the attached "Chart with GridLines.jpg" attachment. We prefer subtle gridlines, so used rgba(0, 0, 0, 0.1).
If you want gridlines to render bolder lines, use rgb(0,0,0) so it will render as in "GridLines2.jpg"
I have shared the solution in the below link:
https://stackblitz.com/edit/qnruem-lr5ffp
Best regards
Anuradha
Hi Alex,
We have developed a workaround for this case wherein we are manually rendering the grid-lines on top of the chart area.
Since our objective is primarily achieved, we would prefer to wait for a release from Telerik as per your development cycle and implement the solution when it is released.
Thanks for your time.
Best regards
Anuradha
Hi Alex,
We are discussing on this and will get back to you once we have reached a decision.
Regards
Anuradha
Thank you, Alex for the time taken to provide workarounds. My client is keen on having the gridlines visible and feels it adds more value, which is why we wanted to raise this feature request. We wanted to have a checkbox in the user interface that would enable toggling the gridlines on and off once this feature was made available for added flexibility.
We have also noticed that this feature was being anticipated by other developers for a few years now (since 2013). Please refer below forum where this has been discussed.
https://www.telerik.com/forums/show-radar-chart-grid-through-area-or-lines
While you may choose not to make this a default property that should be enabled by default, this feature could just be a switch to turn on for those who want the gridlines visible. We feel it adds more value if this flexibility is provided.
Regards
Anuradha
axisDefaults:{
majorGridLines:{
color:
"black"
},
},
Thanks Alex, for your inputs.
However I use a radarArea and not radarLine. My issue like I mentioned in the original request, because the opacity of radarArea is 1.0, the LineAxis and MajorGridlines were not visible.
I want the MajorGridLines of both CategoryAxis as well as ValueAxis for this requirement to work.
Thanks to your solution, now I get the valueAxis visible. It would be great to have the gridlines working in this way as well.
Please use this code:
SeriesDefaults:
ValueAxis:
CategoryAxis:
Much appreciate your time and support.
Regards
Anuradha
<kendo-chart :title-text=
"'Kendo Chart Example'"
:series=
"series"
:series-defaults=
"seriesDefaults"
:value-axis=
"valueAxis"
</kendo-chart>
new
Vue({
el:
"#vueapp"
,
data:
function
() {
return
{
valueAxis: {
zIndex:1
}
}
})
Thanks Alex,
While your example works for jQuery Chart, I am unable to translate into VueJS.
1. How to get the zIndex working in VueJS?
2. How do I get the gridlines visible? (Please refer attachment.) We also want the grildlines (resembline spiderweb in the picture) to be visible.
Please advise. Appreciate your time.
Regards
Anuradha
valueAxis: {
zIndex:1,
/* other config */
}
Request this ValueAxis feature along with the base gridlines to be available when rendered. Please refer attachment.
I want the gridlines also to overlay the RadarArea series when rendered.