WPF (C1Chart): Move all plot elements of XYDataSeries on moving Y Axis Label

Posted by: silverlight_dev on 19 September 2017, 11:11 am EST

    • Post Options:
    • Link

    Posted 19 September 2017, 11:11 am EST

    Hi,

    I have already shown XYDataSeries using C1Chart. Is it possible to automatically move all plotted elements of this series, if corresponding Y Axis element could be moved by user along Y axis only on MouseMove event?

  • Posted 19 September 2017, 11:11 am EST

    Hello,

    Sorry for the delayed response. I could not understand your exact requirements. Could you please elaborate more on your issue. If possible, could you please share your use-case scenario so that I can help you accordingly.

    Regards,

    Prashant

  • Posted 19 September 2017, 11:11 am EST

    Hello Prashant,

    Use case:

    If user select any plotted element & try to move it then selected element should only be moved along Y Axis (not along x axis) on MoveMove event. Besides all element of the same data series should automatically moved accordingly.

    Ex:

    If user select Audio announcement STAT(16) in C1Chart & moves mouse, then he is allowed to move only along y axis (action type), then BACH(16), AUSS(16) and SMAT(16) should automatically be moved similar to selected STAT(16) element.

    I have attached sample project. Please reply me as soon as possible.

    Thanks

    2016/08/C1ChartMVVMSample2.zip

  • Posted 19 September 2017, 11:11 am EST

    Hello,

    Please refer to the below blog post link implementing the similar scenario and let me know if it works for you.

    http://our.componentone.com/2010/08/11/adding-more-interaction-to-c1chart-drag-points/

    Regards,

    Prashant

  • Posted 19 September 2017, 11:11 am EST

    Hello Prashant,

    I managed to move all data points of data series of selected plotted element only along Y axis. But I also need to move corresponding Y axis label object accordingly. How can I do that?

    Somehow it could be possible if I could get Y axis label object based on any property of selected plotted element, so that I can also change label’s position accordingly.

    I have attached updated project. Please reply me as soon as possible.

    Thanks

    2016/09/C1ChartMVVMSample.zip

  • Posted 19 September 2017, 11:11 am EST

    Hello,

    I am sorry, it is not possible to move the Y-Axis label object. Since, the Y-Axis label are generated implicitly and are responsible to render the data point by manipulating the DataPoint value. Also, Y-Axis labels are also responsible to scaling the C1Chart so we can not move the Y-Axis labels explicitly.

    I am sorry, I could not find any workaround for this. Sorry for the inconvenience caused.

    Regards,

    Prashant

  • Posted 22 March 2018, 12:20 am EST

    Hi,

    Is the above mentioned feature implemented in any new versions of componentOne . We have this request from our client.

    Regards

    jaison

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels