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
240
TreeMap label change in UltraChart1_FillSceneGraph
posted

How can i change the label of a tree map bar using the UltraChart1_FillSceneGraph event. Please send some code snippets.

Regards,Shiju

Parents
No Data
Reply
  • 28496
    Offline posted

    .

        private void ultraChart1_FillSceneGraph(object sender, FillSceneGraphEventArgs e)
            {
                foreach (Primitive p in e.SceneGraph)
                {
                    Text t = p as Text;
                    if (t != null)
                    {
                        t.SetTextString("hello");   
                    }
                }
            }

Children
No Data