Josh Kelley
d83f0467da
Improvements to tooltip positioners ( #9944 )
...
* Improve positioner types; allow overriding xAlign and yAlign
* More type improvements; pass in Chart as third parameter
* Expose chart as part of TooltipModel
I initially passed the Chart element as the third parameter to the positioner; however, Scale and LegendElement elements expose `this.chart`, and sample code for positioners used `this._chart`, so documenting the chart member and giving it a public name seems to make more sense.
* Update documentation
* Fix documentation
* Fix issues from code review
2021-12-06 07:39:06 -05:00
Jukka Kurkela
4ac11a7208
Try to improve documentation for new users ( #9952 )
...
* Try to improve documentation for new users
* Review update
2021-12-05 12:42:52 -05:00
Jacco van den Berg
e7aec8c301
add beforeDestroy hook ( #9933 )
...
* add `beforeDestroy` hook
* add documentation of destroy lifecycle, add `afterDestroy` hook and deprecate destroy
2021-12-05 09:05:18 -05:00
Luuk de Vlieger
7784fbfded
Support "r" axis for non-intersecting interaction ( #9919 )
...
* Support "r" axis for non-intersecting interaction
* Extract some interaction functionality
* Remove whitespace and semicolons
* WIP: add interaction test
* Update documentation
* Fix test
* Add another test
* Update axis params
* Add additional axis check to binary search
* Update axis type
2021-12-05 08:57:07 -05:00
Jacco van den Berg
6d3a1c5fa6
Feature/active elements on top ( #9920 )
...
* add flag to draw active items on top
* add documentation and types
* remove redundent check
* added test
* resolve linting errors
* increase tollerance
* remove axes for better test, hope no tolerance needed
2021-12-05 08:56:53 -05:00
Jukka Kurkela
cd9d5289a4
Add borderJoinStyle option for arc elements ( #9877 )
...
* Add borderJoinStyle option for arc elements
* docs + types
* Consistently enumerate the possible choices
2021-12-05 08:56:37 -05:00
Jukka Kurkela
42e85942a8
Add notes about more specific options for axes ( #9923 )
2021-11-30 07:43:46 -05:00
carsonalh
5e5339d01c
Update stale documentation for axis titles ( #9683 )
...
* Update stale documentation for axis titles (#9682 )
Updated the documentation for the types on axis labels.
In the corresponding `index.esm.d.ts` file, put JSDoc descriptions for
the properties to match the now-updated documentation.
* Clean up axis title labels documentation (#9682 )
Inserted extra information in the documentation for the type of the
padding, inserted missing full stops.
In the type file, added JSDoc for undocumented properties.
* Update docs/axes/labelling.md
* Update types/index.esm.d.ts
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
2021-11-29 23:37:34 +02:00
Dmitriy Fishman
1107073a98
Fix a typo in index.md ( #9900 )
...
Fix a typo
2021-11-25 08:19:26 -05:00
Dmitriy Fishman
26ca35f8b4
Update contributing.md ( #9893 )
2021-11-25 08:10:12 -05:00
Igor Lukanin
51762aece5
docs: Add a link to front-end integrations ( #9866 )
2021-11-17 18:04:22 -05:00
Jukka Kurkela
6bc47d3cea
Update misleading sample comment ( #9865 )
2021-11-17 07:34:00 -05:00
Jacco van den Berg
681ada552e
Docs/update scale position type ( #9812 )
...
* update type of scale position in docs, add explanation sentence to object position
* improve clarification
* grammar/spelling
2021-11-07 21:31:31 +02:00
Eric Theise
67c5a85144
Define with let to avoid "assignment to constant" errors ( #9803 )
...
* Define with let to avoid "assignment to constant" errors
Thanks for this example. Defining `label` with `const` rather than `let` results in `Uncaught TypeError: Assignment to constant variable.`
* Another case where const needs to be replaced with let.
* Requested cases where const needs to be replaced with let +1 (style).
2021-10-30 09:23:14 -04:00
Jukka Kurkela
2a97192154
New sample: Progressive Line With Easing ( #9798 )
2021-10-26 07:49:04 -04:00
Jacco van den Berg
9039053049
change namespace and chart types that override legend defaults ( #9791 )
2021-10-25 19:48:51 +03:00
Evert Timberg
2f4962f750
Add warning about chart types overriding plugin defaults ( #9787 )
2021-10-24 12:14:37 -04:00
mikidoodle
6c220748db
Fixed 4 links ( #9720 )
...
* Update linear.md
* Update padding.md
* Update padding.md
* Update padding.md
* Update padding.md
* Update padding.md
* Update padding.md
* Update padding.md
* Update padding.md
* Update padding.md
* Padding.md links work now
* Decimation plugin links work now
* Three links work now
I’ve made the Specify a rotation value and ticks.sampleSize links work.
* Update linear.md
2021-10-15 22:36:53 +03:00
PrashoonB
6f7e09540c
Changed var to const/let in the docs ( #9744 )
...
Changed var to const/let in the docs
2021-10-13 14:51:33 -04:00
0xflotus
28de4b00dc
docs: fix small error ( #9724 )
2021-10-05 18:55:42 -04:00
Jukka Kurkela
e1ae5e6abf
Add layout.autoPadding option ( #9716 )
2021-10-04 14:01:10 -04:00
Evert Timberg
a21c1c6dfa
Document sample components file ( #9697 )
2021-10-01 19:27:54 +03:00
Jukka Kurkela
c3a53f06d7
Bar: fix too thick borders ( #9678 )
2021-09-25 07:52:03 +03:00
Jukka Kurkela
990a2890d5
Fix some typings issues ( #9680 )
...
* Types: Add scope to ticks.callback
* Fix some typings issues
2021-09-24 18:13:53 -04:00
Jukka Kurkela
183a1a9f67
Fix segment styling with gaps ( #9644 )
2021-09-13 16:31:34 -04:00
Evert Timberg
f5c9a656ef
Configurable tooltip box padding ( #9625 )
2021-09-06 09:13:21 -04:00
Iurii Golskyi
eab0554717
fix: broken link to cubicInterpolationMode
( #9626 )
...
* fix: broken link to `cubicInterpolationMode`
Elements -> Line configurations -> cubicInterpolationMode
* fix: broken link in Line Configuration
2021-09-05 16:31:00 -04:00
Evert Timberg
71fa55acac
Add parsing support to pie/doughnut charts ( #9622 )
2021-09-05 13:46:26 -04:00
Evert Timberg
0cdadd2560
Enable per-corner border radius in tooltip ( #9620 )
2021-09-05 13:07:28 -04:00
Evert Timberg
e9ed186081
Update tooltip callback docs ( #9618 )
2021-09-04 14:07:24 -04:00
Evert Timberg
eb1e82c981
Update old codepen links to ones for v3 ( #9619 )
2021-09-04 14:03:52 -04:00
Ewan Mellor
fdd3ede6aa
Fix broken link. ( #9555 )
...
Fix broken link from Creating Custom Tick Formats section to the Tick
API page.
2021-08-17 12:29:18 +03:00
Evert Timberg
3792f9dbf7
Ensure that docs have more width in the page ( #9549 )
2021-08-14 20:17:48 +03:00
Jacco van den Berg
bc6ef16f31
fix 2 broken links, clarify order property ( #9516 )
2021-08-08 16:52:09 -04:00
Evert Timberg
148114b03b
Add more details on legend sort function ( #9524 )
2021-08-08 16:51:56 -04:00
M4sterShake
96ab578b6e
fixing typo in docs on axes labelling ( #9503 )
...
Co-authored-by: Max <max.borkowski@reedbusiness.com>
2021-08-01 07:02:44 +03:00
Jacco van den Berg
f0a53fd44e
Move pointStyle types and update plugin link&render chart ( #9479 )
...
* Place canvasElement on next line to keep table clean
* move typing to global location, update plugin page
2021-07-30 08:14:07 -04:00
Yash Singh
c0d8dd9d05
Shorthand labels key in getting started ( #9465 )
...
* Shorthand labels key in getting started
* Change to longhand
2021-07-27 23:48:14 +03:00
Niklas Noldin
2400fcb432
Adjust text to code example ( #9475 )
...
The previous text explains that, in the example, the font color is set and overridden but the code sets and overrides the _font size_.
2021-07-26 13:15:39 -04:00
Juan Cortés Ross
ac6929d8f6
Update charts.md ( #9472 )
2021-07-26 09:35:03 -04:00
stockiNail
3311377682
Adds HTMLCanvasElement as possible value for pointStyle option ( #9458 )
2021-07-23 08:26:49 +03:00
Jukka Kurkela
b32fb48574
Bar: add 'middle' option for borderSkipped ( #9452 )
...
* Bar: add 'middle' option for borderSkipped
* Split in 2
2021-07-21 07:13:45 -04:00
Jukka Kurkela
cf951ac611
Add ability to hide specific data element ( #9450 )
2021-07-21 07:08:02 -04:00
Jukka Kurkela
151188e2f2
Add data/dataset indices to line segment context ( #9451 )
2021-07-21 07:00:05 -04:00
Jukka Kurkela
47d4b04836
Layout: support box stacking ( #9364 )
...
* Layout: support box stacking
* Add stackWeight and sample
* Cleanup, update docs and types
* Avoid div0
* missing semi
2021-07-11 06:23:42 -04:00
Jacco van den Berg
655c635191
Add SubTitle to the list of all esm imports ( #9384 )
2021-07-10 08:09:33 -04:00
Evert Timberg
774c444cb9
Point label specific scriptable context ( #9373 )
2021-07-09 06:57:55 -04:00
Jukka Kurkela
840599637f
Add 'shape' mode for filler-plugin ( #9360 )
2021-07-05 17:03:19 -04:00
Nico-DF
b4dee5507c
Adding threshold option to decimation plugin ( #9327 )
2021-07-04 13:19:35 -04:00
Jukka Kurkela
28d6619555
Update deps ( #9349 )
2021-07-04 07:27:00 -04:00
stockiNail
548d042099
Fixes spacing options in the table ( #9338 )
2021-07-01 11:09:44 -04:00
Jacco van den Berg
925fc71cc9
Clarify how to import and use the helper functions with bundlers ( #9319 )
2021-06-25 18:34:41 -04:00
Jacco van den Berg
e4c7a73e31
resolves #9316 ( #9317 )
2021-06-25 08:07:11 -04:00
Ben Lumley
3bb0241dee
Fix broken link ( #9315 )
2021-06-25 14:08:38 +03:00
Jukka Kurkela
ed73dce18b
Docs: describe catching events with plugin ( #9296 )
2021-06-20 13:11:30 -04:00
Jukka Kurkela
c6976e8975
New plugin: subtitle ( #9294 )
...
* New plugin: subtitle
* Fix naive error for multiple charts
2021-06-20 07:34:55 -04:00
Josh Kelley
2768c7dea7
Fix type definitions for getPixelForValue
( #9263 )
...
Update docs: From what I can tell, the `index` parameter was re-introduced as part of the new `normalized` option.
2021-06-14 07:49:27 +03:00
Jukka Kurkela
54da5341f1
Docs: Add copy button to code blocks ( #9262 )
2021-06-13 07:40:51 -04:00
Jukka Kurkela
6a46cc39bb
Docs: fix broken and inconsistent links ( #9237 )
2021-06-05 08:04:57 -04:00
Jacco van den Berg
26f8d7b735
complete custom legend click sample to also work for pie/doughnut charts ( #9219 )
2021-06-02 22:48:04 +03:00
Jacco van den Berg
b78b7c3534
Add explanation on how to run the samples locally ( #9207 )
...
* add explenation on how to run the samples locally
* Remove unecesarry parts from link
2021-06-02 22:47:16 +03:00
Evert Timberg
599e23abfd
Tick backdrop padding is not scriptable ( #9191 )
...
* Tick backdrop padding is not scriptable
* Remove unneeded change
* Update _scriptable for callback
2021-05-30 16:59:49 -04:00
Evert Timberg
c853ca6942
Allow setting a constance spacing between arc elements ( #9180 )
2021-05-29 17:47:44 -04:00
Jukka Kurkela
8c63351067
Add documentation about default scales ( #9173 )
2021-05-28 07:37:21 -04:00
Jacco van den Berg
f486610693
Update pointstyle type and default value ( #9168 )
2021-05-26 11:21:57 -04:00
Jacco van den Berg
140cbb4cd6
show the utils file in the samples page to clarify what the functions do ( #9160 )
2021-05-26 07:55:26 -04:00
Sylhare
ee519606f2
Fix scales option in example ( #9146 )
2021-05-21 17:56:21 -04:00
Jacco van den Berg
6f7d5fbb64
add legend to the default onclick to make sample work ( #9126 )
2021-05-19 10:40:10 -04:00
Evert Timberg
ccff2fd163
Add documentation note about only styling the parent div ( #9115 )
2021-05-18 08:11:17 -04:00
Jacco van den Berg
43d3f4d19b
remove double sentence and adjust scale to scales.r ( #9111 )
2021-05-17 17:08:39 +03:00
Jacco van den Berg
9885126ac0
add default values so it wont crash on out of memory calculation by calcualting power of infinity ( #9060 )
2021-05-10 08:50:17 -04:00
Evert Timberg
a87175f119
HTML legend handles doughnut/pie charts ( #9044 )
...
* HTML legend handles doughnut/pie charts
* Fix lint error
2021-05-08 08:10:18 +03:00
Jukka Kurkela
7c3a412887
Add includeBounds option for cartesian ticks ( #9020 )
...
* Add includeBounds option for cartesian ticks
* Types, test and fix
* lint
* Improve linear tick min/max collision detection
* Update comments
2021-05-07 09:03:37 +03:00
hiroki shimizu
f5c51afd51
fix typo on api.md ( #9030 )
2021-05-05 07:49:05 -04:00
Jacco van den Berg
e021a77214
add index for radial axes to nav and update fonts location file in pointlabels ( #9024 )
2021-05-04 22:18:25 -04:00
Evert Timberg
55dd426a41
Add documentation on tooltip xAlign and yAlign ( #9011 )
2021-05-01 11:57:13 -04:00
Jukka Kurkela
eaa3a68cea
Add drawTime: beforeDraw option to filler ( #8973 )
2021-04-24 15:27:52 -04:00
Evert Timberg
87ce198ac8
In html tooltip sample padding is read from the options ( #8971 )
2021-04-24 10:51:19 -04:00
Evert Timberg
b92f9e52fd
Only enable the bar borderRadius at the end of the stacks ( #8941 )
...
* Only enable the bar borderRadius at the end of the stacks
* Float bars always get borders enabled
* Tests
* Update documentation
2021-04-18 16:30:54 -04:00
Jukka Kurkela
019cb9f305
Add example plugins for border and quadrants ( #8942 )
2021-04-18 16:02:20 -04:00
Evert Timberg
af7965fc31
Cartesian scale tick backdrop ( #8931 )
2021-04-18 12:49:22 +03:00
Jukka Kurkela
ca50287a76
Add initial
property to animation callbacks ( #8926 )
2021-04-17 08:09:22 -04:00
Jukka Kurkela
d5f4a82e74
Fix minor issues in docs ( #8910 )
2021-04-16 15:46:14 -04:00
Касымов Нурлан
be7a2ce69e
Fix javascript syntax error in docs/general/padding.md ( #8907 )
2021-04-16 20:32:26 +03:00
Jacco van den Berg
768bd38822
Update v3-migration.md ( #8904 )
...
Update link to index axis of horizontal bar
2021-04-15 23:08:07 +03:00
Jukka Kurkela
95faa4f2a2
Docs: Update version menu title ( #8887 )
2021-04-12 17:18:02 -04:00
Jukka Kurkela
0ae0fd4b2a
Limit onHover to chartArea ( #8794 )
2021-04-10 16:13:30 -04:00
Jukka Kurkela
05ba2eedff
Add version menu in documentation ( #8866 )
...
* Add version menu in documentation
* Use filters for tags
* Use limit
* Update
* Use released plugin
* use published version
2021-04-10 16:10:59 -04:00
Jukka Kurkela
f8885ce7a2
Font validate style, move defaults to weight
( #8877 )
2021-04-10 15:58:11 -04:00
Jukka Kurkela
9e70913bed
Enable event filtering per plugin ( #8876 )
2021-04-10 15:18:30 -04:00
Evert Timberg
d6d189c804
Legend boxes support borderRadius ( #8875 )
2021-04-10 15:05:34 -04:00
Evert Timberg
7ee498e412
Tooltip colorbox supports configurable borderWidth, borderRadius, and dash effect ( #8874 )
...
* Start on extending tooltip style
* Correct borderRadius implementation
* Tests of updated tooltip styling
* Update docs
2021-04-10 13:37:22 -04:00
Jukka Kurkela
c35bee1f4f
Document the no-parsing requirement of decimation ( #8869 )
2021-04-10 08:59:14 -04:00
Jukka Kurkela
ba84cc5c2a
Filler: support segment backgroundColor ( #8864 )
2021-04-09 19:10:48 -04:00
Jacco van den Berg
735764ac4f
Docs/broken link ( #8863 )
...
* Change tabs from area samples to buttons to switch to be in line with other samples, change linewith of extra line datasets to default instead of 1 to be in line with all other lines in the sampels
* fix few broken links in docs
2021-04-09 17:06:18 -04:00
Jukka Kurkela
4eb59454be
Allow styling of line segments ( #8844 )
...
Allow styling of line segments
* docs & sample
* Types
* update sample
2021-04-08 18:02:12 -04:00
Jacco van den Berg
6c7bf2299b
Docs migration register options ( #8850 )
...
* Change tabs from area samples to buttons to switch to be in line with other samples, change linewith of extra line datasets to default instead of 1 to be in line with all other lines in the sampels
* add link to all available import sample in the migration guide
2021-04-08 07:15:43 +03:00
stockiNail
7ae1064ab9
Apply scale context to ticks scriptable options instead of chart context ( #8839 )
...
* Fixes #8835
* context as argument because protected
* fixes test case on formatters
* reverts previous commits and sets the scale context in the scale init
* changes documentation about linear ticks, adding scriptable Yes
2021-04-07 16:45:39 -04:00
Mohammad Ahmadi
82d42bd799
Fix typos in canvas-background.md ( #8837 )
2021-04-07 19:51:45 +03:00
Mohammad Ahmadi
873223fc78
Fix typo in migration guide ( #8836 )
2021-04-07 08:05:33 +03:00