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
875
Adding a label to chart element
posted

Is there a way using a WinChart to click on a chart element and add a label to it?  For instance, I have a Scatter Chart and I want drop a label down next to the point when it is clicked on.  I know there is an event that I can handle and it gives me the row and column from my datatable that this point is from.  I can get the name I want to display and add it as a tooltip, but I want a static label to appear.

 

 

Parents
No Data
Reply
  • 28496
    Offline posted

     try adding a ChartTextAppearance object to the ScatterChart.ChartText collection.

    or, add an Annotation to the chart's Annotations collection.

Children