Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
bf15bf9
few changes
jmishra01 May 5, 2023
cf0c56e
avoid run if clause everytime in a loop
jmishra01 May 7, 2023
f5ce045
Apply suggestions from code review
jmishra01 May 11, 2023
4ccb17c
Update highcharts_core/chart.py
jmishra01 May 11, 2023
63fdcc3
Merge pull request #47 from jmishra01/few-changes
hcpchris May 12, 2023
f8ef3d5
Added methods to compile include scripts based on class dot path nota…
hcpchris Jun 4, 2023
0fb63f7
Fixed bugs in dynamic module inclusion.
hcpchris Jun 4, 2023
237add3
Added dot path notations.
hcpchris Jun 4, 2023
e723e94
Bumped version numbers and added changelog entry.
hcpchris Jun 4, 2023
5f6015b
Added failsafe fallback for JSON library API.
hcpchris Jun 6, 2023
52034d2
Added generic plotOptions _dot_path.
hcpchris Jun 6, 2023
e327a46
Removed whitespace.
hcpchris Jun 6, 2023
3811094
Modified default timeout to 5 seconds and adjusted error handling.
hcpchris Jun 6, 2023
32916ef
Corrected for errors in tree.json.
hcpchris Jun 6, 2023
aa5f68f
Refactored and debugged chart.Chart.get_required_modules().
hcpchris Jun 6, 2023
35c13e5
Added dict support to SeriesLabel and DataLabels style properties.
hcpchris Jun 6, 2023
5314b70
Fixed incorrect reference to missing highcharts-gantt module.
hcpchris Jun 6, 2023
9012bfd
Added mouse wheel support to options.chart.zooming.ZoomingOptions.
hcpchris Jun 7, 2023
ebdbc8e
Added AccessibilityPoint.description_format property.
hcpchris Jun 7, 2023
eeb9a73
Added dict support to options.caption.Caption.style.
hcpchris Jun 7, 2023
b0371e5
Added annotations-advanced to modules.
hcpchris Jun 7, 2023
8c90a44
Added support for .legend_symbol to plot options and series.
hcpchris Jun 7, 2023
0d4389a
Added border_radius support to FunnelOptions and FunnelSeries.
hcpchris Jun 7, 2023
64fc9f1
Added interpolation support to HeatmapOptions and descendents.
hcpchris Jun 7, 2023
7d1e11a
Added pointDescriptionFormat to SeriesOptions and descendents.
hcpchris Jun 7, 2023
6e6c0fa
Added fillSpace support to TreegraphOptions and descendents.
hcpchris Jun 7, 2023
72d2c30
Added dict suppor to style property on titles.
hcpchris Jun 7, 2023
8d57030
Added crossing support to axes options.
hcpchris Jun 7, 2023
e104b5d
Added format support to Tooltips.
hcpchris Jun 7, 2023
7ea2a76
Fixed version-change numbering.
hcpchris Jun 7, 2023
ef4f504
Fixed docs.
hcpchris Jun 7, 2023
3c8cbf9
Fixed whitespace error.
hcpchris Jun 7, 2023
e62c122
Updated changelog.
hcpchris Jun 7, 2023
199f42b
Bumped version for dependency on requests.
hcpchris Jun 7, 2023
949dd6b
Updated docs with latest Highcharts version.
hcpchris Jun 7, 2023
5bd8bc2
Merge branch 'develop' into 52-align-to-js-v11-1
hcpchris Jun 7, 2023
549736b
Fixed some missing documentation.
hcpchris Jun 7, 2023
60f16c9
Updated documentation links.
hcpchris Jun 7, 2023
eff843c
Merge pull request #55 from highcharts-for-python/52-align-to-js-v11-1
hcpchris Jun 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
Release 1.2.0
=========================================

* **ENHANCEMENT:** Align the API to **Highcharts (JS) v.11.1** (#52). In particular, this includes:

* Added ``AccessibilityPoint.description_format`` property.
* Added support for ``.legend_symbol`` to plot options and series options.
* Added ``.border_radius`` support to ``FunnelOptions`` and ``FunnelSeries``.
* Added ``.interpolation`` support to ``HeatmapOptions`` and descendents.
* Added ``.point_description_format`` support to ``SeriesOptions`` and descendents.
* Added ``.fill_space`` support to ``TreegraphOptions`` and descendents.
* Added ``.crossing`` support to axes.
* Added ``.format`` support to ``Tooltip``.

* **ENHANCEMENT:** Added support for the inclusion of scripts based on features used in the chart (#12).
* **ENHANCEMENT:** Added ``dict`` support to ``.style`` property on labels and titles.
* **DOCS:** Various documentation updates and fixes.
* **DEPENDENCY:** Bumped ``requests`` version for security patch.

------------------

Release 1.1.1
=========================================

Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ visualization library, with full integration into the robust Python ecosystem, i
dataframe.
* ...and even more use-case specific integrations across the broader toolkit.

The library supports Highcharts (JS) v.10.2 and higher, including Highcharts (JS) v.11.0.0.
The library supports Highcharts (JS) v.10.2 and higher, including Highcharts (JS) v.11.1.0.

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

Expand Down Expand Up @@ -71,7 +71,7 @@ Before you install, please be aware of the following "hard" dependencies:
* Highcharts Core (JS) v.10.2 or higher (not technically a Python dependency, but
it won't work with earlier versions of Highcharts)
* `esprima-python <https://github.com/Kronuz/esprima-python>`__ v.4.0 or higher
* `requests <https://requests.readthedocs.io/en/latest/>`__ v.2.28 or higher
* `requests <https://requests.readthedocs.io/en/latest/>`__ v.2.31 or higher
* `validator-collection <https://validator-collection.readthedocs.io/en/latest/>`__
v.1.5 or higher

Expand Down
3 changes: 2 additions & 1 deletion docs/_contributors.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
* Chris Modzelewski (`@hcpchris <https://github.com/hcpchris>`__ / `@insightindustry <https://github.com/insightindustry>`__)
* Erin Modzelewski (`@EBModz <https://github.com/EBModz>`__)
* Erin Modzelewski (`@EBModz <https://github.com/EBModz>`__)
* Jitendra Mishra (`@jmishra01 <https://github.com/jmishra01>`__)
2 changes: 1 addition & 1 deletion docs/_dependencies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
not work properly if your rendering layer does not leverage Highcharts Core (JS).

* `esprima-python <https://github.com/Kronuz/esprima-python>`_ v.4.0 or higher
* `requests <https://requests.readthedocs.io/en/latest/>`_ v.2.28 or higher
* `requests <https://requests.readthedocs.io/en/latest/>`_ v.2.31 or higher
* `validator-collection <https://validator-collection.readthedocs.io/en/latest/>`_
v.1.5 or higher

Expand Down
Binary file added docs/_static/tiledwebmap-example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ Core Components
- :class:`ScrollablePlotArea <highcharts_core.options.chart.scrollable_plot_area.ScrollablePlotArea>`
* - :mod:`.options.chart.zooming <highcharts_core.options.chart.zooming>`
- :class:`ZoomingOptions <highcharts_core.options.chart.zooming.ZoomingOptions>`
:class:`MouseWheelOptions <highcharts_core.options.chart.zooming.MouseWheelOptions>`
* - :mod:`.options.credits <highcharts_core.options.credits>`
- :class:`Credits <highcharts_core.options.credits.Credits>`
:class:`CreditStyleOptions <highcharts_core.options.credits.CreditStyleOptions>`
Expand Down
1 change: 1 addition & 0 deletions docs/api/options/chart/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,4 @@ Sub-components
- :class:`ScrollablePlotArea <highcharts_core.options.chart.scrollable_plot_area.ScrollablePlotArea>`
* - :mod:`.options.chart.zooming <highcharts_core.options.chart.zooming>`
- :class:`ZoomingOptions <highcharts_core.options.chart.zooming.ZoomingOptions>`
:class:`MouseWheelOptions <highcharts_core.options.chart.zooming.MouseWheelOptions>`
18 changes: 18 additions & 0 deletions docs/api/options/chart/zooming.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,21 @@ class: :class:`ZoomingOptions <highcharts_core.options.chart.zooming.ZoomingOpti
:parts: -1

|

---------------------------

********************************************************************************************************************
class: :class:`MouseWheelOptions <highcharts_core.options.chart.zooming.MouseWheelOptions>`
********************************************************************************************************************

.. autoclass:: MouseWheelOptions
:members:
:inherited-members:

.. collapse:: Class Inheritance

.. inheritance-diagram:: MouseWheelOptions
:top-classes: highcharts_core.metaclasses.HighchartsMeta, highcharts_core.metaclasses.HighchartsMeta
:parts: -1

|
1 change: 1 addition & 0 deletions docs/api/options/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ Sub-components
- :class:`ScrollablePlotArea <highcharts_core.options.chart.scrollable_plot_area.ScrollablePlotArea>`
* - :mod:`.options.chart.zooming <highcharts_core.options.chart.zooming>`
- :class:`ZoomingOptions <highcharts_core.options.chart.zooming.ZoomingOptions>`
:class:`MouseWheelOptions <highcharts_core.options.chart.zooming.MouseWheelOptions>`
* - :mod:`.options.credits <highcharts_core.options.credits>`
- :class:`Credits <highcharts_core.options.credits.Credits>`
:class:`CreditStyleOptions <highcharts_core.options.credits.CreditStyleOptions>`
Expand Down
6 changes: 3 additions & 3 deletions docs/demos.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ we recommend that you click the following badge:
:target: https://mybinder.org/v2/gh/highcharts-for-python/highcharts-for-python-demos/HEAD
:alt: Binder: Highcharts for Python Demos

This will clone the `Highcharts for Python Demos <https://github.com/highcharts-for-python-demos>`__
This will clone the `Highcharts for Python Demos <https://github.com/highcharts-for-python/highcharts-for-python-demos>`__
source repository within a Docker image, and launch `Jupyter Lab <https://jupyter.org>`__ within that
Docker container. This will then let you browse, edit, and run any of the Jupyter Notebooks contained
within the `Highcharts for Python Demos <https://github.com/highcharts-for-python-demos>`__ repo.
within the `Highcharts for Python Demos <https://github.com/highcharts-for-python/highcharts-for-python-demos>`__ repo.

How the Demos are Organized
==============================
Expand Down Expand Up @@ -122,4 +122,4 @@ Running Demos Locally
.. note::

You can run the demos locally by following instructions in the
`Highcharts for Python Demos <https://github.com/highcharts-for-python-demos>`__ Github repo's README.
`Highcharts for Python Demos <https://github.com/highcharts-for-python/highcharts-for-python-demos>`__ Github repo's README.
18 changes: 18 additions & 0 deletions docs/glossary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,24 @@ Glossary

* `Highcharts Node Export Server Documentation <https://github.com/highcharts/node-export-server>`__

Format String
.. versionadded: v.1.2.0

Format strings are templates for labels introduced in Highcharts for Python v.1.2.
Since Highcharts (JS) v.11.1, format strings support logic.

We recommend using format strings if you:

* Need to save the chart configuration to JSON.
* Need to provide a GUI for end users so that callbacks are not practical, or XSS is a concern.
* Need to send the charts over to our export server to execute (all callbacks are stripped out).
* Are creating a wrapper for another programming language than JavaScript.

.. seealso::

For a full overview over templating in format strings, please see the Highcharts (JS)
`Templating <https://www.highcharts.com/docs/chart-concepts/templating>`__ article.

Formatter
A particular type of :term:`callback function` used extensively in Highcharts. In
general terms, a formatter receives a context (for example a data point) and returns
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Highcharts Core for Python

.. sidebar:: Version Compatibility

**Latest Highcharts (JS) version supported:** v.11.0.0
**Latest Highcharts (JS) version supported:** v.11.1.0

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

Expand Down
10 changes: 9 additions & 1 deletion docs/visualizations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -692,14 +692,22 @@ to visualize your data.
:class:`highcharts_maps.options.plot_options.mapline.MapLineOptions`

:class:`highcharts_maps.options.series.mapline.MapLineSeries`
* - **Map**
* - **Map Point**
- .. figure:: _static/mappoint-example.png
:alt: Map Point Example Chart
:width: 100%

:class:`highcharts_maps.options.plot_options.mappoint.MapPointOptions`

:class:`highcharts_maps.options.series.mappoint.MapPointSeries`
* - **Tiled Web Map**
- .. figure:: _static/tiledwebmap-example.png
:alt: Tiled Web Map Example Chart
:width: 100%

:class:`highcharts_maps.options.plot_options.tiledwebmap.TiledWebMapOptions`

:class:`highcharts_maps.options.series.tiledwebmap.TiledWebMapSeries`

.. tab:: Gantt

Expand Down
2 changes: 1 addition & 1 deletion highcharts_core/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.1.1'
__version__ = '1.2.0'
Loading