Friday, 15 May 2015

graph - How do you turn a series on and off in C# -



graph - How do you turn a series on and off in C# -

i trying build fft plotting program. i've got need fft's i'm stuck on plotting. want allow user turn on plot of input info , output data. want them able have them on same chart or not. code i've got

if(mycheckbox.checked == true) { for(int = 0 ; ...) {chart filled} } else { turn off series beingness displayed }

it's else part having severe problem , hoping couple of pointers(ha!).

to hide series in mschart, utilize enabled property way :

mschart.series["series"].enabled = false;

and show 1 time again :

mschart.series["series"].enabled = true;

c# graph charts data-visualization

No comments:

Post a Comment