We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Radar Chart

Thread ID:

Created:

Updated:

Platform:

Replies:

131861 Jul 31,2017 07:02 PM UTC Aug 2,2017 01:04 PM UTC ASP.NET Core 2
loading
Tags: DocIO
Pieter van Kampen
Asked On July 31, 2017 07:02 PM UTC

Hi, I have the following Radar Chart

Is it possible to add (dotted) lines from the center to each category?


Pieter van Kampen
Replied On August 1, 2017 07:47 AM UTC

Hi, I found I can make the lines with:

 chart.PrimaryCategoryAxis.HasMajorGridLines = true;

 I am new to this, sorry if this was obvious.

Now I have this (different data set):




I would like to change the above to this:


I have tried this, but it has no effect:

               chart.PrimaryCategoryAxis.MajorGridLines.Border.LinePattern = OfficeChartLinePattern.Dash;

                chart.PrimaryCategoryAxis.MajorGridLines.Border.Transparency = 0.6;

                chart.PrimaryCategoryAxis.MajorTickMark = OfficeTickMark.TickMark_Outside;

                chart.PrimaryCategoryAxis.Border.LinePattern = OfficeChartLinePattern.Dash;

                chart.PrimaryCategoryAxis.Border.Transparency = 0.6;

Any suggestions?


Sethumanikkam Yogendran [Syncfusion]
Replied On August 2, 2017 01:04 PM UTC

Hi Pieter,

Thank you for contacting Syncfusion support.

On further analyzing with the given details, we have found that your requirement is to set line pattern for gridlines in the radar chart. If so, we should set major gridlines with line patterns for both primary axis (PrimaryCategoryAxis and PrimaryValueAxis).

Kindly refer and include the below highlighted codes to get the expected result.
 
chart.PrimaryCategoryAxis.HasMajorGridLines = true;
chart.PrimaryCategoryAxis.MajorGridLines.Border.LinePattern = OfficeChartLinePattern.Dash;
chart.PrimaryCategoryAxis.MajorGridLines.Border.Transparency = 0.6;
chart.PrimaryCategoryAxis.MajorTickMark = OfficeTickMark.TickMark_Outside;
chart.PrimaryCategoryAxis.Border.LinePattern = OfficeChartLinePattern.Dash;
chart.PrimaryCategoryAxis.Border.Transparency = 0.6;

chart.PrimaryValueAxis.HasMajorGridLines = true;
chart.PrimaryValueAxis.MajorGridLines.Border.LinePattern = OfficeChartLinePattern.Dash;
chart.PrimaryValueAxis.MajorGridLines.Border.Transparency = 0.6;
chart.PrimaryValueAxis.MajorTickMark = OfficeTickMark.TickMark_Outside;
chart.PrimaryValueAxis.Border.LinePattern = OfficeChartLinePattern.Dash;
chart.PrimaryValueAxis.Border.Transparency = 0.6;
 

If we misunderstood any of your requirement, then kindly update us your requirement with sample for clear description along with input document (if any) and screenshot/output Word document of the expected result which will helpful to provide you the appropriate solution at the earliest.

Please let us know if you have any other questions.

Regards,
Sethumanikkam.Y


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;