Posted 19 February 2023, 9:18 pm EST
Hi,
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) { Console.WriteLine(Application.OpenForms.Count); lineMarker = new LineMarker(flexChart1); Console.WriteLine(Application.OpenForms.Count); 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; } }