From 036af899886047787e99befa10ced5b766988eb7 Mon Sep 17 00:00:00 2001 From: Janrey Licas Date: Mon, 1 Jan 2024 17:44:09 +0800 Subject: [PATCH] docs(abstract-chart): reflect changes from `Abstract` API --- docs/source/reference/abstract_chart.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/source/reference/abstract_chart.md b/docs/source/reference/abstract_chart.md index 13067d6..da922e1 100644 --- a/docs/source/reference/abstract_chart.md +++ b/docs/source/reference/abstract_chart.md @@ -12,6 +12,10 @@ ___ Sets the initial data for the chart. + self, auto_scale: bool = True, mode: PRICE_SCALE_MODE = 'normal', invert_scale: bool = False, + align_labels: bool = True, scale_margin_top: float = 0.2, scale_margin_bottom: float = 0.2, + border_visible: bool = False, border_color: Optional[str] = None, text_color: Optional[str] = None, + entire_text_only: bool = False, visible: bool = True, ticks_visible: bool = False, minimum_width: int = 0 Columns should be named: : `time | open | high | low | close | volume` @@ -206,7 +210,7 @@ ___ -```{py:method} price_scale(mode: PRICE_SCALE_MODE, align_labels: bool, border_visible: bool, border_color: COLOR, text_color: COLOR, entire_text_only: bool, ticks_visible: bool, scale_margin_top: float, scale_margin_bottom: float) +```{py:method} price_scale(auto_scale: bool = True, mode: PRICE_SCALE_MODE = 'normal', invert_scale: bool = False, align_labels: bool = True, scale_margin_top: float = 0.2, scale_margin_bottom: float = 0.2, border_visible: bool = False, border_color: Optional[str] = None, text_color: Optional[str] = None, entire_text_only: bool = False, visible: bool = True, ticks_visible: bool = False, minimum_width: int = 0) Price scale options for the chart. ```