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
670
TreeMap: How to get the "columnname" in ChartDataClicked event?
posted

There are several articles describing how to get the underlying datarow but they use a for loop to compare the name/value pairs (which maybe misleading). Is there a solid way to get the columnname of the data clicked?

 

Parents
  • 20872
    Offline posted

    Hello,

    You might be able to get the column and row labels like the following:

         private void ultraChart1_ChartDataClicked(object sender, Infragistics.UltraChart.Shared.Events.ChartDataEventArgs e)
            {
              string colLabel = e.ColumnLabel;
              string rowLabel = e.RowLabel;
            }

    Please let me know if this is not what you are looking for.

Reply Children