Jump to content
Software FX Community

How to bring the coordination system concept in Scatter Chart?


rao.sripathi

Recommended Posts

The following sample will do it just find.

chart1.Data.Series = 3;

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

chart1.Data.Points = 3;

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

chart1.Data[0, 1] = -50;

chart1.Data[0, 2] = -5;

chart1.Data[1, 0] = 10;

chart1.Data[1, 1] = -10;

chart1.Data[1, 2] = 30;

chart1.Data[2, 0] = -15;

chart1.Data[2, 1] = 40;

chart1.Data[2, 2] = 15;

chart1.Data.Labels[0] = "A";

chart1.Data.Labels[1] = "B";

chart1.Data.Labels[2] = "C";

chart1.Gallery = ChartFX.WinForms.Gallery.Scatter;

You may want to change the Gray Code by a SQL Query, there is a good article which includes code in the Chart FX Resource Center installed with Chart FX, section Passing Data/"Passing Data Using Database".

I hope this helps.

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