├── highcharts_core ├── __init__.py ├── global_options │ └── __init__.py ├── options │ ├── axes │ │ ├── __init__.py │ │ ├── z_axis.py │ │ └── parallel_axes.py │ ├── series │ │ ├── __init__.py │ │ └── data │ │ │ └── __init__.py │ ├── accessibility │ │ └── high_contrast_theme.py │ └── plot_options │ │ ├── spline.py │ │ ├── pareto.py │ │ └── pyramid.py └── __version__.py ├── tests ├── options │ ├── __init__.py │ ├── series │ │ ├── __init__.py │ │ └── data │ │ │ └── __init__.py │ ├── annotations │ │ └── __init__.py │ ├── accessibility │ │ └── __init__.py │ ├── axes │ │ └── __init__.py │ ├── chart │ │ └── __init__.py │ ├── exporting │ │ └── __init__.py │ ├── legend │ │ └── __init__.py │ ├── navigation │ │ └── __init__.py │ └── plot_options │ │ └── __init__.py ├── global_options │ ├── __init__.py │ └── language │ │ ├── __init__.py │ │ └── accessibility │ │ └── __init__.py ├── utility_classes │ └── __init__.py ├── input_files │ ├── series │ │ ├── data │ │ │ ├── collections │ │ │ │ ├── 02-expected.js │ │ │ │ └── 02-input.js │ │ │ ├── cartesian │ │ │ │ ├── 05-expected.js │ │ │ │ ├── 05-input.js │ │ │ │ ├── error-05.js │ │ │ │ ├── 07.js │ │ │ │ ├── error-07.js │ │ │ │ └── error-02.js │ │ │ ├── range │ │ │ │ ├── 03.js │ │ │ │ └── error-03.js │ │ │ ├── base │ │ │ │ ├── error-01.js │ │ │ │ └── 01.js │ │ │ └── connections │ │ │ │ ├── error-01.js │ │ │ │ └── 01.js │ │ ├── area │ │ │ └── error-00.js │ │ ├── bar │ │ │ ├── error-00.js │ │ │ └── 05.js │ │ ├── base │ │ │ ├── error-00.js │ │ │ └── bugfix162.csv │ │ ├── item │ │ │ └── error-00.js │ │ ├── pie │ │ │ └── error-00.js │ │ ├── venn │ │ │ └── error-00.js │ │ ├── bellcurve │ │ │ └── error-00.js │ │ ├── boxplot │ │ │ └── error-00.js │ │ ├── bubble │ │ │ └── error-00.js │ │ ├── bullet │ │ │ └── error-00.js │ │ ├── dumbbell │ │ │ └── error-00.js │ │ ├── funnel │ │ │ └── error-00.js │ │ ├── gauge │ │ │ └── error-00.js │ │ ├── generic │ │ │ └── error-02.js │ │ ├── heatmap │ │ │ └── error-00.js │ │ ├── histogram │ │ │ └── error-00.js │ │ ├── sankey │ │ │ └── error-00.js │ │ ├── scatter │ │ │ └── error-00.js │ │ ├── spline │ │ │ └── error-00.js │ │ ├── sunburst │ │ │ └── error-00.js │ │ ├── timeline │ │ │ └── error-00.js │ │ ├── treegraph │ │ │ ├── error-00.js │ │ │ └── 02.js │ │ ├── treemap │ │ │ └── error-00.js │ │ ├── vector │ │ │ └── error-00.js │ │ ├── wordcloud │ │ │ └── error-00.js │ │ ├── arcdiagram │ │ │ └── error-00.js │ │ ├── networkgraph │ │ │ └── error-00.js │ │ ├── organization │ │ │ └── error-00.js │ │ ├── packedbubble │ │ │ └── error-00.js │ │ ├── dependencywheel │ │ │ └── error-00.js │ │ └── pictorial │ │ │ └── 01.js │ ├── boost │ │ ├── error-02.js │ │ ├── 01.js │ │ └── error-01.js │ ├── data │ │ ├── error-02.js │ │ ├── 02.js │ │ ├── 01.js │ │ └── error-01.js │ ├── pane │ │ ├── error-02.js │ │ ├── 01.js │ │ ├── error-01.js │ │ └── 02.js │ ├── title │ │ ├── error-02.js │ │ ├── 01.js │ │ ├── 02.js │ │ └── error-01.js │ ├── caption │ │ ├── error-02.js │ │ ├── 01.js │ │ ├── error-01.js │ │ └── 02.js │ ├── chart │ │ ├── chart │ │ │ └── error-02.js │ │ └── options_3d │ │ │ ├── error-02.js │ │ │ ├── 01.js │ │ │ └── error-01.js │ ├── credits │ │ ├── error-02.js │ │ ├── 01.js │ │ ├── error-01.js │ │ └── 02.js │ ├── drilldown │ │ ├── error-02.js │ │ ├── 01.js │ │ └── error-01.js │ ├── loading │ │ ├── error-02.js │ │ ├── error-01.js │ │ ├── 01.js │ │ └── 02.js │ ├── no_data │ │ ├── error-02.js │ │ ├── 02.js │ │ ├── 01.js │ │ └── error-01.js │ ├── responsive │ │ ├── error-02.js │ │ ├── error-01.js │ │ ├── 01.js │ │ └── 02.js │ ├── subtitle │ │ ├── error-02.js │ │ ├── 01.js │ │ ├── 02.js │ │ └── error-01.js │ ├── tooltips │ │ ├── error-02.js │ │ ├── 01.js │ │ ├── error-01.js │ │ ├── 03-diagram.js │ │ ├── 04-diagram.js │ │ └── 02.js │ ├── exporting │ │ ├── csv │ │ │ ├── error-02.js │ │ │ ├── error-01.js │ │ │ └── 01.js │ │ └── exporting │ │ │ └── error-02.js │ ├── legend │ │ ├── legend │ │ │ └── error-02.js │ │ ├── bubble_legend │ │ │ └── error-02.js │ │ └── navigation │ │ │ ├── error-02.js │ │ │ ├── 01.js │ │ │ └── error-01.js │ ├── plot_options │ │ ├── bar │ │ │ ├── error-00.js │ │ │ ├── 03.js │ │ │ └── 05.js │ │ ├── bellcurve │ │ │ ├── 01.js │ │ │ ├── error-00.js │ │ │ └── error-01.js │ │ ├── pie │ │ │ └── error-00.js │ │ ├── area │ │ │ ├── error-00.js │ │ │ ├── 01.js │ │ │ └── error-01.js │ │ ├── boxplot │ │ │ └── error-00.js │ │ ├── bubble │ │ │ ├── error-00.js │ │ │ └── 01.js │ │ ├── bullet │ │ │ └── error-00.js │ │ ├── dumbbell │ │ │ └── error-00.js │ │ ├── funnel │ │ │ ├── error-00.js │ │ │ ├── 01.js │ │ │ └── error-01.js │ │ ├── gauge │ │ │ ├── error-00.js │ │ │ ├── 03.js │ │ │ ├── error-03.js │ │ │ ├── 01.js │ │ │ └── error-01.js │ │ ├── generic │ │ │ └── error-02.js │ │ ├── heatmap │ │ │ ├── error-00.js │ │ │ ├── 01.js │ │ │ ├── error-01.js │ │ │ ├── 03.js │ │ │ └── error-03.js │ │ ├── item │ │ │ ├── error-00.js │ │ │ ├── 01.js │ │ │ └── error-01.js │ │ ├── sankey │ │ │ └── error-00.js │ │ ├── scatter │ │ │ └── error-00.js │ │ ├── series │ │ │ └── error-00.js │ │ ├── spline │ │ │ └── error-00.js │ │ ├── sunburst │ │ │ └── error-00.js │ │ ├── timeline │ │ │ └── error-00.js │ │ ├── treemap │ │ │ └── error-00.js │ │ ├── vector │ │ │ └── error-00.js │ │ ├── venn │ │ │ └── error-00.js │ │ ├── arcdiagram │ │ │ └── error-00.js │ │ ├── histogram │ │ │ ├── error-00.js │ │ │ ├── 01.js │ │ │ ├── error-01.js │ │ │ └── 03.js │ │ ├── networkgraph │ │ │ └── error-00.js │ │ ├── organization │ │ │ └── error-00.js │ │ ├── packedbubble │ │ │ ├── error-00.js │ │ │ ├── 01.js │ │ │ └── error-01.js │ │ ├── treegraph │ │ │ ├── error-00.js │ │ │ └── 01.js │ │ ├── wordcloud │ │ │ ├── error-00.js │ │ │ ├── 01.js │ │ │ └── error-01.js │ │ ├── dependencywheel │ │ │ └── error-00.js │ │ └── pictorial │ │ │ ├── 03.js │ │ │ └── 04.js │ ├── utility_classes │ │ ├── buttons │ │ │ ├── 04.js │ │ │ ├── error-02.js │ │ │ ├── 06.js │ │ │ ├── 01.js │ │ │ ├── error-01.js │ │ │ ├── 05.js │ │ │ ├── error-03.js │ │ │ ├── 02.js │ │ │ └── 03.js │ │ ├── menus │ │ │ ├── error-02.js │ │ │ ├── 01.js │ │ │ ├── error-01.js │ │ │ ├── 02.js │ │ │ └── error-03.js │ │ ├── nodes │ │ │ ├── error-02.js │ │ │ ├── 03.js │ │ │ ├── 01.js │ │ │ ├── error-04.js │ │ │ ├── error-01.js │ │ │ ├── 02.js │ │ │ └── error-03.js │ │ ├── zones │ │ │ ├── error-02.js │ │ │ ├── 01.js │ │ │ ├── error-01.js │ │ │ ├── 02.js │ │ │ └── error-03.js │ │ ├── animation │ │ │ ├── error-02.js │ │ │ ├── 01.js │ │ │ └── error-01.js │ │ ├── clusters │ │ │ └── error-02.js │ │ ├── events │ │ │ ├── error-00.js │ │ │ ├── error-02.js │ │ │ ├── 02.js │ │ │ ├── error-06.js │ │ │ ├── 06.js │ │ │ ├── 03.js │ │ │ ├── error-03.js │ │ │ ├── 01.js │ │ │ ├── error-01.js │ │ │ ├── error-08.js │ │ │ ├── 08.js │ │ │ ├── error-07.js │ │ │ ├── 07.js │ │ │ ├── 04.js │ │ │ ├── error-05.js │ │ │ ├── 05.js │ │ │ └── error-04.js │ │ ├── gradients │ │ │ ├── error-02.js │ │ │ ├── 02.js │ │ │ ├── error-03.js │ │ │ ├── 01.js │ │ │ └── error-01.js │ │ ├── jitter │ │ │ ├── error-02.js │ │ │ ├── 01.js │ │ │ └── error-01.js │ │ ├── markers │ │ │ ├── error-02.js │ │ │ ├── 01.js │ │ │ └── error-01.js │ │ ├── partial_fill │ │ │ ├── 01.js │ │ │ ├── error-01.js │ │ │ └── error-02.js │ │ ├── patterns │ │ │ ├── error-02.js │ │ │ ├── 02.js │ │ │ ├── error-03.js │ │ │ ├── 01.js │ │ │ └── error-01.js │ │ ├── position │ │ │ ├── error-02.js │ │ │ ├── 01.js │ │ │ └── error-01.js │ │ ├── shadows │ │ │ ├── error-02.js │ │ │ ├── 01.js │ │ │ └── error-01.js │ │ ├── states │ │ │ ├── error-02.js │ │ │ ├── 02.js │ │ │ ├── error-01.js │ │ │ └── 01.js │ │ ├── breadcrumbs │ │ │ ├── error-02.js │ │ │ ├── 01.js │ │ │ └── error-01.js │ │ ├── data_grouping │ │ │ └── error-02.js │ │ ├── data_labels │ │ │ └── error-02.js │ │ └── date_time_label_formats │ │ │ ├── error-02.js │ │ │ ├── 01.js │ │ │ └── error-01.js │ ├── annotations │ │ └── annotation │ │ │ ├── 02.js │ │ │ └── error-02.js │ ├── navigation │ │ ├── bindings │ │ │ ├── error-02.js │ │ │ ├── error-01.js │ │ │ ├── 01.js │ │ │ └── error-03.js │ │ └── navigation │ │ │ └── error-02.js │ ├── accessibility │ │ └── accessibility │ │ │ └── error-02.js │ ├── time │ │ ├── 01.js │ │ ├── error-01.js │ │ ├── 02.js │ │ └── error-02.js │ ├── global_options │ │ └── language │ │ │ ├── export_data │ │ │ ├── error-02.js │ │ │ ├── error-01.js │ │ │ └── 01.js │ │ │ ├── language │ │ │ └── error-02.js │ │ │ ├── navigation │ │ │ └── error-02.js │ │ │ └── accessibility │ │ │ ├── series │ │ │ ├── error-02.js │ │ │ ├── 01.js │ │ │ └── error-01.js │ │ │ └── accessibility │ │ │ └── error-02.js │ ├── headless_export │ │ ├── basic.json │ │ ├── with-chart-type.js │ │ └── with-series-types.js │ └── axes │ │ ├── x_axis │ │ ├── 01.js │ │ └── error-01.js │ │ ├── color_axis │ │ ├── error-01.js │ │ └── 01.js │ │ └── plot_bands │ │ ├── 01.js │ │ ├── 02.js │ │ ├── error-01.js │ │ └── error-02.js └── pytest.ini ├── docs ├── links.txt ├── _unit_tests_code_coverage.rst ├── _static │ ├── ad-example.png │ ├── apo-example.png │ ├── area-example.png │ ├── atr-example.png │ ├── bar-example.png │ ├── cci-example.png │ ├── cmf-example.png │ ├── cmo-example.png │ ├── dema-example.png │ ├── dmi-example.png │ ├── dpo-example.png │ ├── ema-example.png │ ├── hlc-example.png │ ├── ikh-example.png │ ├── line-example.png │ ├── macd-example.png │ ├── map-example.png │ ├── mfi-example.png │ ├── natr-example.png │ ├── obv-example.png │ ├── ohlc-example.png │ ├── pie-example.png │ ├── ppo-example.png │ ├── psar-example.png │ ├── roc-example.png │ ├── rsi-example.png │ ├── sma-example.png │ ├── tema-example.png │ ├── trix-example.png │ ├── vbp-example.png │ ├── venn-example.png │ ├── vwap-example.png │ ├── wma-example.png │ ├── abands-example.png │ ├── aroon-example.png │ ├── bubble-example.png │ ├── bullet-example.png │ ├── column-example.png │ ├── flags-example.png │ ├── funnel-example.png │ ├── gantt-example.png │ ├── gauge-example.png │ ├── pareto-example.png │ ├── sankey-example.png │ ├── spline-example.png │ ├── vector-example.png │ ├── xrange-example.png │ ├── zigzag-example.png │ ├── arearange-example.png │ ├── bellcurve-example.png │ ├── boxplot-example.png │ ├── chaikin-example.png │ ├── cylinder-example.png │ ├── dumbbell-example.png │ ├── errorbar-example.png │ ├── flowmap-example.png │ ├── funnel_3d-example.png │ ├── heatmap-example.png │ ├── histogram-example.png │ ├── klinger-example.png │ ├── lollipop-example.png │ ├── mapbubble-example.png │ ├── mapline-example.png │ ├── mappoint-example.png │ ├── momentum-example.png │ ├── navigator-example.png │ ├── pictorial-example.png │ ├── pie-example-donut.png │ ├── polygon-example.png │ ├── pyramid-example.png │ ├── scatter-example.png │ ├── sunburst-example.png │ ├── tilemap-example.png │ ├── timeline-example.png │ ├── treegraph-example.png │ ├── treemap-example.png │ ├── trendline-example.png │ ├── variwide-example.png │ ├── waterfall-example.png │ ├── williamsr-example.png │ ├── windbarb-example.png │ ├── wordcloud-example.png │ ├── arcdiagram-example.png │ ├── areaspline-example.png │ ├── candlestick-example.png │ ├── census-time-series.png │ ├── columnrange-example.png │ ├── geoheatmap-example.png │ ├── heikin-ashi-example.png │ ├── pyramid_3d-example.png │ ├── scatter_3d-example.png │ ├── solidgauge-example.png │ ├── stochastic-example.png │ ├── stock-tools-example.png │ ├── streamgraph-example.png │ ├── supertrend-example.png │ ├── tiledwebmap-example.png │ ├── variablepie-example.png │ ├── venn-example-euler.png │ ├── axis-property-mapping.xlsx │ ├── columnpyramid-example.png │ ├── highcharts-python-logo.png │ ├── item-example-circular.png │ ├── item-example-symbols.png │ ├── networkgraph-example.png │ ├── organization-example.png │ ├── packedbubble-example.png │ ├── pivot-points-example.png │ ├── price-channel-example.png │ ├── range-selector-example.png │ ├── tilemap-example-circle.png │ ├── aroon-oscillator-example.png │ ├── bollinger-bands-example.png │ ├── dependencywheel-example.png │ ├── disparity-index-example.png │ ├── highcharts-chart-anatomy.png │ ├── item-example-rectangular.png │ ├── keltner-channels-example.png │ ├── price-envelopes-example.png │ ├── sankey-example-inverted.png │ ├── sankey-example-outgoing.png │ ├── slow-stochastic-example.png │ ├── tilemap-example-diamond.png │ ├── xrange-example-inverted.png │ ├── awesome-oscillator-example.png │ ├── hollow-candlestick-example.png │ ├── linear-regression-example.png │ ├── packedbubble-example-split.png │ ├── timeline-example-datetime.png │ ├── timeline-example-inverted.png │ ├── tutorials │ │ ├── raw-data-as-numpy.png │ │ ├── census-time-series-01.png │ │ ├── census-time-series-02.png │ │ ├── census-time-series-03.png │ │ ├── census-time-series-04.png │ │ ├── census-time-series-05.png │ │ ├── census-time-series-06.png │ │ ├── census-time-series-07.png │ │ ├── census-time-series-08.png │ │ ├── census-time-series-09.png │ │ ├── census-time-series-10.png │ │ └── census-time-series-csv-01.png │ ├── variwide-example-datetime.png │ ├── variwide-example-inverted.png │ ├── waterfall-example-inverted.png │ ├── waterfall-example-stacked.png │ ├── columnpyramid-example-stacked.png │ ├── columnrange-example-horizontal.png │ ├── highcharts-for-python-dark-32x32.png │ ├── linear-regression-angle-example.png │ ├── linear-regression-slope-example.png │ ├── organization-example-horizontal.png │ ├── highcharts-for-python-light-150x149.png │ ├── linear-regression-intercept-example.png │ ├── columnpyramid-example-stacked-horizontal.png │ ├── square-check-solid.svg │ ├── shared_options_output.js │ └── shared_options.js ├── _installation.rst ├── support.rst ├── testing.rst ├── history.rst ├── using │ ├── templates │ │ ├── _with_dict.rst │ │ └── _with_json.rst │ ├── assembling_your_chart │ │ ├── _using_series_property.rst │ │ └── _using_kwargs.rst │ ├── rendering_your_visualizations │ │ └── _as_web_content.rst │ └── shared_options │ │ └── _with_dict.rst ├── _contributors.rst ├── Makefile ├── api │ ├── chart.rst │ ├── options │ │ ├── series │ │ │ ├── series_generator.rst │ │ │ ├── data │ │ │ │ └── base.rst │ │ │ ├── base.rst │ │ │ └── item.rst │ │ ├── data.rst │ │ ├── time.rst │ │ ├── title.rst │ │ ├── no_data.rst │ │ ├── caption.rst │ │ ├── loading.rst │ │ ├── tooltips.rst │ │ ├── axes │ │ │ ├── x_axis.rst │ │ │ ├── z_axis.rst │ │ │ ├── title.rst │ │ │ ├── breaks.rst │ │ │ ├── generic.rst │ │ │ ├── markers.rst │ │ │ ├── numeric.rst │ │ │ ├── color_axis.rst │ │ │ ├── data_classes.rst │ │ │ └── crosshair.rst │ │ ├── subtitle.rst │ │ ├── drilldown.rst │ │ ├── legend │ │ │ └── title.rst │ │ ├── annotations │ │ │ └── points.rst │ │ ├── plot_options │ │ │ ├── item.rst │ │ │ ├── link.rst │ │ │ ├── venn.rst │ │ │ ├── bubble.rst │ │ │ ├── pareto.rst │ │ │ ├── sankey.rst │ │ │ ├── series.rst │ │ │ ├── spline.rst │ │ │ └── vector.rst │ │ └── accessibility │ │ │ └── point.rst │ ├── headless_export.rst │ ├── _other_convenience_methods.rst │ ├── global_options │ │ └── shared_options.rst │ └── utility_classes │ │ ├── jitter.rst │ │ ├── markers.rst │ │ ├── position.rst │ │ └── shadows.rst ├── make.bat └── _support.rst ├── requirements.txt ├── requirements.dev.txt ├── requirements.dev.numpy.txt ├── setup.cfg ├── .github └── ISSUE_TEMPLATE │ └── bug_report.md ├── .travis.yml ├── .readthedocs.yaml └── tox.ini /highcharts_core/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/options/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/global_options/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/options/series/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/utility_classes/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/options/annotations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/options/series/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /highcharts_core/global_options/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /highcharts_core/options/axes/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /highcharts_core/options/series/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/global_options/language/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/options/accessibility/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /highcharts_core/options/series/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /highcharts_core/__version__.py: -------------------------------------------------------------------------------- 1 | __version__ = "1.10.3" 2 | -------------------------------------------------------------------------------- /tests/global_options/language/accessibility/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/input_files/series/data/collections/02-expected.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/input_files/boost/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/data/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/pane/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/data/cartesian/05-expected.js: -------------------------------------------------------------------------------- 1 | [null,456] -------------------------------------------------------------------------------- /tests/input_files/title/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/caption/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/chart/chart/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/credits/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/drilldown/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/loading/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/no_data/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/responsive/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/area/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/bar/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/base/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/item/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/pie/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/venn/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/subtitle/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/tooltips/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JS object literal 2 | -------------------------------------------------------------------------------- /docs/links.txt: -------------------------------------------------------------------------------- 1 | .. _`API reference`: https://api.highcharts.com/highcharts/ 2 | -------------------------------------------------------------------------------- /tests/input_files/chart/options_3d/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/exporting/csv/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/legend/legend/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/bar/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/bellcurve/01.js: -------------------------------------------------------------------------------- 1 | { 2 | intervals: 3 3 | } 4 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/pie/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/bellcurve/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/boxplot/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/bubble/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/bullet/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/data/cartesian/05-input.js: -------------------------------------------------------------------------------- 1 | { 2 | z: 456 3 | } 4 | -------------------------------------------------------------------------------- /tests/input_files/series/dumbbell/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/funnel/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/gauge/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/generic/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/heatmap/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/histogram/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/sankey/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/scatter/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/spline/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/sunburst/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/timeline/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/treegraph/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/treemap/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/vector/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/wordcloud/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/buttons/04.js: -------------------------------------------------------------------------------- 1 | { 2 | useHTML: true 3 | } -------------------------------------------------------------------------------- /tests/options/axes/__init__.py: -------------------------------------------------------------------------------- 1 | """Unit tests for ``highcharts.legend``.""" 2 | -------------------------------------------------------------------------------- /tests/input_files/annotations/annotation/02.js: -------------------------------------------------------------------------------- 1 | { 2 | draggable: '' 3 | } 4 | -------------------------------------------------------------------------------- /tests/input_files/exporting/exporting/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/legend/bubble_legend/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/legend/navigation/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/navigation/bindings/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/navigation/navigation/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/area/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/boxplot/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/bubble/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/bullet/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/dumbbell/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/funnel/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/gauge/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/generic/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/heatmap/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/item/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/sankey/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/scatter/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/series/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/spline/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/sunburst/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/timeline/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/treemap/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/vector/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/venn/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/responsive/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | rules: 'invalid-value' 3 | } 4 | -------------------------------------------------------------------------------- /tests/input_files/series/arcdiagram/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/networkgraph/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/organization/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/packedbubble/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/menus/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/nodes/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/zones/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/options/chart/__init__.py: -------------------------------------------------------------------------------- 1 | """Unit tests for ``highcharts.legend``.""" 2 | -------------------------------------------------------------------------------- /tests/options/exporting/__init__.py: -------------------------------------------------------------------------------- 1 | """Unit tests for ``highcharts.legend``.""" 2 | -------------------------------------------------------------------------------- /tests/options/legend/__init__.py: -------------------------------------------------------------------------------- 1 | """Unit tests for ``highcharts.legend``.""" 2 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | esprima==4.0.1 2 | requests==2.32.0 3 | validator-collection==1.5.0 4 | -------------------------------------------------------------------------------- /tests/input_files/annotations/annotation/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/loading/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | hideDuration: 'not-a-number' 3 | } 4 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/arcdiagram/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/bellcurve/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/histogram/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/networkgraph/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/organization/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/packedbubble/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/treegraph/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/wordcloud/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/data/cartesian/error-05.js: -------------------------------------------------------------------------------- 1 | { 2 | z: 'invalid value' 3 | } 4 | -------------------------------------------------------------------------------- /tests/input_files/series/dependencywheel/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/animation/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/buttons/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/clusters/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/events/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/gradients/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/jitter/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/markers/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/partial_fill/01.js: -------------------------------------------------------------------------------- 1 | { 2 | fill: '#cccccc' 3 | } 4 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/partial_fill/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | fill: 123 3 | } 4 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/patterns/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/position/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/shadows/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/states/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/options/navigation/__init__.py: -------------------------------------------------------------------------------- 1 | """Unit tests for ``highcharts.navigation``.""" 2 | -------------------------------------------------------------------------------- /tests/options/plot_options/__init__.py: -------------------------------------------------------------------------------- 1 | """Tests for ``highcharts.plot_options``.""" 2 | -------------------------------------------------------------------------------- /tests/input_files/accessibility/accessibility/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/loading/01.js: -------------------------------------------------------------------------------- 1 | { 2 | hideDuration: 100, 3 | showDuration: 500 4 | } 5 | -------------------------------------------------------------------------------- /tests/input_files/loading/02.js: -------------------------------------------------------------------------------- 1 | { 2 | hideDuration: 100, 3 | showDuration: 150 4 | } 5 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/dependencywheel/error-00.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/time/01.js: -------------------------------------------------------------------------------- 1 | { 2 | timezone: 'Europe/Oslo', 3 | useUTC: false 4 | } 5 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/breadcrumbs/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/data_grouping/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/data_labels/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/jitter/01.js: -------------------------------------------------------------------------------- 1 | { 2 | x: 123, 3 | y: 456 4 | } 5 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/partial_fill/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/global_options/language/export_data/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/global_options/language/language/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/global_options/language/navigation/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/series/data/cartesian/07.js: -------------------------------------------------------------------------------- 1 | { 2 | pointPadding: 12, 3 | value: 123 4 | } 5 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/buttons/06.js: -------------------------------------------------------------------------------- 1 | { 2 | 'fill': '#fff', 3 | 'stroke': '#ccc' 4 | } -------------------------------------------------------------------------------- /tests/input_files/utility_classes/date_time_label_formats/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/events/error-02.js: -------------------------------------------------------------------------------- 1 | { 2 | click: 'not a valid function' 3 | } 4 | -------------------------------------------------------------------------------- /docs/_unit_tests_code_coverage.rst: -------------------------------------------------------------------------------- 1 | .. todo:: 2 | 3 | Add unit tests and code coverage badges / details. -------------------------------------------------------------------------------- /tests/input_files/global_options/language/accessibility/series/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/title/01.js: -------------------------------------------------------------------------------- 1 | { 2 | align: 'left', 3 | text: 'Title aligned left', 4 | x: 70 5 | } 6 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/events/02.js: -------------------------------------------------------------------------------- 1 | { 2 | click: function(event) { return true; } 3 | } 4 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/jitter/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | x: 123, 3 | y: 'not a number' 4 | } 5 | -------------------------------------------------------------------------------- /tests/input_files/global_options/language/accessibility/accessibility/error-02.js: -------------------------------------------------------------------------------- 1 | not a valid JavaScript file 2 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/histogram/01.js: -------------------------------------------------------------------------------- 1 | { 2 | binsNumber: 'square-root', 3 | binWidth: 24 4 | } 5 | -------------------------------------------------------------------------------- /tests/input_files/subtitle/01.js: -------------------------------------------------------------------------------- 1 | { 2 | align: 'left', 3 | text: 'Title aligned left', 4 | x: 70 5 | } 6 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/events/error-06.js: -------------------------------------------------------------------------------- 1 | { 2 | drillToCluster: 'not a valid function' 3 | } 4 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/histogram/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | binsNumber: 'invalid value', 3 | binWidth: 24 4 | } 5 | -------------------------------------------------------------------------------- /tests/input_files/series/data/cartesian/error-07.js: -------------------------------------------------------------------------------- 1 | { 2 | pointPadding: 12, 3 | value: 'invalid value' 4 | } 5 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/events/06.js: -------------------------------------------------------------------------------- 1 | { 2 | drillToCluster: function(event) { return true; } 3 | } 4 | -------------------------------------------------------------------------------- /docs/_static/ad-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/ad-example.png -------------------------------------------------------------------------------- /docs/_static/apo-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/apo-example.png -------------------------------------------------------------------------------- /docs/_static/area-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/area-example.png -------------------------------------------------------------------------------- /docs/_static/atr-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/atr-example.png -------------------------------------------------------------------------------- /docs/_static/bar-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/bar-example.png -------------------------------------------------------------------------------- /docs/_static/cci-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/cci-example.png -------------------------------------------------------------------------------- /docs/_static/cmf-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/cmf-example.png -------------------------------------------------------------------------------- /docs/_static/cmo-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/cmo-example.png -------------------------------------------------------------------------------- /docs/_static/dema-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/dema-example.png -------------------------------------------------------------------------------- /docs/_static/dmi-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/dmi-example.png -------------------------------------------------------------------------------- /docs/_static/dpo-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/dpo-example.png -------------------------------------------------------------------------------- /docs/_static/ema-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/ema-example.png -------------------------------------------------------------------------------- /docs/_static/hlc-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/hlc-example.png -------------------------------------------------------------------------------- /docs/_static/ikh-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/ikh-example.png -------------------------------------------------------------------------------- /docs/_static/line-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/line-example.png -------------------------------------------------------------------------------- /docs/_static/macd-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/macd-example.png -------------------------------------------------------------------------------- /docs/_static/map-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/map-example.png -------------------------------------------------------------------------------- /docs/_static/mfi-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/mfi-example.png -------------------------------------------------------------------------------- /docs/_static/natr-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/natr-example.png -------------------------------------------------------------------------------- /docs/_static/obv-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/obv-example.png -------------------------------------------------------------------------------- /docs/_static/ohlc-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/ohlc-example.png -------------------------------------------------------------------------------- /docs/_static/pie-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/pie-example.png -------------------------------------------------------------------------------- /docs/_static/ppo-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/ppo-example.png -------------------------------------------------------------------------------- /docs/_static/psar-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/psar-example.png -------------------------------------------------------------------------------- /docs/_static/roc-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/roc-example.png -------------------------------------------------------------------------------- /docs/_static/rsi-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/rsi-example.png -------------------------------------------------------------------------------- /docs/_static/sma-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/sma-example.png -------------------------------------------------------------------------------- /docs/_static/tema-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/tema-example.png -------------------------------------------------------------------------------- /docs/_static/trix-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/trix-example.png -------------------------------------------------------------------------------- /docs/_static/vbp-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/vbp-example.png -------------------------------------------------------------------------------- /docs/_static/venn-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/venn-example.png -------------------------------------------------------------------------------- /docs/_static/vwap-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/vwap-example.png -------------------------------------------------------------------------------- /docs/_static/wma-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/wma-example.png -------------------------------------------------------------------------------- /tests/input_files/series/data/range/03.js: -------------------------------------------------------------------------------- 1 | { 2 | connectorColor: '#ccc', 3 | connectorWidth: 2, 4 | lowColor: '#ddd' 5 | } 6 | -------------------------------------------------------------------------------- /tests/input_files/time/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | Date: 'not-a-date-class', 3 | timezone: 'Europe/Oslo', 4 | useUTC: false 5 | } 6 | -------------------------------------------------------------------------------- /docs/_static/abands-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/abands-example.png -------------------------------------------------------------------------------- /docs/_static/aroon-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/aroon-example.png -------------------------------------------------------------------------------- /docs/_static/bubble-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/bubble-example.png -------------------------------------------------------------------------------- /docs/_static/bullet-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/bullet-example.png -------------------------------------------------------------------------------- /docs/_static/column-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/column-example.png -------------------------------------------------------------------------------- /docs/_static/flags-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/flags-example.png -------------------------------------------------------------------------------- /docs/_static/funnel-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/funnel-example.png -------------------------------------------------------------------------------- /docs/_static/gantt-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/gantt-example.png -------------------------------------------------------------------------------- /docs/_static/gauge-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/gauge-example.png -------------------------------------------------------------------------------- /docs/_static/pareto-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/pareto-example.png -------------------------------------------------------------------------------- /docs/_static/sankey-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/sankey-example.png -------------------------------------------------------------------------------- /docs/_static/spline-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/spline-example.png -------------------------------------------------------------------------------- /docs/_static/vector-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/vector-example.png -------------------------------------------------------------------------------- /docs/_static/xrange-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/xrange-example.png -------------------------------------------------------------------------------- /docs/_static/zigzag-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/zigzag-example.png -------------------------------------------------------------------------------- /tests/input_files/plot_options/bar/03.js: -------------------------------------------------------------------------------- 1 | { 2 | depth: 10, 3 | edgeColor: '#999', 4 | edgeWidth: 1, 5 | groupZPadding: 4 6 | } 7 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/histogram/03.js: -------------------------------------------------------------------------------- 1 | { 2 | binsNumber: function(baseSeries) { return true; }, 3 | binWidth: 24 4 | } 5 | -------------------------------------------------------------------------------- /docs/_static/arearange-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/arearange-example.png -------------------------------------------------------------------------------- /docs/_static/bellcurve-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/bellcurve-example.png -------------------------------------------------------------------------------- /docs/_static/boxplot-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/boxplot-example.png -------------------------------------------------------------------------------- /docs/_static/chaikin-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/chaikin-example.png -------------------------------------------------------------------------------- /docs/_static/cylinder-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/cylinder-example.png -------------------------------------------------------------------------------- /docs/_static/dumbbell-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/dumbbell-example.png -------------------------------------------------------------------------------- /docs/_static/errorbar-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/errorbar-example.png -------------------------------------------------------------------------------- /docs/_static/flowmap-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/flowmap-example.png -------------------------------------------------------------------------------- /docs/_static/funnel_3d-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/funnel_3d-example.png -------------------------------------------------------------------------------- /docs/_static/heatmap-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/heatmap-example.png -------------------------------------------------------------------------------- /docs/_static/histogram-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/histogram-example.png -------------------------------------------------------------------------------- /docs/_static/klinger-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/klinger-example.png -------------------------------------------------------------------------------- /docs/_static/lollipop-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/lollipop-example.png -------------------------------------------------------------------------------- /docs/_static/mapbubble-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/mapbubble-example.png -------------------------------------------------------------------------------- /docs/_static/mapline-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/mapline-example.png -------------------------------------------------------------------------------- /docs/_static/mappoint-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/mappoint-example.png -------------------------------------------------------------------------------- /docs/_static/momentum-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/momentum-example.png -------------------------------------------------------------------------------- /docs/_static/navigator-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/navigator-example.png -------------------------------------------------------------------------------- /docs/_static/pictorial-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/pictorial-example.png -------------------------------------------------------------------------------- /docs/_static/pie-example-donut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/pie-example-donut.png -------------------------------------------------------------------------------- /docs/_static/polygon-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/polygon-example.png -------------------------------------------------------------------------------- /docs/_static/pyramid-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/pyramid-example.png -------------------------------------------------------------------------------- /docs/_static/scatter-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/scatter-example.png -------------------------------------------------------------------------------- /docs/_static/sunburst-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/sunburst-example.png -------------------------------------------------------------------------------- /docs/_static/tilemap-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/tilemap-example.png -------------------------------------------------------------------------------- /docs/_static/timeline-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/timeline-example.png -------------------------------------------------------------------------------- /docs/_static/treegraph-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/treegraph-example.png -------------------------------------------------------------------------------- /docs/_static/treemap-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/treemap-example.png -------------------------------------------------------------------------------- /docs/_static/trendline-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/trendline-example.png -------------------------------------------------------------------------------- /docs/_static/variwide-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/variwide-example.png -------------------------------------------------------------------------------- /docs/_static/waterfall-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/waterfall-example.png -------------------------------------------------------------------------------- /docs/_static/williamsr-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/williamsr-example.png -------------------------------------------------------------------------------- /docs/_static/windbarb-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/windbarb-example.png -------------------------------------------------------------------------------- /docs/_static/wordcloud-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/wordcloud-example.png -------------------------------------------------------------------------------- /tests/input_files/plot_options/gauge/03.js: -------------------------------------------------------------------------------- 1 | { 2 | innerRadius: 123, 3 | overshoot: 12.5, 4 | radius: 246, 5 | rounded: true 6 | } 7 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/item/01.js: -------------------------------------------------------------------------------- 1 | { 2 | itemPadding: 12, 3 | layout: 'horizontal', 4 | rows: 3, 5 | innerSize: '30%' 6 | } 7 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/pictorial/03.js: -------------------------------------------------------------------------------- 1 | { 2 | depth: 10, 3 | edgeColor: '#999', 4 | edgeWidth: 1, 5 | groupZPadding: 4 6 | } 7 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/pictorial/04.js: -------------------------------------------------------------------------------- 1 | { 2 | depth: 10, 3 | edgeColor: '#999', 4 | edgeWidth: 1, 5 | groupZPadding: 4 6 | } 7 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/shadows/01.js: -------------------------------------------------------------------------------- 1 | { 2 | color: '#cccccc', 3 | offsetX: 10, 4 | offsetY: 5, 5 | width: 4 6 | } 7 | -------------------------------------------------------------------------------- /docs/_static/arcdiagram-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/arcdiagram-example.png -------------------------------------------------------------------------------- /docs/_static/areaspline-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/areaspline-example.png -------------------------------------------------------------------------------- /docs/_static/candlestick-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/candlestick-example.png -------------------------------------------------------------------------------- /docs/_static/census-time-series.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/census-time-series.png -------------------------------------------------------------------------------- /docs/_static/columnrange-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/columnrange-example.png -------------------------------------------------------------------------------- /docs/_static/geoheatmap-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/geoheatmap-example.png -------------------------------------------------------------------------------- /docs/_static/heikin-ashi-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/heikin-ashi-example.png -------------------------------------------------------------------------------- /docs/_static/pyramid_3d-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/pyramid_3d-example.png -------------------------------------------------------------------------------- /docs/_static/scatter_3d-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/scatter_3d-example.png -------------------------------------------------------------------------------- /docs/_static/solidgauge-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/solidgauge-example.png -------------------------------------------------------------------------------- /docs/_static/stochastic-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/stochastic-example.png -------------------------------------------------------------------------------- /docs/_static/stock-tools-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/stock-tools-example.png -------------------------------------------------------------------------------- /docs/_static/streamgraph-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/streamgraph-example.png -------------------------------------------------------------------------------- /docs/_static/supertrend-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/supertrend-example.png -------------------------------------------------------------------------------- /docs/_static/tiledwebmap-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/tiledwebmap-example.png -------------------------------------------------------------------------------- /docs/_static/variablepie-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/variablepie-example.png -------------------------------------------------------------------------------- /docs/_static/venn-example-euler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/venn-example-euler.png -------------------------------------------------------------------------------- /tests/input_files/series/treegraph/02.js: -------------------------------------------------------------------------------- 1 | { 2 | data: [ 3 | ['id1'], 4 | ['id2', 'id1'] 5 | ], 6 | keys: ['id', 'parent'] 7 | } 8 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/position/01.js: -------------------------------------------------------------------------------- 1 | { 2 | align: 'center', 3 | verticalAlign: 'top', 4 | x: -10, 5 | y: 10 6 | } 7 | -------------------------------------------------------------------------------- /docs/_static/axis-property-mapping.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/axis-property-mapping.xlsx -------------------------------------------------------------------------------- /docs/_static/columnpyramid-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/columnpyramid-example.png -------------------------------------------------------------------------------- /docs/_static/highcharts-python-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/highcharts-python-logo.png -------------------------------------------------------------------------------- /docs/_static/item-example-circular.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/item-example-circular.png -------------------------------------------------------------------------------- /docs/_static/item-example-symbols.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/item-example-symbols.png -------------------------------------------------------------------------------- /docs/_static/networkgraph-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/networkgraph-example.png -------------------------------------------------------------------------------- /docs/_static/organization-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/organization-example.png -------------------------------------------------------------------------------- /docs/_static/packedbubble-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/packedbubble-example.png -------------------------------------------------------------------------------- /docs/_static/pivot-points-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/pivot-points-example.png -------------------------------------------------------------------------------- /docs/_static/price-channel-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/price-channel-example.png -------------------------------------------------------------------------------- /docs/_static/range-selector-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/range-selector-example.png -------------------------------------------------------------------------------- /docs/_static/tilemap-example-circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/tilemap-example-circle.png -------------------------------------------------------------------------------- /tests/input_files/plot_options/item/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | innerSize: '30%', 3 | itemPadding: 12, 4 | layout: 'invalid value', 5 | rows: 3 6 | } 7 | -------------------------------------------------------------------------------- /tests/input_files/series/data/range/error-03.js: -------------------------------------------------------------------------------- 1 | { 2 | connectorColor: '#ccc', 3 | connectorWidth: 'invalid value', 4 | lowColor: '#ddd' 5 | } 6 | -------------------------------------------------------------------------------- /docs/_installation.rst: -------------------------------------------------------------------------------- 1 | To install **Highcharts Core for Python**, just execute: 2 | 3 | .. code-block:: bash 4 | 5 | $ pip install highcharts-core 6 | -------------------------------------------------------------------------------- /docs/_static/aroon-oscillator-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/aroon-oscillator-example.png -------------------------------------------------------------------------------- /docs/_static/bollinger-bands-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/bollinger-bands-example.png -------------------------------------------------------------------------------- /docs/_static/dependencywheel-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/dependencywheel-example.png -------------------------------------------------------------------------------- /docs/_static/disparity-index-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/disparity-index-example.png -------------------------------------------------------------------------------- /docs/_static/highcharts-chart-anatomy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/highcharts-chart-anatomy.png -------------------------------------------------------------------------------- /docs/_static/item-example-rectangular.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/item-example-rectangular.png -------------------------------------------------------------------------------- /docs/_static/keltner-channels-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/keltner-channels-example.png -------------------------------------------------------------------------------- /docs/_static/price-envelopes-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/price-envelopes-example.png -------------------------------------------------------------------------------- /docs/_static/sankey-example-inverted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/sankey-example-inverted.png -------------------------------------------------------------------------------- /docs/_static/sankey-example-outgoing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/sankey-example-outgoing.png -------------------------------------------------------------------------------- /docs/_static/slow-stochastic-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/slow-stochastic-example.png -------------------------------------------------------------------------------- /docs/_static/tilemap-example-diamond.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/tilemap-example-diamond.png -------------------------------------------------------------------------------- /docs/_static/xrange-example-inverted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/xrange-example-inverted.png -------------------------------------------------------------------------------- /tests/input_files/credits/01.js: -------------------------------------------------------------------------------- 1 | { 2 | enabled: true, 3 | href: 'https://www.somewhere.com', 4 | text: 'Test Text for the Credits label' 5 | } 6 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/gauge/error-03.js: -------------------------------------------------------------------------------- 1 | { 2 | innerRadius: 'invalid value', 3 | overshoot: 12.5, 4 | radius: 246, 5 | rounded: true 6 | } 7 | -------------------------------------------------------------------------------- /tests/input_files/time/02.js: -------------------------------------------------------------------------------- 1 | { 2 | Date: class DateClass { constructor() { return true; }}, 3 | timezone: 'Europe/Oslo', 4 | useUTC: false 5 | } 6 | -------------------------------------------------------------------------------- /docs/_static/awesome-oscillator-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/awesome-oscillator-example.png -------------------------------------------------------------------------------- /docs/_static/hollow-candlestick-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/hollow-candlestick-example.png -------------------------------------------------------------------------------- /docs/_static/linear-regression-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/linear-regression-example.png -------------------------------------------------------------------------------- /docs/_static/packedbubble-example-split.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/packedbubble-example-split.png -------------------------------------------------------------------------------- /docs/_static/timeline-example-datetime.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/timeline-example-datetime.png -------------------------------------------------------------------------------- /docs/_static/timeline-example-inverted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/timeline-example-inverted.png -------------------------------------------------------------------------------- /docs/_static/tutorials/raw-data-as-numpy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/tutorials/raw-data-as-numpy.png -------------------------------------------------------------------------------- /docs/_static/variwide-example-datetime.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/variwide-example-datetime.png -------------------------------------------------------------------------------- /docs/_static/variwide-example-inverted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/variwide-example-inverted.png -------------------------------------------------------------------------------- /docs/_static/waterfall-example-inverted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/waterfall-example-inverted.png -------------------------------------------------------------------------------- /docs/_static/waterfall-example-stacked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/waterfall-example-stacked.png -------------------------------------------------------------------------------- /tests/input_files/plot_options/funnel/01.js: -------------------------------------------------------------------------------- 1 | { 2 | height: '60%', 3 | neckHeight: '15%', 4 | neckWidth: 36, 5 | reversed: false, 6 | width: 320 7 | } 8 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/heatmap/01.js: -------------------------------------------------------------------------------- 1 | { 2 | borderRadius: 4, 3 | colsize: 1, 4 | nullColor: '#ccc', 5 | pointPadding: 6, 6 | rowsize: 1 7 | } 8 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/shadows/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | color: '#cccccc', 3 | offsetX: 10, 4 | offsetY: 'not a number', 5 | width: 4 6 | } 7 | -------------------------------------------------------------------------------- /docs/_static/columnpyramid-example-stacked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/columnpyramid-example-stacked.png -------------------------------------------------------------------------------- /tests/input_files/tooltips/01.js: -------------------------------------------------------------------------------- 1 | { 2 | borderRadius: 3, 3 | borderWidth: 44, 4 | valueDecimals: 2, 5 | valuePrefix: '$', 6 | valueSuffix: ' USD' 7 | } 8 | -------------------------------------------------------------------------------- /docs/_static/columnrange-example-horizontal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/columnrange-example-horizontal.png -------------------------------------------------------------------------------- /docs/_static/highcharts-for-python-dark-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/highcharts-for-python-dark-32x32.png -------------------------------------------------------------------------------- /docs/_static/linear-regression-angle-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/linear-regression-angle-example.png -------------------------------------------------------------------------------- /docs/_static/linear-regression-slope-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/linear-regression-slope-example.png -------------------------------------------------------------------------------- /docs/_static/organization-example-horizontal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/organization-example-horizontal.png -------------------------------------------------------------------------------- /docs/_static/tutorials/census-time-series-01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/tutorials/census-time-series-01.png -------------------------------------------------------------------------------- /docs/_static/tutorials/census-time-series-02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/tutorials/census-time-series-02.png -------------------------------------------------------------------------------- /docs/_static/tutorials/census-time-series-03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/tutorials/census-time-series-03.png -------------------------------------------------------------------------------- /docs/_static/tutorials/census-time-series-04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/tutorials/census-time-series-04.png -------------------------------------------------------------------------------- /docs/_static/tutorials/census-time-series-05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/tutorials/census-time-series-05.png -------------------------------------------------------------------------------- /docs/_static/tutorials/census-time-series-06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/tutorials/census-time-series-06.png -------------------------------------------------------------------------------- /docs/_static/tutorials/census-time-series-07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/tutorials/census-time-series-07.png -------------------------------------------------------------------------------- /docs/_static/tutorials/census-time-series-08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/tutorials/census-time-series-08.png -------------------------------------------------------------------------------- /docs/_static/tutorials/census-time-series-09.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/tutorials/census-time-series-09.png -------------------------------------------------------------------------------- /docs/_static/tutorials/census-time-series-10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/tutorials/census-time-series-10.png -------------------------------------------------------------------------------- /tests/input_files/caption/01.js: -------------------------------------------------------------------------------- 1 | { 2 | align: 'center', 3 | text: 'Test Text for the Caption', 4 | verticalAlign: 'top', 5 | x: 123, 6 | y: -123 7 | } 8 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/position/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | align: 'invalid value', 3 | verticalAlign: 'top', 4 | x: 'not a number', 5 | y: 10 6 | } 7 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/funnel/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | height: 'invalid value', 3 | neckHeight: '15%', 4 | neckWidth: 36, 5 | reversed: false, 6 | width: 320 7 | } 8 | -------------------------------------------------------------------------------- /tests/input_files/subtitle/02.js: -------------------------------------------------------------------------------- 1 | { 2 | align: 'left', 3 | floating: true, 4 | text: 'Title aligned left', 5 | verticalAlign: 'middle', 6 | x: 70, 7 | y: 40 8 | } 9 | -------------------------------------------------------------------------------- /docs/_static/highcharts-for-python-light-150x149.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/highcharts-for-python-light-150x149.png -------------------------------------------------------------------------------- /docs/_static/linear-regression-intercept-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/linear-regression-intercept-example.png -------------------------------------------------------------------------------- /docs/_static/tutorials/census-time-series-csv-01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/tutorials/census-time-series-csv-01.png -------------------------------------------------------------------------------- /tests/input_files/plot_options/heatmap/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | borderRadius: 'invalid value', 3 | colsize: 1, 4 | nullColor: '#ccc', 5 | pointPadding: 6, 6 | rowsize: 1 7 | } 8 | -------------------------------------------------------------------------------- /tests/input_files/tooltips/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | borderRadius: 3, 3 | borderWidth: 'not-a-number', 4 | valueDecimals: 2, 5 | valuePrefix: '$', 6 | valueSuffix: ' USD' 7 | } 8 | -------------------------------------------------------------------------------- /docs/support.rst: -------------------------------------------------------------------------------- 1 | ############################################### 2 | Support for Highcharts for Python 3 | ############################################### 4 | 5 | .. include:: _support.rst -------------------------------------------------------------------------------- /highcharts_core/options/accessibility/high_contrast_theme.py: -------------------------------------------------------------------------------- 1 | from highcharts_core.metaclasses import HighchartsMeta 2 | 3 | 4 | class HighContrastTheme(HighchartsMeta): 5 | pass 6 | -------------------------------------------------------------------------------- /docs/_static/columnpyramid-example-stacked-horizontal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/highcharts-for-python/highcharts-core/master/docs/_static/columnpyramid-example-stacked-horizontal.png -------------------------------------------------------------------------------- /tests/input_files/caption/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | align: 'center', 3 | text: 'Test Text for the Caption', 4 | verticalAlign: 'top', 5 | x: 'not a number', 6 | y: -123 7 | } 8 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/menus/01.js: -------------------------------------------------------------------------------- 1 | { 2 | onclick: function() { return true; }, 3 | text: 'My Menu Item', 4 | textKey: 'my-menu-item', 5 | separator: false 6 | } 7 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/menus/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | onclick: 'not a valid function', 3 | text: 'My Menu Item', 4 | textKey: 'my-menu-item', 5 | separator: False 6 | } 7 | -------------------------------------------------------------------------------- /tests/input_files/global_options/language/export_data/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | annotationHeader: 123, 3 | categoryDatetimeHeader: 'some string', 4 | categoryHeader: 'a different string' 5 | } 6 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/bar/05.js: -------------------------------------------------------------------------------- 1 | { 2 | lineColor: '#fff', 3 | upColor: '#999', 4 | 5 | depth: 10, 6 | edgeColor: '#999', 7 | edgeWidth: 1, 8 | groupZPadding: 4 9 | } 10 | -------------------------------------------------------------------------------- /tests/input_files/title/02.js: -------------------------------------------------------------------------------- 1 | { 2 | align: 'left', 3 | floating: true, 4 | margin: 30, 5 | text: 'Title aligned left', 6 | verticalAlign: 'middle', 7 | x: 70, 8 | y: 40 9 | } 10 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/zones/01.js: -------------------------------------------------------------------------------- 1 | { 2 | className: 'some-class-name1', 3 | color: '#999999', 4 | dashStyle: 'Solid', 5 | fillColor: '#cccccc', 6 | value: 123 7 | } 8 | -------------------------------------------------------------------------------- /tests/input_files/global_options/language/export_data/01.js: -------------------------------------------------------------------------------- 1 | { 2 | annotationHeader: 'some string', 3 | categoryDatetimeHeader: 'some string', 4 | categoryHeader: 'a different string' 5 | } 6 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/heatmap/03.js: -------------------------------------------------------------------------------- 1 | { 2 | tileShape: 'hexagon', 3 | 4 | borderRadius: 4, 5 | colsize: 1, 6 | nullColor: '#ccc', 7 | pointPadding: 6, 8 | rowsize: 1 9 | } 10 | -------------------------------------------------------------------------------- /tests/input_files/data/02.js: -------------------------------------------------------------------------------- 1 | { 2 | csvURL: '/test.csv', 3 | dataRefreshRate: 3, 4 | decimalPoint: '.', 5 | enablePolling: true, 6 | firstRowAsNames: true, 7 | itemDelimiter: ',' 8 | } 9 | -------------------------------------------------------------------------------- /tests/input_files/time/error-02.js: -------------------------------------------------------------------------------- 1 | // Not a valid JavaScript object literal (syntax error that will prevent parsing) 2 | { 3 | Date: 'not-a-date-class' 4 | timezone: 'Europe/Oslo' 5 | useUTC: false 6 | } 7 | -------------------------------------------------------------------------------- /tests/input_files/tooltips/03-diagram.js: -------------------------------------------------------------------------------- 1 | { 2 | nodeFormat: 'Node: {point.name}', 3 | borderRadius: 3, 4 | borderWidth: 44, 5 | valueDecimals: 2, 6 | valuePrefix: '$', 7 | valueSuffix: ' USD' 8 | } 9 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/zones/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | className: 'some-class-name1', 3 | color: '#999999', 4 | dashStyle: 'invalid value', 5 | fillColor: '#cccccc', 6 | value: 123 7 | } 8 | -------------------------------------------------------------------------------- /tests/pytest.ini: -------------------------------------------------------------------------------- 1 | [pytest] 2 | addopts = -nauto --no-cov-on-fail --cov=highcharts_core --pyspark false --inputs C:/Users/chris/github/hcp/highcharts-core/tests/input_files 3 | filterwarnings = 4 | ignore 5 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/heatmap/error-03.js: -------------------------------------------------------------------------------- 1 | { 2 | tileShape: 'invalid value', 3 | 4 | borderRadius: 4, 5 | colsize: 1, 6 | nullColor: '#ccc', 7 | pointPadding: 6, 8 | rowsize: 1 9 | } 10 | -------------------------------------------------------------------------------- /tests/input_files/title/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | align: 'invalid value', 3 | floating: true, 4 | margin: 30, 5 | text: 'Title aligned left', 6 | verticalAlign: 'middle', 7 | x: 70, 8 | y: 40 9 | } 10 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/animation/01.js: -------------------------------------------------------------------------------- 1 | { 2 | complete: function () { return true; }, 3 | defer: 5, 4 | duration: 30, 5 | easing: 'easing', 6 | step: function () { return true; } 7 | } 8 | -------------------------------------------------------------------------------- /tests/input_files/legend/navigation/01.js: -------------------------------------------------------------------------------- 1 | { 2 | activeColor: '#fff', 3 | animation: true, 4 | arrowSize: 8, 5 | enabled: true, 6 | inactiveColor: '#ccc', 7 | style: 'some style string' 8 | } 9 | -------------------------------------------------------------------------------- /tests/input_files/subtitle/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | align: 'invalid value', 3 | floating: true, 4 | margin: 30, 5 | text: 'Title aligned left', 6 | verticalAlign: 'middle', 7 | x: 70, 8 | y: 40 9 | } 10 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/buttons/01.js: -------------------------------------------------------------------------------- 1 | { 2 | enabled: true, 3 | text: 'Button Label', 4 | theme: { 5 | 'fill': '#fff', 6 | 'stroke': '#ccc' 7 | }, 8 | y: 0 9 | } 10 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/events/03.js: -------------------------------------------------------------------------------- 1 | { 2 | closePopup: function (event) { return true; }, 3 | selectButton: function (event) {return true;}, 4 | showPopup: function(event) {return true;} 5 | } 6 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/patterns/02.js: -------------------------------------------------------------------------------- 1 | { 2 | aspectRatio: 0.5, 3 | backgroundColor: '#999999', 4 | id: 'some_id_goes_here', 5 | opacity: 0.5, 6 | width: 120, 7 | x: 5, 8 | y: 10 9 | } 10 | -------------------------------------------------------------------------------- /tests/input_files/caption/02.js: -------------------------------------------------------------------------------- 1 | { 2 | align: 'center', 3 | floating: true, 4 | margin: 20, 5 | text: 'Test Text for the Caption', 6 | verticalAlign: 'top', 7 | x: 123, 8 | y: -123 9 | } 10 | -------------------------------------------------------------------------------- /tests/input_files/headless_export/basic.json: -------------------------------------------------------------------------------- 1 | {"xAxis":{"categories":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},"series":[{"data":[1,3,2,4],"type":"line"},{"data":[5,3,4,2],"type":"line"}]} 2 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/events/error-03.js: -------------------------------------------------------------------------------- 1 | { 2 | closePopup: function (event) { return true; }, 3 | selectButton: function (event) {return true;}, 4 | showPopup": function(event) {return true;} 5 | } 6 | -------------------------------------------------------------------------------- /tests/input_files/no_data/02.js: -------------------------------------------------------------------------------- 1 | { 2 | attr: { 3 | 'stroke': '#ff0000', 4 | 'stroke-width': 2, 5 | 'rotation': 45, 6 | 'd': ['M', 10, 10, 'L', 30, 30, 'z'] 7 | }, 8 | useHTML: true 9 | } 10 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/buttons/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | enabled: true, 3 | text: 123 4 | theme: { 5 | fill: '#fff', 6 | stroke: '#ccc' 7 | }, 8 | y: 'not a valid number' 9 | } 10 | -------------------------------------------------------------------------------- /highcharts_core/options/axes/z_axis.py: -------------------------------------------------------------------------------- 1 | from highcharts_core.options.axes.numeric import NumericAxis 2 | 3 | 4 | class ZAxis(NumericAxis): 5 | """Configuration settings for the Z axis or depth axis in 3D charts.""" 6 | pass 7 | -------------------------------------------------------------------------------- /tests/input_files/data/01.js: -------------------------------------------------------------------------------- 1 | { 2 | csvURL: 'https://www.somewhere.dev/test.csv', 3 | dataRefreshRate: 3, 4 | decimalPoint: '.', 5 | enablePolling: true, 6 | firstRowAsNames: true, 7 | itemDelimiter: ',' 8 | } 9 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/animation/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | complete: function () { return true; }, 3 | defer: 5, 4 | duration: 'not a number', 5 | easing: 'easing', 6 | step: function () { return true; } 7 | } 8 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/patterns/error-03.js: -------------------------------------------------------------------------------- 1 | { 2 | aspectRatio: 0.5, 3 | backgroundColor: '#999999', 4 | id: 'some_id_goes_here', 5 | opacity: 0.5, 6 | width: 'not a number', 7 | x: 5, 8 | y: 10 9 | } 10 | -------------------------------------------------------------------------------- /tests/input_files/data/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | csvURL: 'not a valid URL', 3 | dataRefreshRate: 'not a valid number', 4 | decimalPoint: '.', 5 | enablePolling: True, 6 | firstRowAsNames: True, 7 | itemDelimiter: ',' 8 | } 9 | -------------------------------------------------------------------------------- /tests/input_files/legend/navigation/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | activeColor: '#fff', 3 | animation: 'not animation options', 4 | arrowSize: 8, 5 | enabled: true, 6 | inactiveColor: '#ccc', 7 | style: 'some style string' 8 | } 9 | -------------------------------------------------------------------------------- /tests/input_files/responsive/01.js: -------------------------------------------------------------------------------- 1 | { 2 | rules: [ 3 | { 4 | condition: { 5 | maxHeight: 20, 6 | maxWidth: 30, 7 | minHeight: 10, 8 | minWidth: 10 9 | } 10 | } 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /tests/input_files/credits/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | enabled: true, 3 | href: 'not a valid URL', 4 | style: { 5 | color: '#cccccc', 6 | fontSize: '12px' 7 | }, 8 | text: 'Test Text for the Credits label' 9 | } 10 | -------------------------------------------------------------------------------- /tests/input_files/series/base/bugfix162.csv: -------------------------------------------------------------------------------- 1 | task_id,name,start,end,parent,dependency 2 | 1,DoThing1,2023-01-01,2023-02-01,, 3 | 2,DoThing1-sub1,2023-01-11,2023-01-14,1, 4 | 3,DoThing1-sub2,2023-01-01,2023-02-01,1,2 5 | 4,DoThing2,2023-02-02,2023-03-01,, -------------------------------------------------------------------------------- /tests/input_files/credits/02.js: -------------------------------------------------------------------------------- 1 | { 2 | enabled: true, 3 | href: 'https://www.somewhere.com', 4 | style: { 5 | color: '#cccccc', 6 | fontSize: '12px' 7 | }, 8 | text: 'Test Text for the Credits label' 9 | } 10 | -------------------------------------------------------------------------------- /tests/input_files/pane/01.js: -------------------------------------------------------------------------------- 1 | { 2 | background: [{ 3 | className: 'test-class-name', 4 | innerRadius: '24%', 5 | shape: 'circle' 6 | }], 7 | center: ['50%', '50%'], 8 | size: 120, 9 | startAngle: 0 10 | } 11 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/events/01.js: -------------------------------------------------------------------------------- 1 | { 2 | addSeries: function(event) { return true;}, 3 | afterPrint: function(event) {return true;}, 4 | click: function(event) { return true; }, 5 | selection: function(event) { return true; } 6 | } 7 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/events/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | addSeries: 'not a valid function', 3 | afterPrint: function(event) {return true;}, 4 | click: function(event) { return true; }, 5 | selection: function(event) { return true; } 6 | } 7 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/events/error-08.js: -------------------------------------------------------------------------------- 1 | { 2 | click: 'not a valid function', 3 | mousemove: function(event) { return true; }, 4 | mouseout: function(event) { return true; }, 5 | mouseover: function(event) { return true; } 6 | } 7 | -------------------------------------------------------------------------------- /docs/testing.rst: -------------------------------------------------------------------------------- 1 | ####################################### 2 | Testing Highcharts for Python 3 | ####################################### 4 | 5 | .. contents:: 6 | :depth: 3 7 | :backlinks: entry 8 | 9 | ------------- 10 | 11 | .. automodule:: tests 12 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/events/08.js: -------------------------------------------------------------------------------- 1 | { 2 | click: function(event) { return true; }, 3 | mousemove: function(event) { return true; }, 4 | mouseout: function(event) { return true; }, 5 | mouseover: function(event) { return true; } 6 | } 7 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/date_time_label_formats/01.js: -------------------------------------------------------------------------------- 1 | { 2 | day: 'test', 3 | hour: 'test', 4 | millisecond: 'test', 5 | minute: 'test', 6 | month: 'test', 7 | second: 'test', 8 | week: 'test', 9 | year: 'test' 10 | } 11 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/packedbubble/01.js: -------------------------------------------------------------------------------- 1 | { 2 | displayNegative: false, 3 | maxSize: 36, 4 | minSize: 12, 5 | parentNode: { 6 | allowPointSelect: true 7 | }, 8 | sizeBy: 'area', 9 | useSimulation: true, 10 | zThreshold: 246 11 | } 12 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/date_time_label_formats/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | day: 12345, 3 | hour: 'test', 4 | millisecond: 'test', 5 | minute: 'test', 6 | month: 'test', 7 | second: 'test', 8 | week: 'test', 9 | year: 'test' 10 | } 11 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/events/error-07.js: -------------------------------------------------------------------------------- 1 | { 2 | afterBreaks: function(event) { return true; }, 3 | afterSetExtremes: 'not a valid function', 4 | pointBreak: function(event) { return true; }, 5 | setExtremes: function(event) { return true; } 6 | } 7 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/events/07.js: -------------------------------------------------------------------------------- 1 | { 2 | afterBreaks: function(event) { return true; }, 3 | afterSetExtremes: function(event) { return true; }, 4 | pointBreak: function(event) { return true; }, 5 | setExtremes: function(event) { return true; } 6 | } 7 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/gradients/02.js: -------------------------------------------------------------------------------- 1 | { 2 | radialGradient: { 3 | cx: 0.123, 4 | cy: 0.456, 5 | r: 0.789 6 | }, 7 | stops: [ 8 | [0.123, '#cccccc'], 9 | [0.456, '#ff0000'], 10 | [1, '#00ff00'] 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /tests/input_files/pane/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | background: [{ 3 | className: 'test-class-name', 4 | innerRadius: '24%', 5 | shape: 'circle' 6 | }], 7 | center: ['50%', '30%', '75%'], 8 | size: 120, 9 | startAngle: 0 10 | } 11 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/packedbubble/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | displayNegative: false, 3 | maxSize: 'invalid value', 4 | minSize: 12, 5 | parentNode: { 6 | allowPointSelect: true 7 | }, 8 | sizeBy: 'area', 9 | useSimulation: true, 10 | zThreshold: 246 11 | } 12 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/gradients/error-03.js: -------------------------------------------------------------------------------- 1 | { 2 | radialGradient: { 3 | cx: 123, 4 | cy: 0.456, 5 | r: 0.789 6 | }, 7 | stops: [ 8 | [0.123, '#cccccc', 123], 9 | [0.456, '#ff0000'], 10 | [1, '#00ff00'] 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /docs/history.rst: -------------------------------------------------------------------------------- 1 | ***************** 2 | Release History 3 | ***************** 4 | 5 | .. sidebar:: Contributors 6 | 7 | .. include:: _contributors.rst 8 | 9 | .. contents:: 10 | :depth: 3 11 | :backlinks: entry 12 | 13 | ----------- 14 | 15 | .. include:: ../CHANGES.rst 16 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/bubble/01.js: -------------------------------------------------------------------------------- 1 | { 2 | displayNegative: false, 3 | jitter: { 4 | x: 123, 5 | y: 456 6 | }, 7 | maxSize: 24, 8 | minSize: 6, 9 | sizeBy: 'width', 10 | sizeByAbsoluteValue: true, 11 | zMax: 6, 12 | zMin: 3, 13 | zThreshold: 50 14 | } 15 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/markers/01.js: -------------------------------------------------------------------------------- 1 | { 2 | enabled: true, 3 | fillColor: '#cccccc', 4 | height: 24, 5 | lineWidth: 2, 6 | radius: 2, 7 | states: { 8 | hover: { 9 | enabled: true 10 | } 11 | }, 12 | symbol: 'circle', 13 | width: 48 14 | } 15 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/events/04.js: -------------------------------------------------------------------------------- 1 | { 2 | click: function(event) { return true; }, 3 | drag: function(event) { return true; }, 4 | drop: function(event) { return true; }, 5 | mouseOut: function(event) { return true; }, 6 | mouseOver: function(event) { return true; } 7 | } 8 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/events/error-05.js: -------------------------------------------------------------------------------- 1 | { 2 | afterAnimate: function(event) { return true; }, 3 | click: 'not a valid function', 4 | hide: function(event) { return true; }, 5 | mouseOut: function(event) { return true; }, 6 | show: function(event) { return true; } 7 | } 8 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/markers/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | fillColor: '#cccccc', 3 | enabled: True, 4 | height: 24, 5 | lineWidth: 2, 6 | radius: 2, 7 | states: { 8 | hover: { 9 | enabled: True 10 | } 11 | }, 12 | symbol: 'circle', 13 | width: 48 14 | } 15 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/events/05.js: -------------------------------------------------------------------------------- 1 | { 2 | afterAnimate: function(event) { return true; }, 3 | click: function(event) { return true; }, 4 | hide: function(event) { return true; }, 5 | mouseOut: function(event) { return true; }, 6 | show: function(event) { return true; } 7 | } 8 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/events/error-04.js: -------------------------------------------------------------------------------- 1 | { 2 | click: function(event) { return true; }, 3 | drag: function(event) { return true; }, 4 | drop: function(event) { return true; }, 5 | mouseOut: function(event) { return true; }, 6 | mouseOver:: function(event) { return true; } 7 | } 8 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/gradients/01.js: -------------------------------------------------------------------------------- 1 | { 2 | linearGradient: { 3 | x1: 0.123, 4 | x2: 0.567, 5 | y1: 0.89, 6 | y2: 0.987 7 | }, 8 | stops: [ 9 | [0.123, '#cccccc'], 10 | [0.456, '#ff0000'], 11 | [1, '#00ff00'] 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /tests/input_files/exporting/csv/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | annotations: { 3 | itemDelimiter: '; ', 4 | join: True 5 | }, 6 | columnHeaderFormatter: function () { return true; }, 7 | dateFormat: 123, 8 | decimalPoint: '.', 9 | itemDelimiter: ',', 10 | lineDelimiter: '\n' 11 | } 12 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/gradients/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | linearGradient: { 3 | x1: 123, 4 | x2: 0.567, 5 | y1: 0.891, 6 | y2: 0.987 7 | }, 8 | stops: [ 9 | [0.123, '#cccccc', 124], 10 | [0.456, '#ff0000'], 11 | [1, '#00ff00'] 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /tests/input_files/exporting/csv/01.js: -------------------------------------------------------------------------------- 1 | { 2 | annotations: { 3 | itemDelimiter: '; ', 4 | join: true 5 | }, 6 | columnHeaderFormatter: function () { return true; }, 7 | dateFormat: 'format string', 8 | decimalPoint: '.', 9 | itemDelimiter: ',', 10 | lineDelimiter: ` 11 | ` 12 | } 13 | -------------------------------------------------------------------------------- /tests/input_files/navigation/bindings/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | className: 'CircleAnnotationBinding', 3 | init: 'some-event-marker', 4 | start: 'some-event-marker', 5 | steps: [ 6 | 'some-event-marker', 7 | 'some-event-marker', 8 | 'some-event-marker' 9 | ], 10 | end: 123 11 | } 12 | -------------------------------------------------------------------------------- /tests/input_files/pane/02.js: -------------------------------------------------------------------------------- 1 | { 2 | background: [ 3 | { 4 | className: 'test-class-name', 5 | innerRadius: '24%', 6 | shape: 'circle' 7 | }, 8 | { 9 | innerRadius: '35%', 10 | } 11 | ], 12 | center: ['50%', '50%'], 13 | size: 120, 14 | startAngle: 0 15 | } 16 | -------------------------------------------------------------------------------- /tests/input_files/navigation/bindings/01.js: -------------------------------------------------------------------------------- 1 | { 2 | className: 'CircleAnnotationBinding', 3 | init: 'some-event-marker', 4 | start: 'some-event-marker', 5 | steps: [ 6 | 'some-event-marker', 7 | 'some-event-marker', 8 | 'some-event-marker' 9 | ], 10 | end: 'some-event-marker' 11 | } 12 | -------------------------------------------------------------------------------- /tests/input_files/series/data/collections/02-input.js: -------------------------------------------------------------------------------- 1 | { 2 | ndarray: [ 3 | [0.0, 15.0], 4 | [10.0, -50.0], 5 | [20.0, -56.5], 6 | [30.0, -46.5], 7 | [40.0, -22.1], 8 | [50.0, -2.5], 9 | [60.0, -27.7], 10 | [70.0, -55.7], 11 | [80.0, -76.5] 12 | ] 13 | } -------------------------------------------------------------------------------- /tests/input_files/series/pictorial/01.js: -------------------------------------------------------------------------------- 1 | { 2 | id: 'some-id-goes-here', 3 | index: 3, 4 | legendIndex: 3, 5 | name: 'Series Name Goes Here', 6 | grouping: false, 7 | groupPadding: 6, 8 | maxPointWidth: 12, 9 | minPointLength: 12, 10 | pointPadding: 6, 11 | pointRange: 24, 12 | pointWidth: 12, 13 | type: 'pictorial' 14 | } -------------------------------------------------------------------------------- /requirements.dev.txt: -------------------------------------------------------------------------------- 1 | esprima==4.0.1 2 | pytest==7.1.2 3 | pytest-cov==3.0.0 4 | pytest-xdist==2.5.0 5 | python-dotenv>=0.20.0 6 | pytz==2022.1 7 | Sphinx==6.1.3 8 | sphinx-rtd-theme==1.2.0 9 | sphinx-toolbox>=3.6.0 10 | sphinx-tabs==3.4.1 11 | tox==4.4.6 12 | requests==2.32.0 13 | validator-collection==1.5.0 14 | anthropic==0.3.11 15 | dill==0.3.7 16 | openai==0.28.0 -------------------------------------------------------------------------------- /tests/input_files/global_options/language/accessibility/series/01.js: -------------------------------------------------------------------------------- 1 | { 2 | arearange: 'Area Range', 3 | areasplinerange: 'Area Spline Range', 4 | boxplot: 'Boxplot', 5 | bubble: 'Bubble', 6 | columnrange: 'Column Range', 7 | errorbar: 'Errorbar', 8 | funnel: 'Funnel', 9 | pyramid: 'Pyramid', 10 | waterfall: 'Waterfall' 11 | } 12 | -------------------------------------------------------------------------------- /tests/input_files/global_options/language/accessibility/series/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | arearange: 123, 3 | areasplinerange: 'Area Spline Range', 4 | boxplot: 'Boxplot', 5 | bubble: 'Bubble', 6 | columnrange: 'Column Range', 7 | errorbar: 'Errorbar', 8 | funnel: 'Funnel', 9 | pyramid: 'Pyramid', 10 | waterfall: 'Waterfall' 11 | } 12 | -------------------------------------------------------------------------------- /tests/input_files/series/bar/05.js: -------------------------------------------------------------------------------- 1 | { 2 | data: [ 3 | { 4 | isIntermediateSum: true, 5 | isSum: true 6 | }, 7 | { 8 | isIntermediateSum: true, 9 | isSum: true 10 | } 11 | ], 12 | lineColor: '#fff', 13 | upColor: '#999', 14 | 15 | depth: 10, 16 | edgeColor: '#999', 17 | edgeWidth: 1, 18 | groupZPadding: 4 19 | } 20 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/buttons/05.js: -------------------------------------------------------------------------------- 1 | { 2 | 'fill': '#ccc', 3 | 'padding': 6, 4 | 'stroke': '#000', 5 | 'states': { 6 | 'hover': { 7 | 'style': { 8 | 'color': '#000' 9 | } 10 | } 11 | }, 12 | 'style': { 13 | 'fontSize': '30px', 14 | 'color': '#888' 15 | }, 16 | } -------------------------------------------------------------------------------- /tests/input_files/utility_classes/patterns/01.js: -------------------------------------------------------------------------------- 1 | { 2 | animation: { 3 | defer: 5 4 | }, 5 | patternOptions: { 6 | aspectRatio: 0.5, 7 | backgroundColor: '#999999', 8 | id: 'some_id_goes_here', 9 | opacity: 0.5, 10 | width: 120, 11 | x: 5, 12 | y: 10 13 | }, 14 | patternIndex: 2 15 | } 16 | -------------------------------------------------------------------------------- /docs/_static/square-check-solid.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/input_files/no_data/01.js: -------------------------------------------------------------------------------- 1 | { 2 | attr: { 3 | 'stroke': '#ff0000', 4 | 'stroke-width': 2, 5 | 'rotation': 45, 6 | 'd': ['M', 10, 10, 'L', 30, 30, 'z'] 7 | }, 8 | position: { 9 | align: 'center', 10 | verticalAlign: 'top', 11 | x: 10, 12 | y: 15 13 | }, 14 | useHTML: false 15 | } 16 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/patterns/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | animation: { 3 | defer: 5 4 | }, 5 | patternOptions: { 6 | aspectRatio: 0.5, 7 | backgroundColor: '#999999', 8 | id: 'some_id_goes_here', 9 | opacity: 0.5, 10 | width: 120, 11 | x: 5, 12 | y: 10 13 | }, 14 | patternIndex: 'not an integer' 15 | } 16 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/states/02.js: -------------------------------------------------------------------------------- 1 | { 2 | hover: { 3 | animation: { 4 | duration: 123 5 | }, 6 | borderColor: '#cccccc', 7 | brightness: 0.3, 8 | enabled: true 9 | }, 10 | inactive: { 11 | enabled: false 12 | }, 13 | select: { 14 | color: '#ff0000', 15 | enabled: true, 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tests/input_files/axes/x_axis/01.js: -------------------------------------------------------------------------------- 1 | { 2 | crosshair: { 3 | className: 'some-class-name', 4 | color: '#ccc', 5 | dashStyle: 'Dash', 6 | snap: true, 7 | width: 40, 8 | zIndex: 6 9 | }, 10 | height: 60, 11 | left: 5, 12 | lineColor: '#999', 13 | lineWidth: 1, 14 | showEmpty: true, 15 | top: 340, 16 | width: 300 17 | } 18 | -------------------------------------------------------------------------------- /tests/input_files/responsive/02.js: -------------------------------------------------------------------------------- 1 | { 2 | rules: [ 3 | { 4 | condition: { 5 | maxHeight: 20, 6 | maxWidth: 30, 7 | minHeight: 10, 8 | minWidth: 10 9 | } 10 | }, 11 | { 12 | condition: { 13 | maxHeight: 123.45, 14 | maxWidth: 543.21, 15 | minHeight: 678.9, 16 | minWidth: 321 17 | } 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/menus/02.js: -------------------------------------------------------------------------------- 1 | { 2 | item1: { 3 | onclick: """function() { return true; }""", 4 | text: 'My Menu Item', 5 | textKey: 'my-menu-item', 6 | separator: false 7 | }, 8 | item2: { 9 | onclick: """function() { return true; }""", 10 | text: 'Second Menu Item', 11 | textKey: 'my-menu-item2', 12 | separator: false 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/zones/02.js: -------------------------------------------------------------------------------- 1 | { 2 | className: 'classname-1', 3 | from: 1, 4 | marker: { 5 | enabled: true, 6 | fillColor: '#cccccc', 7 | height: 24, 8 | lineWidth: 2, 9 | radius: 2, 10 | states: { 11 | hover: { 12 | enabled: true 13 | } 14 | }, 15 | symbol: 'circle', 16 | width: 48 17 | }, 18 | to: 123 19 | } 20 | -------------------------------------------------------------------------------- /tests/input_files/axes/x_axis/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | crosshair: { 3 | className: 'some-class-name', 4 | color: '#ccc', 5 | dashStyle: 'Dash', 6 | snap: True, 7 | width: 40, 8 | zIndex: 6 9 | }, 10 | height: 60, 11 | left: 'not a valid value', 12 | lineColor: '#999', 13 | lineWidth: 1, 14 | showEmpty: True, 15 | top: 340, 16 | width: 300 17 | } 18 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/menus/error-03.js: -------------------------------------------------------------------------------- 1 | { 2 | item1: { 3 | onclick: """function() { return true; }""", 4 | text: 'My Menu Item', 5 | textKey: 'my-menu-item', 6 | separator: False 7 | }, 8 | item2: { 9 | onclick: """function() { return true; }""", 10 | text: 'Second Menu Item', 11 | textKey: 'my-menu-item2', 12 | separator: False 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/area/01.js: -------------------------------------------------------------------------------- 1 | { 2 | fillColor: '#ccc', 3 | fillOpacity: 0.7, 4 | lineColor: { 5 | radialGradient: { 6 | cx: 0.123, 7 | cy: 0.456, 8 | r: 0.789 9 | }, 10 | stops: [ 11 | [0.123, '#cccccc'], 12 | [0.456, '#ff0000'], 13 | [1, '#00ff00'] 14 | ] 15 | }, 16 | negativeFillColor: '#ccc', 17 | trackByArea: true 18 | } 19 | -------------------------------------------------------------------------------- /tests/input_files/tooltips/04-diagram.js: -------------------------------------------------------------------------------- 1 | { 2 | nodeFormatter: function () { 3 | // The first returned item is the header, subsequent items are the 4 | // points 5 | return ['' + this.x + ''].concat( 6 | this.points ? 7 | this.points.map(function (point) { 8 | return point.series.name + ': ' + point.y + 'm'; 9 | }) : [] 10 | ); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/area/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | fillColor: '#ccc', 3 | fillOpacity: 0.7, 4 | lineColor: { 5 | radialGradient: { 6 | cx: 0.123, 7 | cy: 0.456, 8 | r: 0.789 9 | }, 10 | stops: [ 11 | [0.123, '#cccccc'], 12 | [0.456, '#ff0000'], 13 | [1, '#00ff00'] 14 | ] 15 | }, 16 | negativeFillColor: 123, 17 | trackByArea: true 18 | } 19 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/zones/error-03.js: -------------------------------------------------------------------------------- 1 | { 2 | className: 'classname-1', 3 | from: 1, 4 | marker: { 5 | fillColor: '#cccccc', 6 | enabled: true, 7 | height: 'not a number', 8 | lineWidth: 2, 9 | radius: 2, 10 | states: { 11 | hover: { 12 | enabled: true 13 | } 14 | }, 15 | symbol: 'circle', 16 | width: 48 17 | }, 18 | to: 123 19 | } 20 | -------------------------------------------------------------------------------- /tests/input_files/boost/01.js: -------------------------------------------------------------------------------- 1 | { 2 | allowForce: true, 3 | debug: { 4 | showSkipSummary: false, 5 | timeBufferCopy: true, 6 | timeKDTree: true, 7 | timeRendering: false, 8 | timeSeriesProcessing: true, 9 | timeSetup: true 10 | }, 11 | enabled: true, 12 | pixelRatio: 2, 13 | seriesThreshold: 5000, 14 | useGPUTranslations: true, 15 | usePreallocated: true 16 | } 17 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/bellcurve/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | fillColor: '#ccc', 3 | fillOpacity: 0.7, 4 | lineColor: { 5 | radialGradient: { 6 | cx: 0.123, 7 | cy: 0.456, 8 | r: 0.789 9 | }, 10 | stops: [ 11 | [0.123, '#cccccc'], 12 | [0.456, '#ff0000'], 13 | [1, '#00ff00'] 14 | ] 15 | }, 16 | negativeFillColor: 123, 17 | trackByArea: true 18 | } 19 | -------------------------------------------------------------------------------- /tests/input_files/tooltips/02.js: -------------------------------------------------------------------------------- 1 | { 2 | formatter: function () { 3 | // The first returned item is the header, subsequent items are the 4 | // points 5 | return ['' + this.x + ''].concat( 6 | this.points ? 7 | this.points.map(function (point) { 8 | return point.series.name + ': ' + point.y + 'm'; 9 | }) : [] 10 | ); 11 | }, 12 | split: true 13 | } 14 | -------------------------------------------------------------------------------- /tests/input_files/no_data/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | attr: { 3 | 'stroke': '#ff0000', 4 | 'stroke-width': 2, 5 | 'rotation': 45, 6 | 'd': ['M', 10, 10, 'L', 30, 30, 'z'], 7 | 'not a valid attribute key': 123 8 | }, 9 | position: { 10 | align: 'center', 11 | verticalAlign: 'top', 12 | x: 10, 13 | y: 15 14 | }, 15 | useHTML: false 16 | } 17 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/nodes/03.js: -------------------------------------------------------------------------------- 1 | { 2 | column: 2, 3 | level: 2, 4 | color: '#cccccc', 5 | colorIndex: 123, 6 | dataLabels: { 7 | align: 'center', 8 | allowOverlap: false, 9 | backgroundColor: '#cccccc', 10 | enabled: true, 11 | overflow: 'justify', 12 | shadow: false 13 | }, 14 | id: 'some-id-goes-here', 15 | name: 'My Node Name', 16 | offsetHorizontal: 10, 17 | offsetVertical: '5%' 18 | } 19 | -------------------------------------------------------------------------------- /requirements.dev.numpy.txt: -------------------------------------------------------------------------------- 1 | esprima==4.0.1 2 | pytest==7.1.2 3 | pytest-cov==3.0.0 4 | pytest-xdist==2.5.0 5 | python-dotenv>=0.20.0 6 | pytz==2022.1 7 | Sphinx==6.1.3 8 | sphinx-rtd-theme==1.2.0 9 | sphinx-toolbox>=3.6.0 10 | sphinx-tabs==3.4.1 11 | tox==4.4.6 12 | requests==2.32.0 13 | validator-collection==1.5.0 14 | anthropic==0.3.11 15 | dill==0.3.7 16 | openai==0.28.0 17 | IPython>=8.10.0 18 | pyspark>=3.3.0 19 | pandas>=1.3.3 20 | orjson>=3.7.7 21 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/nodes/01.js: -------------------------------------------------------------------------------- 1 | { 2 | color: '#cccccc', 3 | colorIndex: 123, 4 | dataLabels: { 5 | align: 'center', 6 | allowOverlap: false, 7 | backgroundColor: '#cccccc', 8 | enabled: true, 9 | overflow: 'justify', 10 | shadow: false 11 | }, 12 | id: 'some-id-goes-here', 13 | name: 'My Node Name', 14 | offsetHorizontal: 10, 15 | offsetVertical: '5%' 16 | } 17 | -------------------------------------------------------------------------------- /tests/input_files/boost/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | allowForce: true, 3 | debug: { 4 | showSkipSummary: false, 5 | timeBufferCopy: true, 6 | timeKDTree: true, 7 | timeRendering: false, 8 | timeSeriesProcessing: true, 9 | timeSetup: true 10 | }, 11 | enabled: true, 12 | pixelRatio: 'not a valid value', 13 | seriesThreshold: 5000, 14 | useGPUTranslations: true, 15 | usePreallocated: true 16 | } 17 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/nodes/error-04.js: -------------------------------------------------------------------------------- 1 | { 2 | column: 'not a nmber', 3 | level: 2, 4 | color: '#cccccc', 5 | colorIndex: 123, 6 | dataLabels: { 7 | align: 'center', 8 | allowOverlap: false, 9 | backgroundColor: '#cccccc', 10 | enabled: true, 11 | overflow: 'justify', 12 | shadow: false 13 | }, 14 | id: 'some-id-goes-here', 15 | name: 'My Node Name', 16 | offsetHorizontal: 10, 17 | offsetVertical: '5%' 18 | } 19 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/buttons/error-03.js: -------------------------------------------------------------------------------- 1 | { 2 | className: 'some-class-name', 3 | enabled: true, 4 | menuClassName: 'menu-class', 5 | menuItems: ['item1', 'item2'], 6 | onclick: 'not a valid function', 7 | symbol: 'menu', 8 | symbolFill: '#ccc', 9 | text: 'Button Label', 10 | theme: { 11 | fill: '#fff', 12 | stroke: '#ccc' 13 | }, 14 | titleKey: 'somevalue', 15 | x: 10, 16 | y: 0 17 | } 18 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/states/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | hover: { 3 | animation: { 4 | duration: 123 5 | }, 6 | borderColor: '#cccccc', 7 | brightness: 0.3, 8 | enabled: true 9 | }, 10 | inactive: 'not a valid object', 11 | normal: { 12 | animation: { 13 | defer: 24 14 | } 15 | }, 16 | select: { 17 | color: '#ff0000', 18 | enabled: true, 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/buttons/02.js: -------------------------------------------------------------------------------- 1 | { 2 | className: 'some-class-name', 3 | enabled: true, 4 | menuClassName: 'menu-class', 5 | menuItems: ['item1', 'item2'], 6 | onclick: function (event) { return true; }, 7 | symbol: 'menu', 8 | symbolFill: '#ccc', 9 | text: 'Button Label', 10 | theme: { 11 | 'fill': '#fff', 12 | 'stroke': '#ccc' 13 | }, 14 | titleKey: 'somevalue', 15 | x: 10, 16 | y: 0 17 | } 18 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/nodes/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | color: '#cccccc', 3 | colorIndex: 'not a number', 4 | dataLabels: { 5 | align: 'center', 6 | allowOverlap: false, 7 | backgroundColor: '#cccccc', 8 | enabled: true, 9 | overflow: 'justify', 10 | shadow: false 11 | }, 12 | id: 'some-id-goes-here', 13 | name: 'My Node Name', 14 | offsetHorizontal: 10, 15 | offsetVertical: 'not a valid number or % string' 16 | } 17 | -------------------------------------------------------------------------------- /tests/input_files/headless_export/with-chart-type.js: -------------------------------------------------------------------------------- 1 | { 2 | chart: { 3 | type: 'bar' 4 | }, 5 | title: { 6 | text: 'Fruit Consumption' 7 | }, 8 | xAxis: { 9 | categories: ['Apples', 'Bananas', 'Oranges'] 10 | }, 11 | yAxis: { 12 | title: { 13 | text: 'Fruit eaten' 14 | } 15 | }, 16 | series: [ 17 | { 18 | name: 'Jane', 19 | data: [1, 0, 4] 20 | }, 21 | { 22 | name: 'John', 23 | data: [5, 7, 3] 24 | }] 25 | } 26 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/buttons/03.js: -------------------------------------------------------------------------------- 1 | { 2 | align: 'left', 3 | buttonSpacing: 3, 4 | height: 28, 5 | symbolFill: '#ccc', 6 | symbolSize: 14, 7 | symbolStroke: '#333', 8 | symbolStrokeWidth: 1, 9 | symbolX: 12.5, 10 | symbolY: 10.5, 11 | useHTML: true, 12 | verticalAlign: 'top', 13 | width: 24, 14 | enabled: true, 15 | text: 'Test button', 16 | theme: { 17 | 'fill': '#fff', 18 | 'stroke': '#ccc' 19 | }, 20 | y: 0 21 | } -------------------------------------------------------------------------------- /highcharts_core/options/plot_options/spline.py: -------------------------------------------------------------------------------- 1 | from highcharts_core.options.plot_options.series import SeriesOptions 2 | 3 | 4 | class SplineOptions(SeriesOptions): 5 | """General options to apply to all Spline series types. 6 | 7 | A spline series is a special type of line series, where the segments between the 8 | data points are smoothed. 9 | 10 | .. figure:: ../../../_static/spline-example.png 11 | :alt: Spline Example Chart 12 | :align: center 13 | 14 | """ 15 | pass 16 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/states/01.js: -------------------------------------------------------------------------------- 1 | { 2 | hover: { 3 | animation: { 4 | duration: 123 5 | }, 6 | borderColor: '#cccccc', 7 | brightness: 0.3, 8 | enabled: true 9 | }, 10 | inactive: { 11 | enabled: true, 12 | opacity: 0.5 13 | }, 14 | normal: { 15 | animation: { 16 | defer: 24 17 | } 18 | }, 19 | select: { 20 | color: '#ff0000', 21 | enabled: true, 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | [metadata] 2 | license_file = LICENSE 3 | description_file = README.rst 4 | 5 | [coverage:run] 6 | branch = True 7 | source = highcharts_core 8 | omit = 9 | */__version__.py 10 | 11 | [coverage:report] 12 | exclude_lines = 13 | # Have to re-enable the standard pragma 14 | pragma: no cover 15 | # Don't complain if tests don't hit defensive assertion code: 16 | raise NotImplementedError 17 | # Don't complain if non-runnable code isn't run: 18 | if __name__ == .__main__.: 19 | ignore_errors = True 20 | -------------------------------------------------------------------------------- /docs/using/templates/_with_dict.rst: -------------------------------------------------------------------------------- 1 | If you are hoping to configure a simple set of template settings, one of the fastest 2 | ways to do so in your Python code is to instantiate your 3 | :class:`Chart ` instance from a simple 4 | :class:`dict ` using the ``.from_dict()`` method. 5 | 6 | .. tip:: 7 | 8 | This method is particularly helpful and easy to maintain if you are only using a 9 | *very* small subset of the `Highcharts JS `__ 10 | configuration options. 11 | -------------------------------------------------------------------------------- /tests/input_files/headless_export/with-series-types.js: -------------------------------------------------------------------------------- 1 | { 2 | chart: { 3 | type: 'bar' 4 | }, 5 | title: { 6 | text: 'Fruit Consumption' 7 | }, 8 | xAxis: { 9 | categories: ['Apples', 'Bananas', 'Oranges'] 10 | }, 11 | yAxis: { 12 | title: { 13 | text: 'Fruit eaten' 14 | } 15 | }, 16 | series: [ 17 | { 18 | name: 'Jane', 19 | data: [1, 0, 4], 20 | type: 'bar' 21 | }, 22 | { 23 | name: 'John', 24 | data: [5, 7, 3], 25 | type: 'bar' 26 | }] 27 | } 28 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/nodes/02.js: -------------------------------------------------------------------------------- 1 | { 2 | image: 'http://www.somewhere.com/', 3 | layout: 'normal', 4 | title: 'Grand High Muckety-Muck', 5 | column: 2, 6 | level: 2, 7 | color: '#cccccc', 8 | colorIndex: 123, 9 | dataLabels: { 10 | align: 'center', 11 | allowOverlap: false, 12 | backgroundColor: '#cccccc', 13 | enabled: true, 14 | overflow: 'justify', 15 | shadow: false 16 | }, 17 | id: 'some-id-goes-here', 18 | name: 'My Node Name', 19 | offsetHorizontal: 10, 20 | offsetVertical: '5%' 21 | } 22 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/treegraph/01.js: -------------------------------------------------------------------------------- 1 | { 2 | type: 'treegraph', 3 | animationLimit: 10, 4 | boostBlending: 'some-value-goes-here', 5 | boostThreshold: 5000, 6 | colorIndex: 2, 7 | crisp: true, 8 | cropThreshold: 500, 9 | findNearestPointBy: 'xy', 10 | getExtremesFromAll: true, 11 | relativeXValue: true, 12 | softThreshold: true, 13 | step: 'left', 14 | 15 | pointInterval: 5, 16 | pointIntervalUnit: 'day', 17 | pointStart: 1, 18 | stacking: 'normal', 19 | 20 | allowTraversingTree: true, 21 | colorByPoint: true 22 | } -------------------------------------------------------------------------------- /tests/input_files/utility_classes/breadcrumbs/01.js: -------------------------------------------------------------------------------- 1 | { 2 | buttonSpacing: 6, 3 | buttonTheme: { 4 | 'fill': '#fff' 5 | }, 6 | events: { 7 | click: function(event) { return true; } 8 | }, 9 | floating: true, 10 | format: 'some format string', 11 | formatter: function () { return true; }, 12 | relativeTo: 'plot', 13 | rtl: false, 14 | separator: { 15 | style: { 16 | 'some-key': 'some-value' 17 | }, 18 | text: '>' 19 | }, 20 | useHTML: false, 21 | zIndex: 3 22 | } 23 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/breadcrumbs/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | buttonSpacing: 6, 3 | buttonTheme: { 4 | fill: '#fff' 5 | }, 6 | events: { 7 | click: function(event) { return true; } 8 | }, 9 | floating: true, 10 | format: 'some format string', 11 | formatter: function () { return true; }, 12 | position: undefined, 13 | relativeTo: 'invalid value', 14 | rtl: false, 15 | separator: { 16 | text: '>', 17 | style: { 18 | some-key: 'some-value' 19 | } 20 | }, 21 | useHTML: false, 22 | zIndex: 3 23 | } 24 | -------------------------------------------------------------------------------- /highcharts_core/options/plot_options/pareto.py: -------------------------------------------------------------------------------- 1 | from highcharts_core.options.plot_options.series import SeriesOptions 2 | 3 | 4 | class ParetoOptions(SeriesOptions): 5 | """General options to apply to all Pareto series types. 6 | 7 | A pareto diagram is a type of chart that contains both bars and a line graph, 8 | where individual values are represented in descending order by bars, and the 9 | cumulative total is represented by the line. 10 | 11 | .. figure:: ../../../_static/pareto-example.png 12 | :alt: Pareto Example Chart 13 | :align: center 14 | 15 | """ 16 | pass 17 | -------------------------------------------------------------------------------- /docs/_contributors.rst: -------------------------------------------------------------------------------- 1 | * Chris Modzelewski (`@hcpchris `__ / `@insightindustry `__) 2 | * Erin Modzelewski (`@EBModz `__) 3 | * Jitendra Mishra (`@jmishra01 `__) 4 | * Byron Cook (`@ByronCook `__) 5 | * karlacio (`@karlacio `__) 6 | * Max Dugan Knight (`@maxduganknight `__) 7 | * Julien Bacquart (`@JulienBacquart `__) 8 | * Thomas Glezer (`@ThomasGL `__) -------------------------------------------------------------------------------- /tests/input_files/plot_options/wordcloud/01.js: -------------------------------------------------------------------------------- 1 | { 2 | allowExtendPlayingField: false, 3 | animationLimit: 10, 4 | borderColor: '#ccc', 5 | borderRadius: 2, 6 | borderWidth: 1, 7 | centerInCategory: true, 8 | colorByPoint: false, 9 | colorIndex: 2, 10 | colorKey: 'some-key-goes-here', 11 | colors: [ 12 | '#ccc', 13 | '#fff', 14 | '000000' 15 | ], 16 | edgeWidth: 1, 17 | maxFontSize: 36, 18 | minFontSize: 6, 19 | placementStrategy: 'center', 20 | rotation: { 21 | from: 0, 22 | orientations: 4, 23 | to: 135 24 | }, 25 | spiral: 'rectangle' 26 | } 27 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/wordcloud/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | allowExtendPlayingField: false, 3 | animationLimit: 10, 4 | borderColor: '#ccc', 5 | borderRadius: 'invalid value', 6 | borderWidth: 1, 7 | centerInCategory: true, 8 | colorByPoint: false, 9 | colorIndex: 2, 10 | colorKey: 'some-key-goes-here', 11 | colors: [ 12 | '#ccc', 13 | '#fff', 14 | '000000' 15 | ], 16 | edgeWidth: 1, 17 | maxFontSize: 36, 18 | minFontSize: 6, 19 | placementStrategy: 'center', 20 | rotation: { 21 | from: 0, 22 | orientations: 4, 23 | to: 135 24 | }, 25 | spiral: 'rectangle' 26 | } 27 | -------------------------------------------------------------------------------- /tests/input_files/utility_classes/nodes/error-03.js: -------------------------------------------------------------------------------- 1 | { 2 | 'color': '#cccccc', 3 | 'color_index': 123, 4 | 'column': 'not a number', 5 | 'data_labels': { 6 | 'align': 'center', 7 | 'allowOverlap': False, 8 | 'backgroundColor': '#cccccc', 9 | 'enabled': True, 10 | 'overflow': 'justify', 11 | 'shadow': False 12 | }, 13 | 'id': 'some-id-goes-here', 14 | 'image': 'http://www.somewhere.com/', 15 | 'layout': 'normal', 16 | 'level': 2, 17 | 'name': 'My Node Name', 18 | 'offset_horizontal': 10, 19 | 'offset_vertical': '5%', 20 | 'title': 123 21 | } 22 | -------------------------------------------------------------------------------- /tests/input_files/series/data/base/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | accessibility: { 3 | description: 'Some description goes here', 4 | enabled: true 5 | }, 6 | className: 'some-class-name', 7 | color: '#ccc', 8 | colorIndex: 2, 9 | custom: 'invalid value', 10 | description: 'Some description goes here', 11 | events: { 12 | click: function(event) { return true; }, 13 | drag: function(event) { return true; }, 14 | drop: function(event) { return true; }, 15 | mouseOut: function(event) { return true; } 16 | }, 17 | id: 'some-id-goes-here', 18 | labelrank: 3, 19 | name: 'Some Name Goes here', 20 | selected: false 21 | } 22 | -------------------------------------------------------------------------------- /tests/input_files/series/data/cartesian/error-02.js: -------------------------------------------------------------------------------- 1 | { 2 | accessibility: { 3 | description: 'Some description goes here', 4 | enabled: true 5 | }, 6 | className: 'some-class-name', 7 | color: '#ccc', 8 | colorIndex: 2, 9 | custom: 'invalid value', 10 | description: 'Some description goes here', 11 | events: { 12 | click: function(event) { return true; }, 13 | drag: function(event) { return true; }, 14 | drop: function(event) { return true; }, 15 | mouseOut: function(event) { return true; } 16 | }, 17 | id: 'some-id-goes-here', 18 | labelRank: 3, 19 | name: 'Some Name Goes here', 20 | selected: false 21 | } 22 | -------------------------------------------------------------------------------- /highcharts_core/options/axes/parallel_axes.py: -------------------------------------------------------------------------------- 1 | from typing import Optional 2 | from highcharts_core.options.axes.y_axis import YAxis 3 | 4 | 5 | class ParallelAxesOptions(YAxis): 6 | """Common options for all Y-axes rendered in a parallel coordinates plot. 7 | 8 | .. warning:: 9 | 10 | This feature requires ``modules/parallel-coordinates.js``. 11 | 12 | """ 13 | @property 14 | def _dot_path(self) -> Optional[str]: 15 | """The dot-notation path to the options key for the current class. 16 | 17 | :rtype: :class:`str ` or :obj:`None ` 18 | """ 19 | return 'chart.parallelAxes' 20 | -------------------------------------------------------------------------------- /tests/input_files/series/data/base/01.js: -------------------------------------------------------------------------------- 1 | { 2 | accessibility: { 3 | description: 'Some description goes here', 4 | enabled: true 5 | }, 6 | className: 'some-class-name', 7 | color: '#ccc', 8 | colorIndex: 2, 9 | custom: { 10 | 'some_key': 123, 11 | 'other_key': 456 12 | }, 13 | description: 'Some description goes here', 14 | events: { 15 | click: function(event) { return true; }, 16 | drag: function(event) { return true; }, 17 | drop: function(event) { return true; }, 18 | mouseOut: function(event) { return true; } 19 | }, 20 | id: 'some-id-goes-here', 21 | labelrank: 3, 22 | name: 'Some Name Goes here', 23 | selected: false 24 | } 25 | -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- 1 | # Minimal makefile for Sphinx documentation 2 | # 3 | 4 | # You can set these variables from the command line, and also 5 | # from the environment for the first two. 6 | SPHINXOPTS ?= 7 | SPHINXBUILD ?= sphinx-build 8 | SOURCEDIR = . 9 | BUILDDIR = _build 10 | 11 | # Put it first so that "make" without argument is like "make help". 12 | help: 13 | @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) 14 | 15 | .PHONY: help Makefile 16 | 17 | # Catch-all target: route all unknown targets to Sphinx using the new 18 | # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). 19 | %: Makefile 20 | @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) 21 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/gauge/01.js: -------------------------------------------------------------------------------- 1 | { 2 | colorIndex: 3, 3 | crisp: true, 4 | dial: { 5 | backgroundColor: '#ccc', 6 | baseLength: '80%', 7 | baseWidth: 120, 8 | borderColor: '#fff', 9 | borderWidth: 1, 10 | path: [1, 2, 3], 11 | radius: '80%', 12 | rearLength: '10%', 13 | topWidth: 80 14 | }, 15 | linecap: 'round', 16 | lineWidth: 1, 17 | overshoot: 12.5, 18 | pivot: { 19 | backgroundColor: '#ccc', 20 | borderColor: '#eee', 21 | borderWidth: 2, 22 | radius: 60 23 | }, 24 | pointInterval: 5, 25 | pointIntervalUnit: 'day', 26 | pointStart: 5, 27 | relativeXValue: true, 28 | shadow: false, 29 | wrap: false 30 | } 31 | -------------------------------------------------------------------------------- /tests/input_files/axes/color_axis/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | dataClassColor: 'tween', 3 | dataClasses: [ 4 | { 5 | color: '#ccc', 6 | from: 0, 7 | name: 'My Data Class', 8 | to: 100 9 | }, 10 | { 11 | color: '#fff', 12 | from: 100, 13 | name: 'My Second Data Class', 14 | to: 200 15 | } 16 | ], 17 | layout: 'horizontal', 18 | lineColor: '#fff', 19 | marker: { 20 | animation: { 21 | defer: 5 22 | }, 23 | color: '#ff0000', 24 | width: 10 25 | }, 26 | maxColor: '#999', 27 | minColor: '#ccc', 28 | showInLegend: true, 29 | stops: 'not a valid value' 30 | } 31 | -------------------------------------------------------------------------------- /tests/input_files/plot_options/gauge/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | colorIndex: 3, 3 | crisp: true, 4 | dial: { 5 | backgroundColor: '#ccc', 6 | baseLength: 'not a valid value', 7 | baseWidth: 120, 8 | borderColor: '#fff', 9 | borderWidth: 1, 10 | path: [1, 2, 3], 11 | radius: '80%', 12 | rearLength: '10%', 13 | topWidth: 80 14 | }, 15 | linecap: 'round', 16 | lineWidth: 1, 17 | overshoot: 12.5, 18 | pivot: { 19 | backgroundColor: '#ccc', 20 | borderColor: '#eee', 21 | borderWidth: 2, 22 | radius: 60 23 | }, 24 | pointInterval: 5, 25 | pointIntervalUnit: 'day', 26 | pointStart: 5, 27 | relativeXValue: true, 28 | shadow: false, 29 | wrap: false 30 | } 31 | -------------------------------------------------------------------------------- /docs/using/assembling_your_chart/_using_series_property.rst: -------------------------------------------------------------------------------- 1 | .. code-block:: python 2 | 3 | from highcharts_core.chart import Chart 4 | from highcharts_core.options.series.area import LineSeries 5 | from highcharts_core.options.series.bar import BarSeries 6 | 7 | # Create a Chart instance called "my_chart" with an empty set of options 8 | my_chart = Chart(options = {}) 9 | 10 | # Create a couple Series instances 11 | my_series1 = LineSeries() 12 | my_series2 = BarSeries() 13 | 14 | # Populate the options series list with the series you created. 15 | my_chart.options.series = [my_series1, my_series2] 16 | 17 | # Make a new one, and append it. 18 | my_series3 = LineSeries() 19 | my_chart.options.series.append(my_series3) 20 | -------------------------------------------------------------------------------- /tests/input_files/series/data/connections/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | from: 12345, 3 | to: 'some-id-goes-here', 4 | 5 | accessibility: { 6 | description: 'Some description goes here', 7 | enabled: true 8 | }, 9 | className: 'some-class-name', 10 | color: '#ccc', 11 | colorIndex: 2, 12 | custom: { 13 | 'some_key': 123, 14 | 'other_key': 456 15 | }, 16 | description: 'Some description goes here', 17 | events: { 18 | click: function(event) { return true; }, 19 | drag: function(event) { return true; }, 20 | drop: function(event) { return true; }, 21 | mouseOut: function(event) { return true; } 22 | }, 23 | id: 'some-id-goes-here', 24 | labelrank: 3, 25 | name: 'Some Name Goes here', 26 | selected: false 27 | } 28 | -------------------------------------------------------------------------------- /docs/using/rendering_your_visualizations/_as_web_content.rst: -------------------------------------------------------------------------------- 1 | .. tabs:: 2 | 3 | .. tab:: as a Highcharts JS Chart 4 | 5 | .. code-block:: python 6 | 7 | from highcharts_core.chart import Chart 8 | from highcharts_core.options.series.area import LineSeries 9 | 10 | my_chart = Chart(data = [0, 5, 3, 5], series_type = 'line') 11 | 12 | as_js_literal = my_chart.to_js_literal() 13 | 14 | # This will produce a string equivalent to: 15 | # 16 | # document.addEventListener('DOMContentLoaded', function() { 17 | # const myChart = Highcharts.chart('target_div', { 18 | # series: { 19 | # type: 'line', 20 | # data: [0, 5, 3, 5] 21 | # } 22 | # }); 23 | # }); 24 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: File a bug report to help us improve 4 | title: BUG 5 | labels: bug 6 | assignees: hcpchris 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **To Reproduce** 14 | Steps to reproduce the behavior: 15 | 1. When I attempt '...' using the following code: '...' 16 | 2. I receive '...' 17 | 18 | **Expected behavior** 19 | A clear and concise description of what you expected to happen. 20 | 21 | **Your Environment:** 22 | - OS: [e.g. Linux, Windows, etc.] 23 | - Python Version: [e.g. 3.10, 3.8, 3.11] 24 | - Highcharts JavaScript Version: [e.g. 10.2, 10.3, etc.] 25 | 26 | **Additional context** 27 | Add any other context about the problem here. 28 | -------------------------------------------------------------------------------- /tests/input_files/series/data/connections/01.js: -------------------------------------------------------------------------------- 1 | { 2 | from: 'some-id-goes-here', 3 | to: 'some-id-goes-here', 4 | 5 | accessibility: { 6 | description: 'Some description goes here', 7 | enabled: true 8 | }, 9 | className: 'some-class-name', 10 | color: '#ccc', 11 | colorIndex: 2, 12 | custom: { 13 | 'some_key': 123, 14 | 'other_key': 456 15 | }, 16 | description: 'Some description goes here', 17 | events: { 18 | click: function(event) { return true; }, 19 | drag: function(event) { return true; }, 20 | drop: function(event) { return true; }, 21 | mouseOut: function(event) { return true; } 22 | }, 23 | id: 'some-id-goes-here', 24 | labelrank: 3, 25 | name: 'Some Name Goes here', 26 | selected: false 27 | } 28 | -------------------------------------------------------------------------------- /tests/input_files/axes/plot_bands/01.js: -------------------------------------------------------------------------------- 1 | { 2 | borderColor: '#ccc', 3 | borderWidth: 1, 4 | className: 'some-class-name', 5 | color: '#999', 6 | events: { 7 | click: function(event) { return true; }, 8 | mousemove: function(event) { return true; }, 9 | mouseout: function(event) { return true; }, 10 | mouseover: function(event) { return true; } 11 | }, 12 | from: 123, 13 | id: 'some-id', 14 | label: { 15 | align: 'center', 16 | rotation: 0, 17 | style: 'some-style-string', 18 | text: 'The title of the plot band', 19 | textAlign: 'left', 20 | useHTML: false, 21 | verticalAlign: 'middle', 22 | x: -10, 23 | y: 100 24 | }, 25 | to: 456, 26 | zIndex: 3 27 | } 28 | -------------------------------------------------------------------------------- /tests/input_files/axes/plot_bands/02.js: -------------------------------------------------------------------------------- 1 | { 2 | className: 'some-class-name', 3 | color: '#fff', 4 | dashStyle: 'Dash', 5 | events: { 6 | click: function(event) { return true; }, 7 | mousemove: function(event) { return true; }, 8 | mouseout: function(event) { return true; }, 9 | mouseover: function(event) { return true; } 10 | }, 11 | label: { 12 | align: 'center', 13 | formatter: function() { return true; }, 14 | rotation: 0, 15 | style: 'some-style-string', 16 | text: 'The title of the plot band', 17 | textAlign: 'left', 18 | useHTML: false, 19 | verticalAlign: 'middle', 20 | x: -10, 21 | y: 100 22 | }, 23 | value: 123, 24 | width: 2, 25 | zIndex: 3 26 | } 27 | -------------------------------------------------------------------------------- /tests/input_files/axes/plot_bands/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | borderColor: '#ccc', 3 | borderWidth: 1, 4 | className: 'some-class-name', 5 | color: '#999', 6 | events: { 7 | click: function(event) { return true; }, 8 | mousemove: function(event) { return true; }, 9 | mouseout: function(event) { return true; }, 10 | mouseover: function(event) { return true; } 11 | }, 12 | from: 'invalid value', 13 | id: 'some-id', 14 | label: { 15 | align: 'center', 16 | rotation: 0, 17 | style: 'some-style-string', 18 | text: 'The title of the plot band', 19 | textAlign: 'left', 20 | useHTML: false, 21 | verticalAlign: 'middle', 22 | x: -10, 23 | y: 100 24 | }, 25 | to: 456, 26 | zIndex: 3 27 | } 28 | -------------------------------------------------------------------------------- /docs/api/chart.rst: -------------------------------------------------------------------------------- 1 | ################################################## 2 | :mod:`.chart ` 3 | ################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.chart 13 | 14 | ****************************************************** 15 | class: :class:`Chart ` 16 | ****************************************************** 17 | 18 | .. autoclass:: Chart 19 | :members: 20 | :inherited-members: 21 | :special-members: __str__, __repr__ 22 | 23 | .. collapse:: Class Inheritance 24 | 25 | .. inheritance-diagram:: Chart 26 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 27 | :parts: -1 28 | 29 | | 30 | -------------------------------------------------------------------------------- /tests/input_files/axes/plot_bands/error-02.js: -------------------------------------------------------------------------------- 1 | { 2 | className: 'some-class-name', 3 | color: '#fff', 4 | dashStyle: 'invalid value', 5 | events: { 6 | click: function(event) { return true; }, 7 | mousemove: function(event) { return true; }, 8 | mouseout: function(event) { return true; }, 9 | mouseover: function(event) { return true; } 10 | }, 11 | label: { 12 | align: 'center', 13 | formatter: function() { return true; }, 14 | rotation: 0, 15 | style: 'some-style-string', 16 | text: 'The title of the plot band', 17 | textAlign: 'left', 18 | useHTML: false, 19 | verticalAlign: 'middle', 20 | x: -10, 21 | y: 100 22 | }, 23 | value: 123, 24 | width: 2, 25 | zIndex: 3 26 | } 27 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: python 2 | job: 3 | include: 4 | - python: "3.10" 5 | dist: focal 6 | env: TOXENV=py310 7 | - python: "3.11" 8 | dist: bionic 9 | env: TOXENV=py311 10 | - python: "3.10" 11 | dist: focal 12 | env: TOXENV=coverage 13 | - python: "3.10" 14 | dist: focal 15 | env: TOXENV=docs 16 | os: 17 | - linux 18 | git: 19 | quiet: true 20 | install: 21 | - pip install -r requirements.dev.txt 22 | before_script: 23 | - mkdir /home/travis/build/highcharts-for-python/highcharts-core/tests/input_files/headless_export/output/ 24 | - curl -Os --retry 5 https://uploader.codecov.io/latest/linux/codecov 25 | - chmod +x codecov 26 | script: tox -- -v -nauto 27 | 28 | after_success: 29 | - if [[ -e .coverage ]]; then ./codecov -t $CODECOV_TOKEN; fi -------------------------------------------------------------------------------- /docs/_static/shared_options_output.js: -------------------------------------------------------------------------------- 1 | Highcharts.setOptions({ 2 | caption: { 3 | align: 'center', 4 | floating: true, 5 | margin: 20, 6 | verticalAlign: 'top' 7 | }, 8 | chart: { 9 | backgroundColor: { 10 | linearGradient: { 11 | x1: 0.0, 12 | x2: 0.0, 13 | y1: 1.0, 14 | y2: 1.0 15 | }, 16 | stops: [ 17 | [0, 'rgb(255, 255, 255)'], 18 | [1, 'rgb(240, 240, 255)'] 19 | ] 20 | }, 21 | borderWidth: 2, 22 | plotBackgroundColor: 'rgba(255, 255, 255, .9)', 23 | plotBorderWidth: 1 24 | }, 25 | credits: { 26 | enabled: true, 27 | href: 'https://www.somewhere.com', 28 | style: { 29 | color: '#cccccc', 30 | fontSize: '8px' 31 | }, 32 | text: 'Highcharts for Python' 33 | } 34 | }); 35 | -------------------------------------------------------------------------------- /tests/input_files/axes/color_axis/01.js: -------------------------------------------------------------------------------- 1 | { 2 | dataClassColor: 'tween', 3 | dataClasses: [ 4 | { 5 | color: '#ccc', 6 | from: 0, 7 | name: 'My Data Class', 8 | to: 100 9 | }, 10 | { 11 | color: '#fff', 12 | from: 100, 13 | name: 'My Second Data Class', 14 | to: 200 15 | } 16 | ], 17 | layout: 'horizontal', 18 | lineColor: '#fff', 19 | marker: { 20 | animation: { 21 | defer: 5 22 | }, 23 | color: '#ff0000', 24 | width: 10 25 | }, 26 | maxColor: '#999', 27 | minColor: '#ccc', 28 | showInLegend: true, 29 | stops: [ 30 | [0.0, '#ccc'], 31 | [0.1, '#fff'], 32 | [0.25, '#999'], 33 | [1.0, '#ff0000'] 34 | ] 35 | } 36 | -------------------------------------------------------------------------------- /tests/input_files/drilldown/01.js: -------------------------------------------------------------------------------- 1 | { 2 | activeAxisLabelStyle: { 3 | 'cursor': 'style string', 4 | 'color': '#999' 5 | }, 6 | activeDataLabelStyle: { 7 | 'cursor': 'style string', 8 | 'color': '#999' 9 | }, 10 | allowPointDrilldown: true, 11 | animation: false, 12 | breadcrumbs: { 13 | buttonSpacing: 6, 14 | buttonTheme: { 15 | 'fill': '#fff' 16 | }, 17 | events: { 18 | click: function(event) { return true; } 19 | }, 20 | floating: true, 21 | format: 'some format string', 22 | formatter: function () { return true; }, 23 | relativeTo: 'plot', 24 | rtl: false, 25 | separator: { 26 | style: { 27 | 'some-key': 'some-value' 28 | }, 29 | text: '>', 30 | }, 31 | useHTML: false, 32 | zIndex: 3 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /tests/input_files/drilldown/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | activeAxisLabelStyle: 'not a valid style dict', 3 | activeDataLabelStyle: { 4 | 'cursor': 'style string', 5 | 'color': '#999' 6 | }, 7 | allowPointDrilldown: true, 8 | animation: false, 9 | breadcrumbs: { 10 | buttonSpacing: 6, 11 | buttonTheme: { 12 | fill: '#fff' 13 | }, 14 | events: { 15 | click: function(event) { return true; } 16 | }, 17 | floating: True, 18 | format: 'some format string', 19 | formatter: function () { return true; }, 20 | relativeTo: 'plot', 21 | rtl: False, 22 | separator: { 23 | style: { 24 | 'some-key': 'some-value' 25 | }, 26 | text: '>', 27 | }, 28 | useHTML: False, 29 | zIndex: 3 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- 1 | # .readthedocs.yaml 2 | # Read the Docs configuration file 3 | # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details 4 | 5 | # Required 6 | version: 2 7 | 8 | # Set the version of Python and other tools you might need 9 | build: 10 | os: ubuntu-22.04 11 | tools: 12 | python: "3.11" 13 | # You can also specify other tool versions: 14 | # nodejs: "19" 15 | # rust: "1.64" 16 | # golang: "1.19" 17 | apt_packages: 18 | - graphviz 19 | 20 | # Build documentation in the docs/ directory with Sphinx 21 | sphinx: 22 | configuration: docs/conf.py 23 | 24 | # If using Sphinx, optionally build your docs in additional formats such as PDF 25 | # formats: 26 | # - pdf 27 | 28 | # Optionally declare the Python requirements required to build your docs 29 | python: 30 | install: 31 | - requirements: requirements.dev.txt -------------------------------------------------------------------------------- /docs/_static/shared_options.js: -------------------------------------------------------------------------------- 1 | { 2 | chart: { 3 | backgroundColor: { 4 | linearGradient: { 5 | x1: 0, 6 | x2: 0, 7 | y1: 1, 8 | y2: 1 9 | }, 10 | stops: [ 11 | [0, 'rgb(255, 255, 255)'], 12 | [1, 'rgb(240, 240, 255)'] 13 | ] 14 | }, 15 | borderWidth: 2, 16 | plotBackgroundColor: 'rgba(255, 255, 255, .9)', 17 | plotBorderWidth: 1 18 | }, 19 | caption: { 20 | align: 'center', 21 | floating: true, 22 | margin: 20, 23 | verticalAlign: 'top' 24 | }, 25 | credits: { 26 | enabled: true, 27 | href: 'https://www.somewhere.com', 28 | style: { 29 | color: '#cccccc', 30 | fontSize: '8px' 31 | }, 32 | text: 'Highcharts for Python' 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /docs/api/options/series/series_generator.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.series_generator ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.series.series_generator 13 | 14 | ******************************************************************************************************************** 15 | function: :func:`create_series_obj() ` 16 | ******************************************************************************************************************** 17 | 18 | .. autofunction:: create_series_obj 19 | -------------------------------------------------------------------------------- /docs/using/templates/_with_json.rst: -------------------------------------------------------------------------------- 1 | You can use the same exact pattern as using a JS literal with a JSON file instead. 2 | We don't really think there's an advantage to this - but there might be one 3 | significant disadvantage: JSON files cannot be used to provide JavaScript functions 4 | to your Highcharts configuration. This means that formatters, event handlers, etc. 5 | will not be applied through your shared options if you use a JSON file. 6 | 7 | If your chart templates don't require JavaScript functions? Then by all means, feel 8 | free to use a JSON file and the ``.from_json()`` method instead of the 9 | ``.from_js_literal()`` method. 10 | 11 | .. tip:: 12 | 13 | In practice, we find that most chart templates differ in their formatter functions 14 | and event handlers. This makes JSON a particularly weak tool for templating those 15 | charts. We strongly prefer the JS literal method described above. 16 | -------------------------------------------------------------------------------- /docs/api/headless_export.rst: -------------------------------------------------------------------------------- 1 | ############################################################ 2 | :mod:`.headless_export ` 3 | ############################################################ 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | ----------------- 11 | 12 | .. module:: highcharts_core.headless_export 13 | 14 | ********************************************************************************* 15 | class: :class:`ExportServer ` 16 | ********************************************************************************* 17 | 18 | .. autoclass:: ExportServer 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: ExportServer 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- 1 | @ECHO OFF 2 | 3 | pushd %~dp0 4 | 5 | REM Command file for Sphinx documentation 6 | 7 | if "%SPHINXBUILD%" == "" ( 8 | set SPHINXBUILD=sphinx-build 9 | ) 10 | set SOURCEDIR=. 11 | set BUILDDIR=_build 12 | 13 | %SPHINXBUILD% >NUL 2>NUL 14 | if errorlevel 9009 ( 15 | echo. 16 | echo.The 'sphinx-build' command was not found. Make sure you have Sphinx 17 | echo.installed, then set the SPHINXBUILD environment variable to point 18 | echo.to the full path of the 'sphinx-build' executable. Alternatively you 19 | echo.may add the Sphinx directory to PATH. 20 | echo. 21 | echo.If you don't have Sphinx installed, grab it from 22 | echo.https://www.sphinx-doc.org/ 23 | exit /b 1 24 | ) 25 | 26 | if "%1" == "" goto help 27 | 28 | %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% 29 | goto end 30 | 31 | :help 32 | %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% 33 | 34 | :end 35 | popd 36 | -------------------------------------------------------------------------------- /docs/using/assembling_your_chart/_using_kwargs.rst: -------------------------------------------------------------------------------- 1 | .. note:: 2 | 3 | The keyword pattern outlined below is supported by both the 4 | :class:`Chart ` and 5 | :class:`HighchartsOptions ` 6 | classes 7 | 8 | .. code-block:: python 9 | 10 | from highcharts_core.chart import Chart 11 | from highcharts_core.options.series.area import LineSeries 12 | 13 | # EXAMPLE 1. Indicating data and series_type. 14 | my_chart = Chart(data = [[0, 1], [1, 2], [2, 3]], 15 | series_type = 'line') 16 | 17 | # EXAMPLE 2. Supplying the Series instance(s) directly. 18 | my_chart = Chart(series = LineSeries(data = [ 19 | [0, 1], 20 | [1, 2], 21 | [2, 3] 22 | ])) 23 | -------------------------------------------------------------------------------- /docs/_support.rst: -------------------------------------------------------------------------------- 1 | The **Highcharts for Python Toolkit** comes with all of the great support that you are used to from working with the 2 | Highcharts JavaScript libraries. When you license the toolkit, you are welcome to use any of the following channels 3 | to get help using the toolkit. In particular, you can: 4 | 5 | * Use the `Highcharts Forums `__ 6 | * Use `Stack Overflow `__ with the 7 | ``highcharts-for-python`` tag 8 | * `Report bugs or request features `__ in one of 9 | our Github repositories 10 | * `File a support ticket `__ with us, or 11 | * `Schedule a live chat or video call `__ with us 12 | 13 | **FOR MORE INFORMATION:** https://www.highchartspython.com/get-help 14 | -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- 1 | [tox] 2 | envlist = py{310,311},no_numpy{310,311},docs,coverage 3 | minversion = 4.4 4 | 5 | [testenv] 6 | usedevelop = True 7 | passenv = TOXENV, CI, TRAVIS, TRAVIS_*, CODECOV* 8 | extras = dev 9 | deps = 10 | -r requirements.txt 11 | commands = 12 | pytest {posargs} 13 | 14 | [testenv:py] 15 | description = 16 | py{310,311}: Run unit tests against {envname} 17 | commands = 18 | {[testenv]commands} 19 | 20 | [testenv:coverage] 21 | description = 22 | Run code coverage checks and upload to CodeCov. 23 | setenv = 24 | PYTEST_ADDOPTS = --cov ./highcharts_core --cov-config {toxinidir}/setup.cfg 25 | allowlist_externals = codecov 26 | commands = 27 | {[testenv]commands} 28 | 29 | [testenv:docs] 30 | description = 31 | Test whether the documentation builds correctly prior to publication. 32 | basepython = python 33 | changedir = docs 34 | extras = docs 35 | commands = 36 | sphinx-build -b html . _build/html -------------------------------------------------------------------------------- /docs/using/shared_options/_with_dict.rst: -------------------------------------------------------------------------------- 1 | If you are hoping to configure a simple set of options, one of the fastest ways to do 2 | so in your Python code is to instantiate your 3 | :class:`SharedOptions ` 4 | instance from a simple :class:`dict `: 5 | 6 | .. code-block:: python 7 | 8 | as_dict = { 9 | 'chart': { 10 | 'backgroundColor': '#fff', 11 | 'borderWidth': 2, 12 | 'plotBackgroundColor': 'rgba(255, 255, 255, 0.9)', 13 | 'plotBorderWidth': 1 14 | } 15 | } 16 | 17 | my_shared_options = SharedOptions.from_dict(as_dict) 18 | 19 | js_code_snippet = my_shared_options.to_js_literal() 20 | 21 | .. tip:: 22 | 23 | This method is particularly helpful and easy to maintain if you are only using a 24 | *very* small subset of the `Highcharts JS `__ 25 | configuration options. 26 | -------------------------------------------------------------------------------- /highcharts_core/options/plot_options/pyramid.py: -------------------------------------------------------------------------------- 1 | from highcharts_core.options.plot_options.funnel import FunnelOptions, Funnel3DOptions 2 | 3 | 4 | class PyramidOptions(FunnelOptions): 5 | """General options to apply to all Pyramid series types. 6 | 7 | A pyramid series is a special type of funnel, without neck and reversed by 8 | default. 9 | 10 | .. figure:: ../../../_static/pyramid-example.png 11 | :alt: Pyramid Example Chart 12 | :align: center 13 | 14 | """ 15 | pass 16 | 17 | class Pyramid3DOptions(Funnel3DOptions): 18 | """General options to apply to all Pyramid 3D series types. 19 | 20 | A pyramid 3d series is a special type of funnel, without neck and reversed by 21 | default. 22 | 23 | .. figure:: ../../../_static/pyramid_3d-example.png 24 | :alt: Pyramid 3D Example Chart 25 | :align: center 26 | 27 | """ 28 | def __init__(self, **kwargs): 29 | super().__init__(**kwargs) 30 | -------------------------------------------------------------------------------- /tests/input_files/navigation/bindings/error-03.js: -------------------------------------------------------------------------------- 1 | { 2 | circleAnnotation: { 3 | init: 'some-event-marker', 4 | start: 'some-event-marker', 5 | steps: [ 6 | 'some-event-marker', 7 | 'some-event-marker', 8 | 'some-event-marker' 9 | ], 10 | end: 'some-event-marker' 11 | }, 12 | ellipseAnnotation: { 13 | init: 'some-event-marker', 14 | start: 'some-event-marker', 15 | steps: [ 16 | 'some-event-marker', 17 | 'some-event-marker' 18 | ], 19 | end: 'some-event-marker' 20 | }, 21 | labelAnnotation: { 22 | init: 'some-event-marker', 23 | start: 'some-event-marker', 24 | end: 'some-event-marker' 25 | }, 26 | rectangleAnnotation: { 27 | init: 'some-event-marker', 28 | start: 'some-event-marker', 29 | steps: [ 30 | 'some-event-marker' 31 | ], 32 | end: 'some-event-marker' 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /docs/api/_other_convenience_methods.rst: -------------------------------------------------------------------------------- 1 | 2 | .. method:: copy(self, other, overwrite = True, **kwargs) 3 | :noindex: 4 | 5 | Copy the properties from ``self`` to ``other``. 6 | 7 | :param other: The target instance to which the properties of this instance should 8 | be copied. 9 | :type other: :class:`HighchartsMeta` 10 | 11 | :param overwrite: if ``True``, properties in ``other`` that are already set will 12 | be overwritten by their counterparts in ``self``. Defaults to ``True``. 13 | :type overwrite: :class:`bool ` 14 | 15 | :param kwargs: Additional keyword arguments. Some special descendents of 16 | :class:`HighchartsMeta` may have special implementations of this method which 17 | rely on additional keyword arguments. 18 | 19 | :returns: A mutated version of ``other`` with new property values 20 | 21 | :raises HighchartsValueError: if ``other`` is not the same class as (or subclass of) 22 | ``self`` 23 | -------------------------------------------------------------------------------- /docs/api/options/data.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.data ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.data 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`Data ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: Data 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: Data 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/time.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.time ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.time 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`Time ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: Time 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: Time 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/title.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.title ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.title 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`Title ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: Title 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: Title 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/no_data.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.no_data ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.no_data 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`NoData ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: NoData 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: NoData 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/caption.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.caption ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.caption 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`Caption ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: Caption 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: Caption 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/loading.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.loading ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.loading 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`Loading ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: Loading 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: Loading 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/tooltips.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.tooltips ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.tooltips 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`Tooltip ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: Tooltip 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: Tooltip 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/axes/x_axis.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.x_axis ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.axes.x_axis 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`XAxis ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: XAxis 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: XAxis 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/axes/z_axis.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.z_axis ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.axes.z_axis 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`ZAxis ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: ZAxis 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: ZAxis 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/subtitle.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.subtitle ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.subtitle 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`Subtitle ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: Subtitle 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: Subtitle 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/global_options/shared_options.rst: -------------------------------------------------------------------------------- 1 | ############################################################################# 2 | :mod:`.shared_options ` 3 | ############################################################################# 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.global_options.shared_options 13 | 14 | ********************************************************************************************** 15 | class: :class:`SharedOptions ` 16 | ********************************************************************************************** 17 | 18 | .. autoclass:: SharedOptions 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: SharedOptions 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/axes/title.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.title ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.axes.title 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`AxisTitle ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: AxisTitle 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: AxisTitle 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/drilldown.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.drilldown ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.drilldown 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`Drilldown ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: Drilldown 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: Drilldown 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/axes/breaks.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.breaks ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.axes.breaks 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`AxisBreak ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: AxisBreak 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: AxisBreak 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/utility_classes/jitter.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.jitter ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.utility_classes.jitter 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`Jitter ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: Jitter 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: Jitter 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/utility_classes/markers.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.markers ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.utility_classes.markers 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`Marker ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: Marker 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: Marker 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /tests/input_files/chart/options_3d/01.js: -------------------------------------------------------------------------------- 1 | { 2 | alpha: 0.5, 3 | axisLabelPosition: 'auto', 4 | beta: 15, 5 | depth: 20, 6 | enabled: true, 7 | fitToPlot: true, 8 | frame: { 9 | back: { 10 | color: '#ccc', 11 | size: 2, 12 | visible: 'auto' 13 | }, 14 | bottom: { 15 | color: '#ccc', 16 | size: 2, 17 | visible: 'auto' 18 | }, 19 | front: { 20 | color: '#ccc', 21 | size: 2, 22 | visible: 'auto' 23 | }, 24 | left: { 25 | color: '#ccc', 26 | size: 2, 27 | visible: 'auto' 28 | }, 29 | right: { 30 | color: '#ccc', 31 | size: 2, 32 | visible: 'auto' 33 | }, 34 | size: 2, 35 | top: { 36 | color: '#ccc', 37 | size: 2, 38 | visible: 'auto' 39 | }, 40 | visible: 'default' 41 | }, 42 | viewDistance: 20 43 | } 44 | -------------------------------------------------------------------------------- /docs/api/options/axes/generic.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.generic ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.axes.generic 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`GenericAxis ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: GenericAxis 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: GenericAxis 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/axes/markers.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.markers ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.axes.markers 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`AxisMarker ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: AxisMarker 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: AxisMarker 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/axes/numeric.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.numeric ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.axes.numeric 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`NumericAxis ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: NumericAxis 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: NumericAxis 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/legend/title.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.title ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.legend.title 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`LegendTitle ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: LegendTitle 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: LegendTitle 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/series/data/base.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.base ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.series.data.base 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`DataBase ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: DataBase 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: DataBase 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/utility_classes/position.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.position ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.utility_classes.position 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`Position ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: Position 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: Position 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /tests/input_files/chart/options_3d/error-01.js: -------------------------------------------------------------------------------- 1 | { 2 | alpha: 0.5, 3 | axisLabelPosition: 'invalid value', 4 | beta: 15, 5 | depth: 20, 6 | enabled: true, 7 | fitToPlot: true, 8 | frame: { 9 | back: { 10 | color: '#ccc', 11 | size: 2, 12 | visible: 'auto' 13 | }, 14 | bottom: { 15 | color: '#ccc', 16 | size: 2, 17 | visible: 'auto' 18 | }, 19 | front: { 20 | color: '#ccc', 21 | size: 2, 22 | visible: 'auto' 23 | }, 24 | left: { 25 | color: '#ccc', 26 | size: 2, 27 | visible: 'auto' 28 | }, 29 | right: { 30 | color: '#ccc', 31 | size: 2, 32 | visible: 'auto' 33 | }, 34 | top: { 35 | color: '#ccc', 36 | size: 2, 37 | visible: 'auto' 38 | }, 39 | size: 2, 40 | visible: true 41 | }, 42 | viewDistance: 20 43 | } 44 | -------------------------------------------------------------------------------- /docs/api/options/axes/color_axis.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.color_axis ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.axes.color_axis 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`ColorAxis ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: ColorAxis 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: ColorAxis 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/annotations/points.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.points ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.annotations.points 13 | 14 | ******************************************************************************************************** 15 | class: :class:`AnnotationPoint ` 16 | ******************************************************************************************************** 17 | 18 | .. autoclass:: AnnotationPoint 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: AnnotationPoint 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/axes/data_classes.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.data_classes ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.axes.data_classes 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`DataClass ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: DataClass 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: DataClass 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/plot_options/item.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.item ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.plot_options.item 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`ItemOptions ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: ItemOptions 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: ItemOptions 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/plot_options/link.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.link ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.plot_options.link 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`LinkOptions ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: LinkOptions 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: LinkOptions 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/plot_options/venn.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.venn ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.plot_options.venn 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`VennOptions ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: VennOptions 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: VennOptions 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/utility_classes/shadows.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.shadows ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.utility_classes.shadows 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`ShadowOptions ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: ShadowOptions 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: ShadowOptions 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/accessibility/point.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.point ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.accessibility.point 13 | 14 | ******************************************************************************************************** 15 | class: :class:`AccessibilityPoint ` 16 | ******************************************************************************************************** 17 | 18 | .. autoclass:: AccessibilityPoint 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: AccessibilityPoint 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/axes/crosshair.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.crosshair ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.axes.crosshair 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`CrosshairOptions ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: CrosshairOptions 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: CrosshairOptions 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/plot_options/bubble.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.bubble ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.plot_options.bubble 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`BubbleOptions ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: BubbleOptions 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: BubbleOptions 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/plot_options/pareto.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.pareto ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.plot_options.pareto 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`ParetoOptions ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: ParetoOptions 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: ParetoOptions 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/plot_options/sankey.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.sankey ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.plot_options.sankey 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`SankeyOptions ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: SankeyOptions 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: SankeyOptions 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/plot_options/series.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.series ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.plot_options.series 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`SeriesOptions ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: SeriesOptions 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: SeriesOptions 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/plot_options/spline.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.spline ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.plot_options.spline 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`SplineOptions ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: SplineOptions 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: SplineOptions 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/plot_options/vector.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.vector ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.plot_options.vector 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`VectorOptions ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: VectorOptions 19 | :members: 20 | :inherited-members: 21 | 22 | .. collapse:: Class Inheritance 23 | 24 | .. inheritance-diagram:: VectorOptions 25 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 26 | :parts: -1 27 | 28 | | 29 | -------------------------------------------------------------------------------- /docs/api/options/series/base.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.base ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.series.base 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`SeriesBase ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: SeriesBase 19 | :members: 20 | :inherited-members: 21 | :special-members: __str__, __repr__ 22 | 23 | .. collapse:: Class Inheritance 24 | 25 | .. inheritance-diagram:: SeriesBase 26 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 27 | :parts: -1 28 | 29 | | 30 | -------------------------------------------------------------------------------- /docs/api/options/series/item.rst: -------------------------------------------------------------------------------- 1 | ########################################################################################## 2 | :mod:`.item ` 3 | ########################################################################################## 4 | 5 | .. contents:: Module Contents 6 | :local: 7 | :depth: 3 8 | :backlinks: entry 9 | 10 | -------------- 11 | 12 | .. module:: highcharts_core.options.series.item 13 | 14 | ******************************************************************************************************************** 15 | class: :class:`ItemSeries ` 16 | ******************************************************************************************************************** 17 | 18 | .. autoclass:: ItemSeries 19 | :members: 20 | :inherited-members: 21 | :special-members: __str__, __repr__ 22 | 23 | .. collapse:: Class Inheritance 24 | 25 | .. inheritance-diagram:: ItemSeries 26 | :top-classes: highcharts_core.metaclasses.HighchartsMeta 27 | :parts: -1 28 | 29 | | 30 | --------------------------------------------------------------------------------