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?
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:
i couldn't fix via code.
Comments
Post a Comment