FlexChart position conversion

Posted by: sergio.gioia on 21 June 2019, 2:31 am EST

  • Posted 21 June 2019, 2:31 am EST

    I just added the following statement
    var n = flexChart.AxisX.ConvertBack(e.Position.X);
    to your example contained in Linemarkersample.xaml.cs (xamarin forms Flexchart 101 project for UWP)
    because I need to know the X position in data coordinates of the line marker
    but unfortunately it returns always 0
    of course the rest of your example works well
    the version of flexchart I am using is 3.2.20183.344
  • Replied 23 June 2019, 10:52 pm EST

    Hi Sergio,

    This is a known issue with the FlexChart control, this was already escalated to the developers team with internal tracking Id : 358297. Will let you once we hear from them.

    Thanks
  • Replied 29 October 2019, 5:57 am EST

    Is the problem still pending?
  • Replied 29 October 2019, 8:21 pm EST

    Hi Sergio,

    This function is just working on native Android / iOS after Axis is layout completely. But in XF, it is not supported at this time.

    Can you please give me the detailed purpose here ? What do you want to achieve with converted pixel coordinate? May be we can try to find a workaround for you (if possible).

    Thanks,
    Pragati
  • Replied 4 November 2019, 8:52 pm EST

    I want to be able to compute the distancce between two points on a graph both horizontally and vertically and draw lines as in the attached example
  • Replied 4 November 2019, 10:34 pm EST

    Hi Sergio,

    The example is not attached in the thread. Can you please re-attach the example for more clarity about the requirement.

    Thanks
  • Replied 5 November 2019, 8:15 pm EST

    I did not zip it. Now it should be okmeasure.zip
  • Replied 6 November 2019, 12:10 am EST

    Hi Sergio,

    Thanks for sharing the information with us, we are looking into it and will get back to you.

    Thanks
  • Replied 28 November 2019, 6:52 pm EST

    no news from your development team?
  • Replied 28 November 2019, 10:30 pm EST

    Hi Sergio,

    We are contacting the development team and asking for the status of the case. We will get back to you as soon as we get any response.

    Thanks
  • Replied 8 December 2019, 8:35 pm EST

    Hi Sergio,

    The issue is resolved by the developers internally. The fix will be available in coming hotfix#1 of Xamarin 2019v3.

    Please let me know if you need any other help.

    Thanks
  • Replied 10 December 2019, 3:02 am EST

    Thank you very much
    When do you think it will be availabble?
  • Replied 10 December 2019, 10:40 pm EST

    Hi Sergio,

    I can not comment about the actual date when the hotfix will be available, the build is under testing and will be available soon.


    Thanks
Need extra support?

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

Learn More

Forum Channels