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
1615
Annotations in Circular TreeMap Chart
posted

I have a circule tree map chart that has three levels

Strategy/SubStrategy/Fund. For each fund there are two values (one is used for a size of a circle, the other for color).

I need to be able to identify one particular circle. The idea was to use annotation but I can't figure out how to place annotation to the exact location of the circle.

I tried using Row/Column property but can't seem to place annotation into the right place.

 

Any ideas?

 

Parents
No Data
Reply
  • 17605
    posted

    You can try using ChartDrawItem event to change the color of specific circle:

     

    private void UltraChart1_ChartDrawItem(object sender, ChartDrawItemEventArgs e)

        {

            Ellipse ellipse = e.Primitive as Ellipse;

            if (ellipse == null || e.HasData == false)

            {

                return;

            }

     

            double value = (double)ellipse.Value;

     

            if (value == 100)

            {

                ellipse.PE = new PaintElement(Color.Red);

            }

        }

Children
No Data