Skip to content

Commit 10e6a40

Browse files
authored
Merge pull request #129 from highcharts-for-python/develop
PR for v.1.5.0
2 parents 8dfe76a + 6726e8d commit 10e6a40

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+1064
-45
lines changed

CHANGES.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,23 @@
11

2+
Release 1.5.0
3+
=========================================
4+
5+
* **ENHANCEMENT:** Align the API to **Highcharts (JS) v.11.2** (#127). In particular, this includes:
6+
7+
* Added ``AxisEvents.point_break_out`` property.
8+
* Added ``.node_alignment`` property to ``SankeyOptions`` and ``SankeySeries``.
9+
* Added ``.link_color_mode`` property to ``SankeyOptions`` and ``SankeySeries``.
10+
* Added ``.inactive_other_points`` property to multiple series types.
11+
* Added ``.grouping`` property to Lollipop series type.
12+
* Added ``.low_marker`` property Area Range and Dumbell series types.
13+
* Added ``.show_export_in_progress`` and ``.export_in_progress`` support.
14+
* Added ``.drag`` annotation event support.
15+
16+
* **BUGFIX:** Fixed missing ``.levels`` support in ``TreegraphOptions`` and ``TreegraphSeries``.
17+
18+
19+
--------------------
20+
221
Release 1.4.3
322
=========================================
423

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ visualization library, with full integration into the robust Python ecosystem, i
1515
dataframe.
1616
* ...and even more use-case specific integrations across the broader toolkit.
1717

18-
The library supports Highcharts (JS) v.10.2 and higher, including Highcharts (JS) v.11.1.0.
18+
The library supports Highcharts (JS) v.10.2 and higher, including Highcharts (JS) v.11.2.0.
1919

2020
**COMPLETE DOCUMENTATION:** https://core-docs.highchartspython.com/en/latest/index.html
2121

docs/api.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ Core Components
114114
- :class:`ExportingLanguageOptions <highcharts_core.global_options.language.accessibility.exporting.ExportingLanguageOptions>`
115115
* - :mod:`.global_options.language.accessibility.legend <highcharts_core.global_options.language.accessibility.legend>`
116116
- :class:`LegendLanguageOptions <highcharts_core.global_options.language.accessibility.legend.LegendLanguageOptions>`
117+
* - :mod:`global_options.language.accessibility.navigator <highcharts_core.global_options.language.accessibility.navigator>`
118+
- :class:`NavigatorLanguageOptions <highcharts_core.global_options.language.accessibility.navigator.NavigatorLanguageOptions>`
117119
* - :mod:`.global_options.language.accessibility.range_selector <highcharts_core.global_options.language.accessibility.range_selector>`
118120
- :class:`RangeSelectorLanguageOptions <highcharts_core.global_options.language.accessibility.range_selector.RangeSelectorLanguageOptions>`
119121
* - :mod:`.global_options.language.accessibility.screen_reader_section <highcharts_core.global_options.language.accessibility.screen_reader_section>`

docs/api/global_options/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ Sub-components
4040
- :class:`ExportingLanguageOptions <highcharts_core.global_options.language.accessibility.exporting.ExportingLanguageOptions>`
4141
* - :mod:`global_options.language.accessibility.legend <highcharts_core.global_options.language.accessibility.legend>`
4242
- :class:`LegendLanguageOptions <highcharts_core.global_options.language.accessibility.legend.LegendLanguageOptions>`
43+
* - :mod:`global_options.language.accessibility.navigator <highcharts_core.global_options.language.accessibility.navigator>`
44+
- :class:`NavigatorLanguageOptions <highcharts_core.global_options.language.accessibility.navigator.NavigatorLanguageOptions>`
4345
* - :mod:`global_options.language.accessibility.range_selector <highcharts_core.global_options.language.accessibility.range_selector>`
4446
- :class:`RangeSelectorLanguageOptions <highcharts_core.global_options.language.accessibility.range_selector.RangeSelectorLanguageOptions>`
4547
* - :mod:`global_options.language.accessibility.screen_reader_section <highcharts_core.global_options.language.accessibility.screen_reader_section>`

docs/api/global_options/language/accessibility/index.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
chart_types
1616
exporting
1717
legend
18+
navigator
1819
range_selector
1920
screen_reader_section
2021
series
@@ -66,6 +67,8 @@ Sub-components
6667
- :class:`ExportingLanguageOptions <highcharts_core.global_options.language.accessibility.exporting.ExportingLanguageOptions>`
6768
* - :mod:`global_options.language.accessibility.legend <highcharts_core.global_options.language.accessibility.legend>`
6869
- :class:`LegendLanguageOptions <highcharts_core.global_options.language.accessibility.legend.LegendLanguageOptions>`
70+
* - :mod:`global_options.language.accessibility.navigator <highcharts_core.global_options.language.accessibility.navigator>`
71+
- :class:`NavigatorLanguageOptions <highcharts_core.global_options.language.accessibility.navigator.NavigatorLanguageOptions>`
6972
* - :mod:`global_options.language.accessibility.range_selector <highcharts_core.global_options.language.accessibility.range_selector>`
7073
- :class:`RangeSelectorLanguageOptions <highcharts_core.global_options.language.accessibility.range_selector.RangeSelectorLanguageOptions>`
7174
* - :mod:`global_options.language.accessibility.screen_reader_section <highcharts_core.global_options.language.accessibility.screen_reader_section>`
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#########################################################################################################
2+
:mod:`.navigator <highcharts_core.global_options.language.accessibility.navigator>`
3+
#########################################################################################################
4+
5+
.. contents:: Module Contents
6+
:local:
7+
:depth: 3
8+
:backlinks: entry
9+
10+
--------------
11+
12+
.. module:: highcharts_core.global_options.language.accessibility.navigator
13+
14+
*************************************************************************************************************************************************************
15+
class: :class:`NavigatorLanguageOptions <highcharts_core.global_options.language.accessibility.navigator.NavigatorLanguageOptions>`
16+
*************************************************************************************************************************************************************
17+
18+
.. autoclass:: NavigatorLanguageOptions
19+
:members:
20+
:inherited-members:
21+
22+
.. collapse:: Class Inheritance
23+
24+
.. inheritance-diagram:: NavigatorLanguageOptions
25+
:top-classes: highcharts_core.metaclasses.HighchartsMeta
26+
:parts: -1
27+
28+
|

docs/api/global_options/language/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ Sub-components
6060
- :class:`ExportingLanguageOptions <highcharts_core.global_options.language.accessibility.exporting.ExportingLanguageOptions>`
6161
* - :mod:`global_options.language.accessibility.legend <highcharts_core.global_options.language.accessibility.legend>`
6262
- :class:`LegendLanguageOptions <highcharts_core.global_options.language.accessibility.legend.LegendLanguageOptions>`
63+
* - :mod:`global_options.language.accessibility.navigator <highcharts_core.global_options.language.accessibility.navigator>`
64+
- :class:`NavigatorLanguageOptions <highcharts_core.global_options.language.accessibility.navigator.NavigatorLanguageOptions>`
6365
* - :mod:`global_options.language.accessibility.range_selector <highcharts_core.global_options.language.accessibility.range_selector>`
6466
- :class:`RangeSelectorLanguageOptions <highcharts_core.global_options.language.accessibility.range_selector.RangeSelectorLanguageOptions>`
6567
* - :mod:`global_options.language.accessibility.screen_reader_section <highcharts_core.global_options.language.accessibility.screen_reader_section>`

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Highcharts Core for Python
3737

3838
.. sidebar:: Version Compatibility
3939

40-
**Latest Highcharts (JS) version supported:** v.11.1.0
40+
**Latest Highcharts (JS) version supported:** v.11.2.0
4141

4242
**Highcharts Core for Python** is designed to be compatible with:
4343

highcharts_core/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.4.3'
1+
__version__ = '1.5.0'

highcharts_core/global_options/language/__init__.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def __init__(self, **kwargs):
3636
self._drillup_text = None
3737
self._exit_fullscreen = None
3838
self._export_data = None
39+
self._export_in_progress = None
3940
self._hide_data = None
4041
self._invalid_date = None
4142
self._loading = None
@@ -69,6 +70,7 @@ def __init__(self, **kwargs):
6970
self.drillup_text = kwargs.get('drillup_text', None)
7071
self.exit_fullscreen = kwargs.get('exit_fullscreen', None)
7172
self.export_data = kwargs.get('export_data', None)
73+
self.export_in_progress = kwargs.get('export_in_progress', None)
7274
self.hide_data = kwargs.get('hide_data', None)
7375
self.invalid_date = kwargs.get('invalid_date', None)
7476
self.loading = kwargs.get('loading', None)
@@ -294,6 +296,21 @@ def export_data(self) -> Optional[ExportDataLanguageOptions]:
294296
def export_data(self, value):
295297
self._export_data = value
296298

299+
@property
300+
def export_in_progress(self) -> Optional[str]:
301+
"""Text to show when export is in progress. Defaults to ``'Exporting...'``.
302+
303+
:rtype: :class:`str <python:str>` or :obj:`None <python:None>`
304+
"""
305+
return self._export_in_progress
306+
307+
@export_in_progress.setter
308+
def export_in_progress(self, value):
309+
if value is None:
310+
self._export_in_progress = None
311+
else:
312+
self._export_in_progress = validators.string(value, allow_empty = True)
313+
297314
@property
298315
def hide_data(self) -> Optional[str]:
299316
"""Text used for the hide data table menu item. Defaults to:
@@ -701,6 +718,7 @@ def _get_kwargs_from_dict(cls, as_dict):
701718
'drillup_text': as_dict.get('drillUpText', None),
702719
'exit_fullscreen': as_dict.get('exitFullscreen', None),
703720
'export_data': as_dict.get('exportData', None),
721+
'export_in_progress': as_dict.get('exportInProgress', None),
704722
'hide_data': as_dict.get('hideData', None),
705723
'invalid_date': as_dict.get('invalidDate', None),
706724
'loading': as_dict.get('loading', None),
@@ -739,6 +757,7 @@ def _to_untrimmed_dict(self, in_cls = None) -> dict:
739757
'drillUpText': self.drillup_text,
740758
'exitFullscreen': self.exit_fullscreen,
741759
'exportData': self.export_data,
760+
'exportInProgress': self.export_in_progress,
742761
'hideData': self.hide_data,
743762
'invalidDate': self.invalid_date,
744763
'loading': self.loading,

0 commit comments

Comments
 (0)