Set the Xvalues of the chart

D

DaveD170

Hello,
I'm using c# in order to create a chart in excel.
I have 2 vectors of data -
X = [0 0.1 0.2 0.3 0.4 0.5]
Y = [100 20 12 180 32 78]

(The X vector is in A column of th Excel
The Y vector is in B column of th Excel)

I want to plot a xlXYScatterSmooth. I couldn't managed doing it.
I would appreciate an article with example or some hints.

Thank you
Dave
 
J

Joel

first yuo should write the data to a worksheet and then use the Chart Wizard
to setup the chart. I'm not sure what you have done. It would help if you
posted the code and said what didn't work.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top