Jump to content
Software FX Community

Change datagrid column heading in scatter chart


piiguu

Recommended Posts

Hi,

By default column headings in data grid of scatter chart are like "1", "2"...etc. How can they be changed?

The following code shows the fact,

chart1.Gallery = Gallery.Scatter;

chart1.Data.Series = 2;

chart1.Data.Points = 1;

chart1.Data.Y[0, 0] = 10;

chart1.Data.Y[1, 0] = 20;

chart1.Data.X[0, 0] = 30;

chart1.Data.X[1, 0] = 60;

chart1.Series[0].Text = "S1";

chart1.Series[1].Text =

"S2";

chart1.DataGrid.Visible =

true;

 Thanks.

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...