From 7f73d2058589b2b348e36eacf49d3d8750da60e1 Mon Sep 17 00:00:00 2001 From: SHICHEN XIE Date: Mon, 18 Dec 2023 21:13:53 +0800 Subject: [PATCH] pq_plot candle --- R/pq_plot2.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/pq_plot2.R b/R/pq_plot2.R index b7a63fc..1da464a 100644 --- a/R/pq_plot2.R +++ b/R/pq_plot2.R @@ -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, ...) |>