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
1785
Floating column chart
posted

Is there any way to implement a "floating column chart" using UltraWinChart, similar to what is described here:  http://www.techrepublic.com/blog/windows-and-office/an-easy-technique-for-creating-a-floating-column-chart-in-excel/6936/

Thanks in advance...

Steve

  • 23930
    Verified Answer
    Offline posted

    Hi Steve,

    Thank you for contacting Infragistics Developer support.

    What you could do in order to implement such chart is to use a StackedColumnChart. In it you can add two values for the floating chart. The first would be the low value and the second the high value. This will create a chart similar to the chart on “Figure B” from the link you provided. Then you need to handle the DrawItem event of the chart and set the Visible property of the first part of the bars to false. Additionally you have to set their Caps to none, so that there are no tooltips shown for them.

    I have attached a sample which demonstrates this approach.

    Please let me know if you have any additional questions.

    WC_FloatingChart.zip