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

Scatter Chart

Hello

I'm trying to generate a scatter chart with X and Y-values.

I set the DataRange to A1:B84 (column A: X values, column B: Y values).

But I get a chart, where the x values is the row number and for each row number I get 2 points according to the values in the data range.

Who do I set the x values?

regards
Stefan Wasinger

Attachment includes:
target.jpg - this should be exported
wrong_output.jpg - this is my chart
Export-XLS.xls - the generated xls-file




scatter_8dc0fa79.zip

1 Reply

DK Dhivya K Syncfusion Team October 17, 2008 12:29 PM UTC

Hi Stefan,

Thank you for your interest in Essential XlsO.

Providing Data range to the chart draws two series by default. In order to create single serie, please provide separate range for the serie and axis. Please refer to the below link for creating scatter chart with X and Y values.

http://websamples.syncfusion.com/samples/XlsIO.Windows/ScatterChart.zip

Please take a look into it and let me know if you have any other concern.

Regards,
Dhivya.


>Hello

I'm trying to generate a scatter chart with X and Y-values.

I set the DataRange to A1:B84 (column A: X values, column B: Y values).

But I get a chart, where the x values is the row number and for each row number I get 2 points according to the values in the data range.

Who do I set the x values?

regards
Stefan Wasinger

Attachment includes:
target.jpg - this should be exported
wrong_output.jpg - this is my chart
Export-XLS.xls - the generated xls-file




scatter_8dc0fa79.zip


Loader.
Live Chat Icon For mobile
Up arrow icon