Support Board
Date/Time: Fri, 11 Sep 2026 17:32:45 +0000
Dashed study lines appear solid when chart is compressed horizontally
View Count: 19
| [2026-09-11 14:30:08] |
| MarkusK - Posts: 120 |
|
I am seeing an issue with dashed study lines when a chart is compressed horizontally. For example, I have several VWAP-related lines configured with a dashed line style. When the chart has a normal bar spacing, the dashed lines look as expected. However, when I compress the chart horizontally so that more bars are visible, the gaps between the dashes also become smaller. At some point, the dashed lines visually turn into completely solid lines. I attached two screenshots showing the difference: Screenshot 1: normal spacing - dashed lines are clearly visible. Screenshot 2: compressed chart - the same lines appear solid. This is not specific to the VWAP study. I see the same behavior with other studies as well. I am using OpenGL, and disabling OpenGL is unfortunately not a practical option for me because I use several transparent filled areas and the chart performance is significantly better with OpenGL enabled. I also tested different line widths. Width 1 does not solve the issue and actually makes the effect more noticeable in my case. Is there a recommended way to keep the dash length and the spacing between the dashes visually constant, independent of the horizontal chart compression / bar spacing? Ideally, I would like the dash pattern to be based on screen pixels rather than scaling with the bar spacing. If this is not possible with the standard study line styles, what would be the recommended solution? Would this require custom ACSIL drawing, or is there another supported approach? Thanks. |
Private File Private File |
To post a message in this thread, you need to log in with your Sierra Chart account:
