Dashed-lines not always display as 'dashed'
Posted: Nov 21 2006
Just discovered something relating to why/when the dashed-line style is not (consistently) displayed as dashed. Same story for dotted lines.
To recreate the 'bug': Create a chart with two different time-periods for the price series, say 10min and 1HR, and then create a sub-graph indicator based on the 10min (data1), and also create another (or same) indicator based on the 1Hr (data2) prices. Choose the line style as dashed or dotted for both of the two sub-graphs. You will notice that the 1Hr sub-graph will display the dashed line ok, but the 10min sub-graph will not :>)).
What does this mean? It seems to show that the implementation of the dashed or dotted lines is NOT based on screen-pixels dimensions, as it should be. Instead, it is based on the time-scale dimensions.... A small oversight? I would presume that the line-styles should be 'applied' AFTER being converted to screen dimensions, not before, right?
The line-thickness issue/problems may also be related to the same or similar issue?
To recreate the 'bug': Create a chart with two different time-periods for the price series, say 10min and 1HR, and then create a sub-graph indicator based on the 10min (data1), and also create another (or same) indicator based on the 1Hr (data2) prices. Choose the line style as dashed or dotted for both of the two sub-graphs. You will notice that the 1Hr sub-graph will display the dashed line ok, but the 10min sub-graph will not :>)).
What does this mean? It seems to show that the implementation of the dashed or dotted lines is NOT based on screen-pixels dimensions, as it should be. Instead, it is based on the time-scale dimensions.... A small oversight? I would presume that the line-styles should be 'applied' AFTER being converted to screen dimensions, not before, right?
The line-thickness issue/problems may also be related to the same or similar issue?