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
100
Determine Layer Axis when Data Clicked.
posted

Hi,

I have a multilayered Composite which displays multiple linecharts on a shared Xaxis with multiple Yaxis. I do not display any axis lables on the Y Axis as they would obviously overlap. What I would like to do is use the ChartDataClicked Event to display that particular layers axis labels. Does anyone know how to obtain the current axis from the eargs returned from an ChartDataClicked event.

What I need is to find a ChartLayerAppearance class from the eargs so I can set the ItemFormatString.

Code I have so far:

this.ultraChart1.ChartDataClicked += ShowAxisLabels;

.

.

private void ShowAxisLabels(object sender, ChartDataEventArgs eargs)

{

}

 

Many Thanks,