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

Need Assistance to Identify the Contextual Charting

Thread ID:





126169 Sep 28,2016 10:54 AM UTC Oct 6,2016 12:49 PM UTC ASP.NET MVC 5
Tags: Chart
Asked On September 28, 2016 10:54 AM UTC


I have a following data and would like to know which chart would be the best and if some one can help me with configuring the same it would be great.


          P X          P Y          P Z         I X         I Y         I Z                               Time          Index
        -0.0699         0.0417         0.5712       280.5176      -205.1392        85.0677        2016-09-08T11:54:18.7316444              0
        -0.0605         0.0381         0.6282       496.2769      -474.6552       236.9080        2016-09-08T11:54:18.7316444              1
         0.0402        -0.0038         1.0721        99.3500      -112.9608        62.4542        2016-09-08T11:54:18.7496444              2
         0.1198        -0.0300         1.3649      -472.7936       432.9681      -229.7211        2016-09-08T11:54:18.7496444              3

Saravana Kumar Kanagavel [Syncfusion]
Replied On September 29, 2016 12:49 PM UTC

Hi Deepak, 
Thanks for contacting Syncfusion Support. 
We have analyzed your query and data provided by you. But we need your use case scenario to suggest the series type. 
If you wish to showcase a trend of data, then you can use line type charts (line, spline, area) 
And if you wish to show high and low comparison between data, then you can use column type series. 
If you need to show financial data, you can use financial type of series (Hilo, hiloOpenClose) 
And if you wish to show accumulated data you need to use accumulation series (pie, doughnut, pyramid and polar) 
So kindly share your use case scenario and data that you are binding to chart. As of now we have prepared a line chart sample for your reference and attached in the below location. 
Please find the output of the plotted chart using your provided data from the below  
In the above output, first three series values are very less when compared with the other three series values. So, those series point values are invisible. But this can be viewed by zooming the chart. 
And if you want to display all the series point values clearly, then you can use multiple axes in chart. Find the output of the sample below 
In this we have grouped the series based on its points Y value and bind it to two different axes for clear view. 
Please revert us the below details, if your query is misunderstood at our end or if you face any concern on this. 
v  Detailed explanation about your requirement and your sample 
v  And also revert us with data source(X and Y values) to bind for each series.  
Saravana Kumar K 

Replied On October 3, 2016 11:45 AM UTC

Hello Team,

I would go with the Line Chart. The X-Axis is going to the Time and ParameterX,ParameterY, ParameterZ, InputX, InputY and InputZ would go as lines in the Y Axis.  I modified the code you have sent below

                .RowDefinitions(Rowdef =>
               .Series(ser =>
               .Legend(lg => lg.Visible(true))

And it showed up as:

I would need the series to be populated at runtime. Would the component support it?

Attachment: download_343caf61.rar

Saravana Kumar Kanagavel [Syncfusion]
Replied On October 4, 2016 09:53 AM UTC

Hi Deepak,   
Thanks for your update.   
We have analyzed your query and created a sample based on your requirement. In a sample, we can get the user input value with the no. of the series to be rendered and populated the series dynamically in chart based on the user value.  
Please refer the code example below   
function change(sender) //onChange Event triggered 
        window.val = parseInt(sender.value); 
        if(val > 10) 
            window.val = 10; 
        var chart = $("#container").ejChart("instance"); 
        chart.model.series = []; 
        for (var i = 0; i < window.val; i++) { 
            var points = []; 
            for (var j = 0; j < 10; j++) { 
                var random = parseInt(getRandomInt(20, 50)); 
                points.push({ x: j, y: random }); 
            chart.model.series.push({ dataSource: points, xName: "x", yName: "y", type: "line" }); 
    function getRandomInt(min, max) { 
        return Math.floor(Math.random() * (max - min + 1)) + min; 
In the above code while changing the value in the text box, we have dynamically created series based on the user value and generated a points using random values and redrawing the chart.    
Refer a sample from the below location.   
Please find the output of the sample below   
Please let us know if you have any concern. 
Saravana Kumar K 

Replied On October 4, 2016 11:47 AM UTC

Hi Team,

I have modified the application but having issues with the Chart Control. I have created a Incident for the same here:


Anandaraj T [Syncfusion]
Replied On October 6, 2016 12:49 PM UTC

Hi Deepak, 

Thanks for the update. 

We have modified the sample as per your requirement and attached it in the support incident mentioned by you under your direct trac account. 



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