Jump to content
Software FX Community

Problem With DataEditor


Feroz

Recommended Posts

Hi

 I am creating the Chart with Following datas. There is a problem with DataEditor. The value shown in the tooltip is matched with the data in the DataEditor Grid, but the X Label Value is not getting matched with the DataEditor Header. Here is the codings

 

Chart chart1 = new Chart();

chart1.Width = 1100;

chart1.Height = 750;

this.Controls.Add(chart1);

chart1.AxisY.Min = 50;

chart1.AxisY.Max = 60;

 

int i, j;

chart1.OpenData(SoftwareFX.ChartFX.

COD.Values, 2, 5);chart1.OpenData(SoftwareFX.ChartFX.COD.XValues, 2, 5);

//series1

chart1.Value[0, 0] = 51.380;

chart1.Value[0, 1] = 52.620;

//series2

chart1.Value[1, 0] = 56.160;

chart1.Value[1, 1] = 58.340;

chart1.Value[1, 2] = 54.9;

 

 

//series1

chart1.XValue[0, 0] = 5;

chart1.XValue[0, 1] = 3;

//series2

chart1.XValue[1, 0] = 4;

chart1.XValue[1, 1] = 1;

chart1.XValue[1, 2] = 2;

 

chart1.CloseData(SoftwareFX.ChartFX.COD.Values);

chart1.CloseData(SoftwareFX.ChartFX.

COD.XValues);chart1.AxisX.Label[0] = "A";

chart1.AxisX.Label[1] =

"B";chart1.AxisX.Label[2] = "C";

chart1.AxisX.Label[3] =

"D";chart1.AxisX.Label[4] = "E";

chart1.Gallery = SoftwareFX.ChartFX.

Gallery.Lines;

 

 

Thanks

M.S. Feroz.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...