Current filter:
                                You should refresh the page.
                                  • Ran into an issue with chart control. With DirectX disabled, the problem does not exist.

                                    Have a chart control, we enable cross hairs as follows:

                                                    chartControl1.CrosshairEnabled = DevExpress.Utils.DefaultBoolean.True;
                                                    chartControl1.CrosshairOptions.ShowArgumentLine = true;
                                                    chartControl1.CrosshairOptions.ShowValueLine = true;
                                                    chartControl1.CrosshairOptions.ArgumentLineColor = Color.Green;
                                                    chartControl1.CrosshairOptions.ValueLineColor = Color.Blue;
                                                    chartControl1.CrosshairOptions.ArgumentLineStyle.DashStyle = DashStyle.Dot;
                                                    //chartControl1.CrosshairOptions.CrosshairLabelMode = CrosshairLabelMode.ShowCommonForAllSeries;
                                                    chartControl1.CrosshairOptions.CrosshairLabelMode = CrosshairLabelMode.ShowForNearestSeries;
                                                    chartControl1.CrosshairOptions.SnapMode = CrosshairSnapMode.NearestArgument;
                                                    chartControl1.CrosshairOptions.HighlightPoints = true;

                                    The chart is in a control that has another side panel. If we collapse that panel, or the chart changes size in any way, the chart control FLICKERS and RESIZES like crazy when the mouse is moved over the chart.

                                    What I have done temporarily is handle the ClientSizeChanged event and DISABLE the crosshairs. Then handle the Paint event and ENABLE the cross hairs and it seems to work.

                                    Please fix ASAP as we need to push a release version out and I don't like this hack as it may not work in all situations, but I did it to prove the solution to the flicker.

                                    Thanks

                                Show all comments
                                • Alex (DevExpress Support) 08.23.2019

                                  Hi Neil,
                                   
                                  I have reproduced the situation when the chart's diagram size is slightly changed if the Crosshair Cursor feature is enabled. Attached is a sample project with a screencast. Please review it and confirm that you are referring to the same problem. We will check for a suitable solution.

                                • Neil Baliga 08.23.2019

                                  Here's one behavior when the window is maximized. It has lots of flicker and repainting.

                                • Neil Baliga 08.23.2019

                                  And another behavior when the layout is changed and the chart size is changed.
                                  This seems to remember the old size and it jumps back and forth.

                                • Alex (DevExpress Support) 08.23.2019

                                  Thank you for the update. We will continue working on this issue and will notify you once a permanent solution is found.

                                • Patrick Miller 09.12.2019

                                  Just ran into this issue today - I was having the same effect as your Video1. I was able to fix this with out updating to the hotfix by adding this code.

                                  [VB.NET]
                                  Private Sub ChartControl1_SizeChanged(sender As Object, e As EventArgs) Handles ChartControl1.SizeChanged ChartControl1.Refresh() End Sub

                                  Pat

                                • Alex (DevExpress Support) 09.12.2019

                                  Hi Patrick,

                                  Thank you for the update. The fix is also included in the newly released v19.1.6 maintenance update. You can download it from our web site to ensure that the original problem is fixed.

                                • Neil Baliga 09.22.2019

                                  Hotfix is greatly improved but still has some minor artifacts.
                                  See attached video.

                                  When crosshair is enabled AND image is exported, the chart size flickers when the mouse is moved outside the chart axes.
                                  When crosshair is disabled, the issue does not exist.

                                  When I use the workaround to DISABLE the crosshair in ClientSizeChanged event, the issue is not there. So far, 19.1.6 hotfix is workable because this workaround works right now, and it also fixes the other critical issues with point charts > 1000 points and the save to image.

                                • Alex (DevExpress Support) 09.23.2019

                                  Hi Neil,

                                  Thank you for the update. I've created a separate bug report on your behalf (T817044: The ChartControl diagram is resized after exporting the chart at runtime if the DirectX rendering mode is enabled). We will continue working on a suitable solution and will notify you once we have any results.

                                1 Solution

                                Creation Date Importance Sort by