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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Bar Chart Display Error After Update Version to 16.4.0.52

Thread ID:

Created:

Updated:

Platform:

Replies:

142606 Feb 12,2019 03:31 AM UTC Feb 14,2019 05:46 AM UTC ASP.NET MVC - EJ 2 5
loading
Tags: Chart
afiqdoherty
Asked On February 12, 2019 03:31 AM UTC

Hi, I got below error (refer picture) when update to latest version. I cannot use (.PrimaryXAxis) and (.PrimaryYAxis). Please advise on this. 



Thanks,

afiq




Dharanidharan Dharmasivam [Syncfusion]
Replied On February 12, 2019 11:13 AM UTC

Hi Muhammad, 
 
We would like to let you know that, in the current version, you can directly specify the properties of majorGridLines/majorTickLines in client side itself, no need to initialize the properties in server side and used via ViewBag. Find the code snippet below to achieve this. 
 
[ChartFeatures.cshtml] 
 
@Html.EJS().Chart("container").PrimaryYAxis(px=>px.MajorTickLines(mt=>mt.Color("Red").Width(1)).Minimum(0).Maximum(50).Interval(10)) 
    // Other Configurations 
.Render() 
 
 
Now the chart will not throw any error and renders properly.  
 
Thanks, 
Dharani. 


afiqdoherty
Replied On February 14, 2019 02:59 AM UTC

Thanks Dharani, that solution works :D

Appreciate if your team can assist me on this issue . Currently, I still not found any solution to this requirement.

Thanks,

afiq

Dharanidharan Dharmasivam [Syncfusion]
Replied On February 14, 2019 05:37 AM UTC

Hi Muhammad, 
 
Most welcome. And regarding the grid query, we will provide you solution in the forum 142578 itself. We appreciate your patience until then. 
 
Thanks, 
Dharani.  


afiqdoherty
Replied On February 14, 2019 05:41 AM UTC

Sure, thanks Dharani :)

Dharanidharan Dharmasivam [Syncfusion]
Replied On February 14, 2019 05:46 AM UTC

Hi Muhammad, 
 
You are welcome. Kindly revert us, if you need further assistance. We are always happy in assisting you. 
 
Thanks, 
Dharani.  


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

;