Skip to content

Commit ad1d8f0

Browse files
committed
update finance mocks
- notice I added a legend to finance_style, so we test ohlc legend drawing - also notice that I changed ohlc line drawing to not overdraw. Directions were chosen to optimize dashes: - the ticks are drawn starting from the outside toward the middle - the main line is drawn top-to-bottom, so in principle you might not actually see the low value, but that was the case before anyway, there's really no way around this with dashes...
1 parent 121d171 commit ad1d8f0

File tree

5 files changed

+1
-1
lines changed

5 files changed

+1
-1
lines changed
Loading
Loading
6.69 KB
Loading

test/image/baselines/ohlc_first.png

-3.63 KB
Loading

test/image/mocks/finance_style.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@
268268
"calendar": "islamic",
269269
"title": "Islamic dates"
270270
},
271-
"showlegend": false,
271+
"showlegend": true,
272272
"height": 450,
273273
"width": 1100,
274274
"autosize": true

0 commit comments

Comments
 (0)