Commit Graph
44 Commits
Author SHA1 Message Date
Andy Hanson 21065fcb6b Enable "esModuleInterop" in all tsconfigs 2018-02-05 09:49:31 -08:00
Aleksey 8ecb1305ea [highcharts] added explicit null type to props (#22983) 2018-01-23 11:53:48 -08:00
Justin Warner 0f9dda57a5 [Highcharts] AxisLabelFormatterOptions property "value" is incorrectly typed as a number (#22697)
* Add contextMenu event to Simulate on TestUtils

* Reverting format on save

* s.ts

* Should actually be an any, not number or string.
2018-01-05 15:44:06 -08:00
Nikita Grafov 9a3fbe89bd [highcharts] Added type for axis labels formatter execution context (#22244) 2018-01-03 11:29:25 -08:00
Jeff Kenney e6b4f2333b [highcharts] add oneToOne option to chart.update (#22546) 2018-01-02 17:39:09 -08:00
allen1314 215ad5cc18 add ability to control the piechart size and innerSize for each series items 2017-11-10 07:12:17 +08:00
Nathan Shively-Sanders 1667c4c45b lint:Use Array<> for non-simple array types 2017-11-09 14:27:41 -08:00
Nathan Shively-Sanders a364bb7a8c Fix incorrect tuple usage and syntax 2017-11-09 13:55:03 -08:00
Mike Kenyon 5a8044601a highcharts: titles can be null
From their documentation:

https://api.highcharts.com/highcharts/title.text
https://api.highcharts.com/highcharts/yAxis.title.text
2017-11-01 14:27:14 -04:00
Andy 3b321e99b2 highcharts: Fix lint (#20979) 2017-10-30 07:55:51 -07:00
Andy 2552256a2f highcharts: Fix lint (#20844) 2017-10-23 07:31:29 -07:00
Andy 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
kyle1024 15d3fb380e single character typo fix (#20135) 2017-10-02 10:30:40 -07:00
Shashank 71d4497212 visible property added in IndividualSeriesOptions interface. (#19955) 2017-09-26 11:29:43 -07:00
Andy 8725002bd4 Add tslint disables for "no-declare-current-package" (#20044) 2017-09-26 11:12:15 -07:00
Nathan Shively-Sanders cd721e07b1 Merge pull request #19498 from fwielstra/patch-1
[highcharts] Add textOverflow and whiteSpace properties to CSSObject
2017-09-07 13:34:52 -07:00
Nathan Shively-Sanders 91d1748bc3 Merge pull request #19512 from msrocka/master
[highcharts] categories in axis definitions can be of `any` type
2017-09-07 13:30:42 -07:00
Nathan Shively-Sanders 6574ce47ea Merge pull request #19008 from route2Dev/master
Adding stockChart method to Highstock.Static interface
2017-09-06 16:26:32 -07:00
msrocka f5a0116811 [highcharts] categories in axis definitions can be of ny type 2017-09-01 17:55:22 +02:00
Andy d74806eb3d Add lint disables for no-unnecessary-generics (#19508) 2017-09-01 08:34:37 -07:00
Freek Wielstra 4a43d710f9 Add textOverflow and whiteSpace properties to CSSObject
[xAxis.labels.style](http://api.highcharts.com/highcharts/xAxis.labels.style) describes these properties:

> Use `whiteSpace: 'nowrap'` to prevent wrapping of category labels
>  Use `textOverflow: 'none'` to prevent ellipsis (dots).
2017-09-01 13:00:18 +02:00
Andy 12a2d28173 highcharts: Fix test (#19404) 2017-08-28 16:57:45 -07:00
Bowden Kelly eb087311df Merge pull request #18841 from azmenak/patch-1
Highcharts: Fix interface for update method
2017-08-22 11:58:23 -07:00
Andy 924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
route2Dev e2a68c3c7d Merge branch 'master' into master 2017-08-18 11:18:30 -05:00
Andy 5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
Dave Baumann 3a6dc3305f adding stockChart method to Highstock.Static 2017-08-15 23:47:05 -05:00
Adam Zmenak 8e3575472c Update doc comment 2017-08-14 13:43:20 -04:00
Adam Zmenak c8d7cc53db Fix interface for update method 2017-08-10 15:45:23 -04:00
MartinVSA 928a4568a2 Added highcharts event drillupall to interface ChartEvents (#18563)
* Update index.d.ts

Added method drillupall to ChartEvents

* added highcharts method drillupall in tests
2017-08-02 12:56:55 -07:00
Felix Itzenplitz f5cbf034d1 Highcharts: add missing wrap method to Static (#18174)
* Highcharts: add missing wrap method to Static

* Update index.d.ts

* fix trailing spaces

* Update index.d.ts

* Update index.d.ts
2017-07-25 13:15:28 -07:00
Juliën Hanssens fc32c1990c [highcharts] Implemented changes from v4.2.x => v5.0.10 (#17970)
* Implemented specs from Highcharts v5.0.0

Conform changelog at https://www.highcharts.com/documentation/changelog, implemented the following changes:

	- Added styled mode for optional separation of SVG and CSS.
	- Added responsive option set.
	- Added accessibility option set.
	- Added new function, Chart.update in order to update the chart options after render time.
	- Added new function, Chart.addCredits.
	- Added new function, Chart.title.update.
	- Added new function, Chart.credits.update.
	- Added new function, Legend.update.
	- Added new option, Renderer.definition.
	- Added new option, exporting.error for catching errors in offline exporting.
	- Added new option, exporting.libURL for use with offline exporting.
	- Added new option, pane.background.className.
	- Added new option, xAxis.className.
	- Added new option, xAxis.crosshair.className.
	- Added new option, plotOptions.series.dataLabels.className.
	- Added new option, plotOptions.series.className for styling individual series.
	- Added new option, xAxis.plotBands.className.
	- Added new option, xAxis.plotLines.className.
	- Added new option, plotOptions.series.zones.className.
	- Added new option, chart.colorCount for use in styled mode.
	- Added new option, defs for defining reusable elements in styled mode.
	- Added new option, tooltip.padding.
	- Added new option, series<line>.data.colorIndex for coloring points in styled mode.
	- Added new option, tooltip.split.
	- Added new option, chart.description for use with the accessibility module.
	- Added new option, chart.typeDescription for use with the accessibility module.
	- Added new option, xAxis.description for use with the accessibility module.
	- Added new option, plotOptions.series.description for use with the accessibility module.
	- Refactored build system to use ES6 imports and node-based build script.
	- Changed all default colors (except series data colors) to a simplified color scheme based on just a few shared colors.

Additional improvements (found throughout the documentation):

	- Changed reference from `color?: string` to `color?: Color` throughout the different Options objects (this broke Typescript intellisense before)
	- ChartObject.xAxis now accepts also a single AxisObject, as well as Array<AxisObject>
	- ChartObject.yAxis now accepts also a single AxisObject, as well as Array<AxisObject>
	- Important: a handful changes already implemented by community contributors are left alone

* Implemented specs from Highcharts 5.0.1 (2016-10-26)

Conform changelog at https://www.highcharts.com/documentation/changelog, implemented the following changes:
    - Added new options, axis.softMin and axis.softMax.

No further documentation linked on the following subjects/changes (= ignored):

	- Added Legend keyboard navigation to the accessibility module.
	- Added animation on hovering point markers.
	- Added offline PDF export support.

* Implemented Highcharts 5.0.3 (2016-11-18)

- Added new option, lang.numericSymbolMagnitude, to support numeric symbol shortening in Japanese, Korean and certain Chinese locales.
- Added new option, threshold, for solid gauge series.
- Added new CSS custom property, textOutline, and at the same time removed the textShadow shim. Closes #5849.

Ignored due to being implementation-only, or lack of documentation:

- Better implementation of the chart.pinchType option. Allow pinchType and zoomType to be set independently. When tooltip.followTouchMove is true, pinchType only applies to two-finger touches. Closes #5840.
- Changed the Highcharts.addEvent function to return a callback to be used to remove the same event.
- Implemented bubbles in the Boost module.
- Improved alignment of ticks on multiple axes by allowing ticks to be placed at less strict intervals.
- Refactored split tooltip connectors to use common callback shape instead.

* Highcharts 5.0.7 (2017-01-17)

- Added new option, global.timezone, as a convenient shortcut to timezones defined with moment.js.
- Changed the Highcharts.error function to handle strings.

Ignored due to being implementation-only, or lack of documentation:

- Added Legend keyboard navigation to accessibility module.
- Added chart render and predraw events needed by the new Boost module.
- Added optional redraw to drillToNode, related to #6180.
- Added support for marker.symbol setting on bubble charts.
- Changed the Highcharts.addEvent function to return a callback to be used to remove the same event.

* Highcharts 5.0.8 (2017-03-08)

Conform changelog at https://www.highcharts.com/documentation/changelog, implemented the following changes:

- Added animation on graph mouse over and mouse out.
- Added new option, solidgauge.rounded.
- Added support for relative chart.height as a percentage of the width. This allows for fixed aspect ratio.

Ignored due to being implementation-only, or lack of documentation:

- Added a refactored Boost module based on WebGL. Details and API to be announced.
- Added hooks so that users can define their own log axis conversion functions, and can advertise that the log axis should allow negative values.

* Highcharts 5.0.10 (2017-03-31)

Conform changelog at https://www.highcharts.com/documentation/changelog, implemented the following changes:

- Added new option, plotOptions.column.crisp, to allow disabling crisp columns and subsequent rendering issues with densely packed items. Closes #5755.
- Added new option, findNearestPointBy to declare how the tooltip searches for points. #6231.

Ignored due to being implementation-only, or lack of documentation:

- Added !default statement to SASS variables for easier configuration. Closes #6436.
- Refactored the Pane object to keep track of its own backgrounds, more decoupled from Axis.

* Fixed dtslint warnings and errors for CI

This fixes all tslint/dtslint errors, incl. historic errors. #vanity

- Fixed: Array type using 'Array<T>' is forbidden for simple types. Use 'T[]' instead.
- Fixed: Exceeds maximum line length of 200
- Fixed: trailing whitespace
- Fixed: missing semicolon
- Fixed: Consecutive blank lines are forbidden
- Fixed: non-arrow functions are forbidden
- Fixed: missing whitespace
- Fixed: Don't leave a blank line before/after '{' / '}'
- Fixed: Do not use 'var'
2017-07-17 10:57:21 -07:00
Leonard Thieu 1c3565933c :( 2017-06-13 13:00:42 -04:00
Nathan Shively-Sanders 163f4438df Fix weak type errors (#16845)
* Fix first round of weak type errors

Done through griddle-react

* 95% done with weak type fixes

* Fix last couple of weak type errors

* Remove some lint from mithril tests

* mithril's Lifecycle is not a weak type any more

Restore the Lifecycle constraints in the rest of the definitions.

* Fix react-redux tests after #16652 broke them

* Remove package-lock.json
2017-06-04 22:03:03 -07:00
Ryan Taylor 21759a16dc Fix no-object-literal-type-assertion error (#13628) 2017-05-05 21:12:30 -04:00
Ryan Taylor 09672a5356 [highcharts] Update test with axis ScrollbarOptions (#16328) 2017-05-05 13:32:24 -04:00
Ryan Taylor a2ff92c6b3 [highcharts] Add ScrollbarOptions type to the x/y axes (#16328) 2017-05-05 13:31:29 -04:00
Andy bbc61fbf93 Extend "dtslint/dt.json" directly instead of "../tslint.json". (#15822)
* Extend "dtslint/dt.json" directly instead of "../tslint.json".

* Convert more "../tslint.json" to "dtslint/dt.json"

* no-redundant-modifiers -> strict-export-declare-modifiers
2017-04-14 08:04:05 -07:00
Andy Hanson 487c1870e9 highstock.d.ts: Fix indents 2017-04-07 15:11:09 -07:00
AlbertOzimek 750de45b97 Update index.d.ts
updating highcharts/maps/index.d.ts based on the highmaps specification: http://api.highcharts.com/highmaps
Adding: - plotOptions http://api.highcharts.com/highmaps/plotOptions
             - tooltip http://api.highcharts.com/highmaps/tooltip
2017-04-03 09:45:58 +02:00
Andy 64bf3f8456 Apply new lint rules to some more packages (#15546) 2017-03-31 08:14:27 -07:00
Andy eeb0f2e7eb highcharts: Apply new lint rules (#15502) 2017-03-29 16:16:52 -07:00
Andy 5f3ba45136 Use dtslint (#15482) 2017-03-29 13:07:39 -07:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00