Skip to content

Commit

Permalink
pq_plot candle
Browse files Browse the repository at this point in the history
  • Loading branch information
ShichenXie committed Dec 18, 2023
1 parent 5aacc01 commit 7f73d20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/pq_plot2.R
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ pp_candle = function(

dt = copy(dt)[, date := as.factor(date)]
e = pp_base(dt, x, yb=yb) |>
e_candle_('open', 'close', 'low', 'high',
e_candle_('open', 'close', 'low', 'high', name = title,
itemStyle = list(color = color_up, borderColor = color_up,
color0 = color_down, borderColor0 = color_down)) |>
p_orders(orders, color_up, color_down, ...) |>
Expand Down

0 comments on commit 7f73d20

Please sign in to comment.