Update HighchartsExportingOptions and HighchartsDataLabel interfaces (#11883)

* Update HighchartsExportingOptions and HighchartsDataLabel interfaces

The HighchartsExportingOptions and HighchartsDataLabels interfaces now
include all the properties present in Highcharts version 5.0.0.

* Make the "undersore methods" to protected ones in the definitions (#11715)

* Make the undersore methods to protected ones

* Remove non-public _read method from Result-Stream
This commit is contained in:
DanielM
2016-10-19 15:06:34 +02:00
committed by Masahiro Wakame
parent 75890896d9
commit b157cea9b4

View File

@@ -2215,6 +2215,13 @@ declare namespace __Highcharts {
* @since 2.0
*/
enabled?: boolean;
/**
* Function to call if the offline-exporting module fails to export a chart on the client side, and
* fallbackToExportServer is disabled. If left undefined, an exception is thrown instead.
* @default undefined
* @since 5.0.0
*/
error?: Function;
/**
* Whether or not to fall back to the export server if the offline-exporting module is unable to export the chart on
* the client side.
@@ -2235,6 +2242,22 @@ declare namespace __Highcharts {
* @since 3.0.8
*/
formAttributes?: any;
/**
* Path where Highcharts will look for export module dependencies to load on demand if they don't already exist on
* window. Should currently point to location of CanVG library (https://github.com/canvg/canvg) and RGBColor.js,
* required for client side export in certain browsers.
* @default 'http://code.highcharts.com/{version}/lib'
* @since 5.0.0
*/
libUrl?: string;
/**
* When printing the chart from the menu item in the burger menu, if the on-screen chart exceeds this width, it is
* resized. After printing or cancelled, it is restored. The default width makes the chart fit into typical paper
* format. Note that this does not affect the chart when printing the web page as a whole.
* @default 780
* @since 4.2.5
*/
printMaxWidth?: number;
/**
* Defines the scale or zoom factor for the exported image compared to the on-screen display. While for instance a
* 600px wide chart may look good on a website, it will look bad in print. The default scale of 2 makes this chart
@@ -2898,6 +2921,13 @@ declare namespace __Highcharts {
* @since 2.2.1
*/
borderWidth?: number;
/**
* A class name for the data label. Particularly in styled mode, this can be used to give each series' or point's
* data label unique styling. In addition to this option, a default color class name is added so that we can give
* the labels a contrast text shadow.
* @since 5.0.0
*/
className?: string;
/**
* The text color for the data labels.
* @default null
@@ -2958,6 +2988,13 @@ declare namespace __Highcharts {
* @since 2.2.1
*/
padding?: number;
/**
* Whether to reserve space for the labels. This can be turned off when for example the labels are rendered inside
* the plot area instead of outside.
* @default true
* @since 4.1.10
*/
reserveSpace?: boolean;
/**
* Text rotation in degrees. Note that due to a more complex structure, backgrounds, borders and padding will be
* lost on a rotated data label.