Jump to content
Software FX Community

How to create a ThreeLineBreak Diagram


sabstar

Recommended Posts

Dear all,

i am trying to create a ThreeLineBreak Diagram and I don't understand how to bind the data to the chart.

There is a table on the SQL Server with Columns Name, Value2, Value3, Value4, Value5, Value6. There you can find the data "Namexyz", "100", "200", "-50", "150", "-20".

Here is our actual coding:

Chart1.DataSourceSettings.Fields.Add(New ChartFX.WinForms.FieldMap("Date", ChartFX.WinForms.FieldUsage.XValue))

Chart1.DataSourceSettings.Fields.Add(

New ChartFX.WinForms.FieldMap("LOW", ChartFX.WinForms.FieldUsage.Value))Chart1.DataSourceSettings.Fields.Add(New ChartFX.WinForms.FieldMap("OPEN", ChartFX.WinForms.FieldUsage.Value))

Chart1.DataSourceSettings.Fields.Add(

New ChartFX.WinForms.FieldMap("CLOSE", ChartFX.WinForms.FieldUsage.Value))Chart1.DataSourceSettings.Fields.Add(New ChartFX.WinForms.FieldMap("HIGH", ChartFX.WinForms.FieldUsage.Value))Chart1.DataSourceSettings.Fields.Add(New ChartFX.WinForms.FieldMap("VOLUME", ChartFX.WinForms.FieldUsage.Value))

 

 

Financial1.DataBindingSettings.OpenSeries = 0

Financial1.DataBindingSettings.HighSeries = 1

Financial1.DataBindingSettings.LowSeries = 2

Financial1.DataBindingSettings.CloseSeries = 3

Financial1.DataBindingSettings.VolumeSeries = 4

Can someone help me to bind this data to the chart?

 

Thanks and best regards,

Sabstar

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