Commit Graph
131 Commits
Author SHA1 Message Date
alex2wong 0a3dbd08d2 For types/chart.js, added lineHeight/padding to ScaleTitleOptions 2019-03-23 16:58:37 +08:00
Hussein EbrahimiandGitHub 3824ecd053 Chart.js Fixing issue in steppedLine inside ChartDataSets
ChartDataSets.steppedLine is missing 'middle' value
2019-03-21 14:21:55 +01:00
Aviad PinelesandWesley Wigham aca13d4ee5 [chart.js] Export plugin registration types (#33614)
* Export plugin registration types

Export the types `PluginServiceGlobalRegistration` and `PluginServiceRegistrationOptions` since they are publicly visible to the user.

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts
2019-03-11 13:01:49 -07:00
ConradandWesley Wigham d3bd440fbd @types/chart.js: changed getElementAtEvent to single array object (#33765) 2019-03-11 10:49:48 -07:00
Nathan Shively-SandersandGitHub 4832d7fe17 Merge pull request #33637 from DefinitelyTyped/tsnext-cleanup-05032019
Cleanup from DT nightly run
2019-03-05 14:47:12 -08:00
Nathan Shively-Sanders d26a3f72ae Cleanup from DT nightly run
1. A couple of updated project urls. (one typo and one https)
2. Possible bug in ts@next, or at least surprising behaviour. Work
around it in jest-in-case. TS bug #30234
2019-03-05 14:39:38 -08:00
DavidMarquezFandGitHub de311e7323 Added data parameter in filter Callback (Chart.js)
Chart.js can pass the data parameter in the filter callback.

You can see this in the source code of Chart.js:
https://github.com/chartjs/Chart.js/blob/317cae11dc3358e816528229d05bea7c835c4ad3/src/core/core.tooltip.js#L616
2019-02-24 13:44:04 +01:00
Nathan Shively-Sanders 077cfc9ee6 Merge branch 'master' into update-project-urls 2019-02-12 16:21:33 -08:00
Nathan Shively-Sanders f0ce987bc1 Update project urls to match NPM url
Note that this *trivially* updates project urls by adding the NPM url to
the end, even when the urls are almost identical or the DT one is
outdated. I'll clean up the urls in a later commit.

This PR is unfinished! Please do not merge it yet.
2019-02-11 17:10:55 -08:00
Jiri SpacandGitHub 9fb56fc26d adds cubicInterpolationMode prop to ChartLineOptions
charts do respect the property as documented here https://www.chartjs.org/docs/latest/charts/line.html#cubicinterpolationmode
2019-02-11 11:47:16 +01:00
Jules JanssenandGitHub c0af6b9237 [chart.js] add precision option to LinearTickOptions interface
See [commit](https://github.com/chartjs/Chart.js/commit/9fbac8893865fc6f7efdab7f49d480e6a730c669#diff-bd4c401aafa9aaaa38640e15e4b2ecbc) and [docs](https://www.chartjs.org/docs/latest/axes/cartesian/linear.html)
2019-01-30 20:05:55 +01:00
Simon Brunel 1411fb96dc Allow module augmentation for chart.js plugin options 2018-12-16 13:08:15 +01:00
Glen 76d38d894f hoverBackgroundColor and hoverBorderColor should accept Color/Color[] 2018-12-02 14:05:33 +02:00
Slavik NychkaloandSheetal Nandi 310bbee099 Remove me from contributors (#29846)
To disable contribution notifications
2018-10-18 09:02:06 -07:00
Angus ComrieandSheetal Nandi b3b680e6c4 chartJS: adds minor and major tick options (#29791)
* adds minor and major tick options

* updated to include additional options for major and minor ticks
2018-10-18 08:39:00 -07:00
Daniel LuzandSheetal Nandi e35089cc40 Allow null/undefined embedded within numeric values (#29723)
Nulls are used create deliberate gaps in charts.
2018-10-15 09:29:55 -07:00
Daniel LuzandSheetal Nandi f89eb54b58 Declare enum values where applicable (#29722) 2018-10-15 09:28:27 -07:00
Tyler Singer-ClarkandWesley Wigham 65da46f368 add stepSizd to TickOptions (#29268) 2018-10-04 10:52:52 -07:00
Andrew CaseyandGitHub b66834e030 Merge pull request #28952 from tscizzle/suggested-tick-range
For types/chart.js, added lineHeight, suggestedMin, and suggestedMax to tick options
2018-09-24 16:49:11 -07:00
Jesse TrinityandGitHub 14d0a6329a Merge pull request #28941 from Conrad777/master
@types/chart.js: added missing legendCallback to ChartOptions
2018-09-19 15:49:05 -07:00
Tyler Singer-Clark 2f7093b917 also add lineHeight 2018-09-17 13:28:10 -04:00
Tyler Singer-Clark 06906c162b made suggestedMin and suggestedMax optional 2018-09-17 13:14:26 -04:00
Tyler Singer-Clark 9446607636 added suggestedMin and suggestedMax to tick options 2018-09-17 13:06:04 -04:00
Tyler Singer-Clark b587df4052 added 'scatter' to ChartType list 2018-09-17 11:10:08 -04:00
Conrad Holtzhausen 5d8ff34ff2 @types/chart.js: added missing legendCallback to ChartOptions 2018-09-17 15:02:03 +02:00
Rich ArmstrongandRyan Cavanaugh 9d99876185 chart.js - Add missing animation properties (#28730)
Added animateRotate and animateScale (both boolean) to ChartAnimationOptions. These apply only to doughnut/pie and polar-area charts
2018-09-14 09:58:56 -07:00
atesbanaandRyan Cavanaugh 78a24ac208 Update index.d.ts (#28605) 2018-09-10 15:23:31 -07:00
Sergey RubanovandGitHub 2cbbab4a1a Remove Sergey Rubanov from Chart.js definitions authors list
I don't want to get updates on Chart.js definitions so removing myself from authors list.
2018-09-05 15:21:06 +03:00
Manuel Heidrich 6955d8d64f Fix toBase64Image 2018-08-16 21:35:12 +02:00
AndyandGitHub 73124d44b4 chart.js: barThickness string value must be "flex" (#27613) 2018-07-27 08:56:38 -07:00
headdetectandAndy 299b729072 Update chart.js/index.d.ts (#27575)
The `barThickness` can be `'flex'` as well. So we must be able to accept strings.
2018-07-26 10:09:20 -07:00
Amiram KorachandRyan Cavanaugh 26defd42ae fix chart.js plugins to be an array (#27298)
http://www.chartjs.org/docs/latest/developers/plugins.html#using-plugins
2018-07-15 12:29:57 -07:00
Guillaume RODRIGUEZandMohamed Hegazy 779c9f9a59 [Chart.js] Fix plugins global registration and order (#27046)
* [Chart.js] Fix plugins global registration

* [Chart.js] Fix plugin callback order

* Trailing whitespace
2018-07-06 09:34:38 -07:00
Francesco BenedettoandMohamed Hegazy 028b6d91ab Add 'onResize' callback definition (#26787) 2018-07-05 09:55:33 -07:00
Guillaume RODRIGUEZandMohamed Hegazy 9629215c7a [Chart.js] Add static helpers (#27045) 2018-07-05 09:54:04 -07:00
Paul van BrenkandGitHub c4778605c6 Merge pull request #26513 from alexdor/master
[chart.js] Add getDatasetMeta fucntion to chart
2018-06-26 13:31:55 -07:00
Paul van BrenkandGitHub 155bf666ae Merge pull request #26688 from mig-visiblee/feature/radial-chart
[chart.js] added RadialChartOptions + made RadialLinearScale extend LinearScale
2018-06-25 15:00:28 -07:00
Alexandros DorodoulisandGitHub 6126d83561 Merge branch 'master' into master 2018-06-21 10:58:19 +03:00
Nathan Shively-SandersandGitHub d7da590a7b Merge pull request #25574 from dvorakroth/master
chart.js -- both X and Y axes can have time-related options
2018-06-20 16:03:25 -07:00
Nathan Shively-SandersandGitHub 308b58021b Merge pull request #26470 from frabnt/master
[@types/chart.js] Fix type of 'pointStyle' chart setting
2018-06-20 15:58:54 -07:00
Christophe Migliorini e0b2d7579a added tests for RadialLinearScale 2018-06-20 11:10:00 +02:00
Christophe Migliorini 2dc8fe760e made RadialLinearScale extend LinearScale 2018-06-20 07:32:31 +02:00
Alexandros Dorodoulis 4b393891da test: Add test for getDatasetMeta 2018-06-13 17:03:48 +03:00
Alexandros Dorodoulis 058fea8f6d feat: Add getDatasetMeta fucntion to chart 2018-06-13 16:53:10 +03:00
DvorakandGitHub dfc4d00042 Merge branch 'master' into master 2018-06-12 07:09:44 +00:00
fbenedetto 3b001a036c [@types/chart.js] Fix type for 'pointStyle' chart setting 2018-06-12 08:48:32 +02:00
Simon Podlipsky abeaf1be7f Add Bounds field to Chart.js CommonAxe 2018-06-08 16:58:30 +02:00
Stephen AllredandGitHub 3d4bf4345d Added missing maxBarThickness
Added missing maxBarThickness to the CommonAxe interface
2018-06-06 12:34:12 +01:00
gebeto 3fa573769e chart.js - improvements 2018-05-31 14:06:24 +03:00
Ólavur Debes JoensenandSheetal Nandi 44252be6ab Fix typo fullWdith -> fullWidth (#25676) 2018-05-10 13:00:01 -07:00