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

Chart does not display data

Hello community,
I'm trying to view the data using Chart, unfortunately my attempts end with an error message.

I'm adding video and Controller and View files.

Thank you for your help and I wish you a happy and successful New Year.

Kind regards Patrik

Attachment: Chart_Problem_a4edd554.zip

3 Replies

DD Dharanidharan Dharmasivam Syncfusion Team January 3, 2019 12:08 PM UTC

Hi Patrik , 
 
Greetings from Syncfusion. 
 
We have analyzed your query with attached video. While validating the provided code snippet we found that you haven’t initialize the query, so that issue was occurred. Once you initialize the query, the chart will render properly. We have created sample based on your requirement by initializing the empty query, the chart is working fine.  
 
Code Snippet: 
Index.cshtml: 
  <e-accumulation-series-collection> 
            <e-accumulation-series xName="CustomerID" yName="OrderID" innerRadius="40%" name="Kategorie" explode=true explodeOffset="10%" explodeIndex=3 query="new ej.data.Query()"> 
                <e-data-manager crossDomain="true" url="@Url.Action("UrlDatasource")" adaptor="UrlAdaptor"></e-data-manager> 
            </e-accumulation-series> 
        </e-accumulation-series-collection> 
 
Screenshot: 
 
 
Regards, 
Dharani. 



PV Patrik Volka January 12, 2019 09:35 PM UTC

Thanks


KM Kesavan Muthusamy Syncfusion Team January 14, 2019 12:23 PM UTC

Hi Peter, 
Thanks for your update. 
Please get back to us if you need further assistance on this. 
Regards,
Kesavan
 


Loader.
Live Chat Icon For mobile
Up arrow icon