c# - How to correct unwanted mschart splines? -


i'm writing c# code calculating , plotting them via mschart. data looks image added below. spline data 1,2,3,4 y axis, , 5000,8000,10000,11000 x axis. there bold closed spline around spline. how can fix this?

unwanted spline chart

my code is:

var lines = new series("lines"); lines.charttype = seriescharttype.spline; chart1.series["series1"].points.addxy(5000, 1); chart1.series["series1"].points.addxy(8000, 2); chart1.series["series1"].points.addxy(10000, 3); chart1.series["series1"].points.addxy(11000, 4); 

i could't add second image question, used answer link.

if add data chart properties menu , make isempty option true, chart displays correctly. should via code. searched code , found

public bool isempty { get; set; } 

but didn't work. here correct chart image:

correct chart

i couldn't fix via code.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -