diff --git a/docs/source/conf.py b/docs/source/conf.py index dab74d0..991f0ad 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -1,7 +1,7 @@ project = 'lightweight-charts-python' copyright = '2023, louisnw' author = 'louisnw' -release = '1.0.7' +release = '1.0.8' extensions = ["myst_parser"] diff --git a/docs/source/docs.md b/docs/source/docs.md index 9b44c43..6d79848 100644 --- a/docs/source/docs.md +++ b/docs/source/docs.md @@ -88,14 +88,14 @@ ___ Removes a horizontal line at the given price. ___ -### `config` -`mode: 'normal'/'logarithmic'/'percentage'/'index100'` | `title: str` | `right_padding: int` +### `price_scale` +`mode: 'normal'/'logarithmic'/'percentage'/'index100'` | `align_labels: bool` | `border_visible: bool` | `border_color: str` | `text_color: str` | `entire_text_only: bool` | `ticks_visible: bool` -Config options for the chart. +Price scale options for the chart. ___ ### `time_scale` -`visible: bool` | `time_visible: bool` | `seconds_visible: bool` +`right_offset: int` | `min_bar_spacing: float` | `visible: bool` | `time_visible: bool` | `seconds_visible: bool` | `border_visible: bool` | `border_color: str` Time scale options for the chart. ___ @@ -151,6 +151,12 @@ ___ Overlays a watermark on top of the chart. ___ +### `title` +`title: str` + +Sets the title label for the chart. +___ + ### `legend` `visible: bool` | `ohlc: bool` | `percent: bool` | `color: str` | `font_size: int` | `font_family: str` @@ -210,10 +216,10 @@ ___ ## `Line` -The `Line` object represents a `LineSeries` object in Lightweight Charts and can be used to create indicators. +The `Line` object represents a `LineSeries` object in Lightweight Charts and can be used to create indicators. As well as the methods described below, the `Line` object also has access to the [`title`](#title), [`marker`](#marker) and [`horizontal_line`](#horizontal-line) methods. ```{important} -The `line` object should only be accessed from the [create_line](#create-line) method of `Chart`. +The `line` object should only be accessed from the [`create_line`](#create-line) method of `Chart`. ``` ___ diff --git a/setup.py b/setup.py index 5411e3d..b084bfc 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ with open('README.md', 'r', encoding='utf-8') as f: setup( name='lightweight_charts', - version='1.0.7', + version='1.0.8', packages=find_packages(), python_requires='>=3.9', install_requires=[