Menu

how to display value (X-axis & Y-axis) of a point in graph ?

Help
2012-12-10
2012-12-12
  • Chanh Quang Nguyen

    I'd like to display value (X-axis & Y-axis) of a point in graph when moving mouse to this point ! how can i do this ? waiting for your help ! ^~^

     
  • Chanh Quang Nguyen

    I've try it but it doesn't work as i expect!Although i've set IsShowPointValues property to true and use function evetnhandler according tothe following guide in this link:" http://zedgraph.sourceforge.net/documentation/html/E_ZedGraph_ZedGraphControl_PointValueEvent.htm "
    do i have to config PointDataFormat & PointValueFOrmat properties ? they are default as "g" and "G", and i don't know what format that "g" & "G"mean ?
    I've attached pictures about my test !

     
  • Anonymous

    Anonymous - 2012-12-12

    No need of using that eventhandler, just setting the IsShowPointValues property to true works for me. I never changed the PointDataFormat PointValueFormat properties. Your chart only has 4 points, so none of the point values shows up? Does your graph have focus? Sometimes I have to click on the graph before it shows the labels.

     

Log in to post a comment.

MongoDB Logo MongoDB