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. Image for the cookie policy date
close icon

DatePicker does not render with @using Syncfusion.Javascript.Datavisualization


I have a view that contains a DatePicker and a CircularGauge using SeriesType.Doughnut.  The SeriesType.Doughnut requires using Syncfusion.Javascript.Datavisualization, however,  when I add that to the view, the DatePicker stops rendering. Please advise. I am using the code provided in the HealthTracker Sample:



                    @(Html.EJ().Chart("ChartStep")
                          .Series(s =>
                          {
                              s.Points(p =>
                              {
                                  p.X("Carbohydrate").Y(60).Fill("#D3C1D4").Visible(true).Add();
                                  p.X("Fat").Y(40).Fill("#B26CAB").Visible(true).Add();
                              })
                                  .Name("Newyork")
                                  .Type(SeriesType.Doughnut)
                                  .LabelPosition(ChartLabelPosition.Inside)
                                  .DoughnutSize(.9f)
                                  .DoughnutCoefficient(0.9f)
                                  .EnableAnimation(true)
                                   .Opacity(0.8f)
                                  .Border(b => b.Color("#D3C1D4"))
                                  .Marker(sty => { sty.Opacity(0.8f).Border(border => { border.Color("#D3C1D4"); }); }).Add();
                          })

Thank You.

1 Reply

FP Francis Paul Antony Raj Syncfusion Team January 26, 2017 08:36 AM UTC

Hi Prashant, 
 
Thanks for contacting Syncfusion Support. 
 
We have checked your code example and tried to reproduce the reported issue by including “@using Syncfusion.JavaScript.DataVisualization;” in the view page along with provided code snippet. But we are unable to reproduce the issue at our end.  Please refer the sample in the below link: 
 
If still the issue persists, kindly share the below details. 
 
#1) What are the EJ components used in your application (along with EJ version) 
#2) DatePicker is the only EJ component which doesn’t render in your web page? (or) 
#3) Please revert the provided sample along with replication procedure to reproduce the issue at our end. This will be helpful for us to analyze and provide a solution at the earliest. 
 
Regards, 
Francis Paul A. 


Loader.
Live Chat Icon For mobile
Up arrow icon