Chart for WinForms

drag z value

  •  mterveen said 1 year ago:

    in the active x version of the 3d chart control there is a method called dragZvalue that computes the z value as the mouse is moved across the chart.

    how do you achieve that in the net winforms version for the 3d chart?

  •  Ashish Jindal16p said 1 year ago:

    Hello,

    If you need to find the Z values of the data points plotted on the Chart, you may use the CoordToDataCoord method of C1Chart.

    For more information on same, kindly refer to the following link :

    http://helpcentral.componentone.com/nethelp/c1chart3d/#!convertingpixelcoordinatestodatacoordinates.htm

    Let me know if I misunderstood the query.

    Regards
    Ashish

  •  mterveen said 1 year ago:

    i want to be able to click on a point (z value) on my 3d surface chart and "drag" it up or down to increase/decrease the value. for example, if the z value for the point at row 2 / col 3 is 15, i want to be able to click on that point and drag it so the z value goes to 20 for example.

    the old active x chart used the dragZvalue to accomplish this. So how do you do it with the net version?

  •  mterveen said 1 year ago:

    Ashish – you still out there? any response?

  •  Ashish Jindal16p said 1 year ago:

    Hello,

    You could use GetValue & SetValue methods of Chart3DDataSet for getting & setting the Zvalues at particular row & column indices on the chart.
    Please refer to the attached sample for the implementation of the same.

    Regards,
    Ashish

    Attachments:
    You must be logged in to view attched files.
    Answer
  •  mterveen said 9 months, 3 weeks ago:

    do you understand what i am saying!!!!???

    look at the active x dragZvalue function so you understand what i am talking about before you respond with information already in the help file.

    the coordtodatacoord only returns an EXISTING point. it does not interpolate a z value.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.