I use Infragistics13.2 and VS2013 VB.net.
I'd like to add a AxisY like the right line.
How can I add in the following sources?
i have a some problem
Attach sample source
sample source
I have done some problems.Thank you for your answer.
And no.3 to explain..I'd like to add a candlechart style on the line chart.How can I do?..FillSceneGraph -> only this way?..
Hello Min,
Within the FillSceneGraph event you can add your own primitive(s) mapped between two datapoints, as illustrated in your image.
I recommended using a Box primitive. An example can be found here:
http://help.infragistics.com/doc/WinForms/2014.2/CLR4.0/?page=Chart_Access_Axis_Inside_FillSceneGraph_Event_of_a_Non_Composite_Chart.html
Let me know if you have any questions regarding this matter.
Those described above, I think just draw a box.My requirement is to add series.Is there any way ?
Thank you for your feedback.
Yes, you can add CandleSeries to your composite chart. Please keep in mind the line chart X axis SetLAbelAxisType property should be set as Continuous. The same property for candle chart should be set as DateData. This will make it difficult to align these two axis. This is why my suggestion is to use FillSceneGraph event and to add the rectangles you need. Please follow the link bellow to find how you can create composite chart containing different chart types http://help.infragistics.com/doc/WinForms/2014.2/CLR4.0/?page=Chart_Creating_a_Composite_Chart_in_Code_Part_1_of_2.html
Please let me know if you need any further assistance.
Thasks Milko.
Can I check my source?
I can't add candle chart with line chart.
Y2_Axis = SetLabelAxisType.GroupBySeries
X_Axis = SetLabelAxisType.ContinuousData
If I have any questions,I'll ask for help.Thanks a lot Milko.
I am just checking about the progress of this issue. Let me know if you need my further assistance on it.
Thank you for using Infragistics Components.
Please find bellow the requirements you need to fulfill in order to add candle chart to your Composite chart:
- The candle series has to be of CandleSeries type. You cannot use NumericTimeSeries or other type of series for candle chart;
- Candle chart need three axes – AxisX, AxisY and AxisY2. Please note the AxisX should be of String data type and the SetLabelAxisType property should be DateData. While for NumericTimeSeries the SetLabelAxisType property should be ContinuousData you cannot use same x axis for line and candle chart.
- For candle chart you need to add points of type CandleDataPoint. You cannot use NumericTimeDataPoint.
Following the next link you may find more information about candle chart data requirements http://help.infragistics.com/Doc/WinForms/current/CLR4.0/?page=Chart_Working_with_Candle_Chart_Data.html
Please find attached revised version of your sample project and let me know if you need any additional information