I have a winform with 3 textboxes as options and 3 buttons as the option selection. When I fill them I pass the text to chart series. After that I click on a button, and I add a value to each "option" as a percentage.
Option 1: II Option 2: IIIII Option 3: I
But every time I click on a button I got this:
I want to consider in the same bar (different series). This is the code:
private void btnOpt1_Click(object sender, EventArgs e)
{
opt1++;
avg1 = (opt1 * 100) / total;
crtStats.Series["Option 1"].Points.AddXY("Options", avg1);
}
What can I do?
Thanks.