LineMarker opens new form

Posted by: r.zeller on 19 February 2023, 9:18 pm EST

    • Post Options:
    • Link

    Posted 19 February 2023, 9:18 pm EST


    Apparently by creating a new LineMarker a new form will be opend. Is this behaviour expected and what is the reason for this? We are using version 4.0.20222.566.

    You can check it with the LineMarker example:

       void flexChart1_Rendered(object sender, RenderEventArgs e)
            if (lineMarker == null)
                lineMarker = new LineMarker(flexChart1);
                lineMarker.LineWidth = 2;
                lineMarker.DragThreshold = 10;
                lineMarker.Content = "Output={Output}\nInput={Input}";
                lineMarker.VerticalPosition = 0.5;
                lineMarker.HorizontalPosition = 0.5;
                cbLines.SelectedIndex = 3;
                cbInteraction.SelectedIndex = 1;
                cbAlignment.SelectedIndex = 0;               
  • Posted 20 February 2023, 10:30 pm EST

    Hi Ralf,

    We created a sample application with the control version 4.0.20222.566 and the code snippet you provided. Unfortunately, we were unable to reproduce the problem on our end. Please see

    We request you update the sample so that we can replicate the problem on our end and share it with us so that we can analyze the problem in a better way.

    Thanks & Regards,


  • Posted 20 February 2023, 11:37 pm EST

    Hi Aastha,

    I’ve downoaded your code and let it run. The output shows the counter for the open forms changes from one to two - please see the attached image.

  • Posted 20 February 2023, 11:37 pm EST - Updated 20 February 2023, 11:43 pm EST

  • Posted 22 February 2023, 11:16 pm EST

    Hi Ralf,

    Thank you for pointing out your observation regarding the behavior of creating a linemarker for FlexChart. We would like to confirm that it is a general design behavior of the component to open a new form when creating a linemarker.

    The component is internally coded to allow for the creation of a new form on the existing form to render line markers, providing a better user experience and allowing for more precise customization of the marker properties. This behavior is not an issue or bug, but rather a standard design feature of the component.

    We hope this information clarifies your question. If you have any further questions or concerns, please do not hesitate to let us know.

    Thanks& Regards,


  • Posted 23 February 2023, 8:56 pm EST

    Hi Aastha,

    Thank you for your explanation. It is now clear for me.

Need extra support?

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

Learn More

Forum Channels