This question is locked. New answers and comments are not allowed.
Hi,
I'm trying to change the color of the OhlcSeries lines, which works fine most of the time. However, I've found that if the Open, High, Low and Close values are all the same (for example trade was suspended and therefore the values didn't move), instead of showing just a line, nothing is displayed. If I don't override the UpStroke and DownStroke Color then the line does display. Example images showing this.
What could I be doing wrong here?
My style:
I'm trying to change the color of the OhlcSeries lines, which works fine most of the time. However, I've found that if the Open, High, Low and Close values are all the same (for example trade was suspended and therefore the values didn't move), instead of showing just a line, nothing is displayed. If I don't override the UpStroke and DownStroke Color then the line does display. Example images showing this.
What could I be doing wrong here?
My style:
<
Style
TargetType
=
"chartView:OhlcSeries"
>
<
Setter
Property
=
"DefaultVisualStyle"
>
<
Setter.Value
>
<
Style
TargetType
=
"chartView:OhlcStick"
>
<
Setter
Property
=
"StrokeThickness"
Value
=
"2"
/>
<
Setter
Property
=
"UpStroke"
Value
=
"White"
/>
<
Setter
Property
=
"DownStroke"
Value
=
"White"
/>
</
Style
>
</
Setter.Value
>
</
Setter
>
</
Style
>