Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
850
UltraControlContainerEditor
posted

Hello guys

Looking  for in the NetAdvantage 2010.3 samples, I found a sample that can be very useful for us called "Control Container Editor". In that sample, there is one where charts are displayed inside as a cell (See Image), and the values to create that charts can be modify. So, I was wondering if we can create another kinds of charts as pie chart, line chart, etc, etc....or any other kind of charts supported by the ultrachart.

Is that posible?

This because we need to develop an application very similar to the example (see image), but instead of column chart, we need pie charts and maybe later line charts, scatter.....etc.

By the way, Is there any sample code for that example ("Sample Container Editor")?

 




 

  • 469350
    Offline posted

    The sample you are referring to uses the UltraWinChart control, which supports a wide range of chart types. So yes, what you want to do is certainly possible.

    And yes, source code is included for all of the samples included with NetAdvantage. I'm pretty sure the Sample Browser even gives you a link you can click to open up the sample in Visual Studio.

  • 53790
    posted

    Hello,

    Regarding your question:

    -  "So, I was wondering if we can create another kinds of charts as pie chart, line chart, etc,"

    Answer: Yes it is possible. You need to change only the property "ChartType". You can do this via disigner or via code. For example (ultraChart1.ChartType =Infragistics.UltraChart.Shared.Styles.ChartType.PieChart3D;)

    Question 2: Is there any sample code for that example ("Sample Container Editor")?

    Answer: You can find a sample code in our "Windows Forms Feature Browser". Type in a search "ControlContainerEditor" and you will find the example and code.

    Please if you have any questions, feel free to ask me.

    Regards

    Georgi