Jump to content
Software FX Community

Chart using only some columns from a binding source


mcgd
 Share

Recommended Posts

 Hi,I'm trying out ChartFX Lite for some simple charting.  I have a BindingSource which eventually refers to a DataTable with a number of fields.  I want to plot one field as the X axis and another as the Y axis, but I don't see any way to specify which fields are used for charting.  This seems to be a fairly simple thing to do.  How can I tell the Chart object what fields to use?Thanks

Link to comment
Share on other sites

 Yes, I looked at that, but the problem is that it seems to be done by column number.  I can't rely on particular columns being in particular positions - I need to do it by field name.  Because I'm using a BindingSource, I don't know of a way of finding out what column names are at what positions.  So I was hoping I would be able to give the chart object the names of the columns to use.

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.

 Share

×
×
  • Create New...