language
stringclasses
1 value
owner
stringlengths
2
15
repo
stringlengths
2
21
sha
stringlengths
45
45
message
stringlengths
7
36.3k
path
stringlengths
1
199
patch
stringlengths
15
102k
is_multipart
bool
2 classes
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/advanced/derived-chart-type.md
@@ -44,3 +44,7 @@ module.exports = { ## DerivedBubble Implementation <<< @/docs/scripts/derived-bubble.js + +## Docs +* [Bubble Chart](../../charts/bubble.html) +* [New Charts](../../developers/charts.html)
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/advanced/linear-gradient.md
@@ -108,3 +108,11 @@ module.exports = { config: config, }; ``` + +## Docs +* [Colors](../../general/colors.html) + * [Patterns and Gradients](../../general/colors.html#patterns-and-gradients) +* [Data structures (`labels`)](../../general/data-structures.html) +* [Options](../../general/options.html) + * [Scrip...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/advanced/programmatic-events.md
@@ -101,3 +101,15 @@ module.exports = { config: config, }; ``` + +## API +* [Chart](../../api/classes/Chart.md) + * [`setActiveElements`](../../api/classes/Chart.md#setactiveelements) +* [TooltipModel](../../api/interfaces/TooltipModel.html) + * [`setActiveElements`](../../api/interfaces/TooltipModel.html#setact...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/advanced/progress-bar.md
@@ -142,3 +142,11 @@ module.exports = { output: 'console.log output is displayed here' }; ``` + +## Docs +* [Animations](../../configuration/animations.html) + * [Animation Callbacks](../../configuration/animations.html#animation-callbacks) +* [Data structures (`labels`)](../../general/data-structures.html) +* [L...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/advanced/radial-gradient.md
@@ -114,3 +114,9 @@ module.exports = { config, }; ``` + +## Docs +* [Polar Area Chart](../../charts/polar.md) + * [Styling](../../charts/polar.md#styling) +* [Options](../../general/options.html) + * [Scriptable Options](../../general/options.html#scriptable-options) \ No newline at end of file
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/animations/delay.md
@@ -77,3 +77,11 @@ module.exports = { config: config, }; ``` +## Docs +* [Animations](../../configuration/animations.html) + * [animation (`delay`)](../../configuration/animations.html#animation) + * [Animation Callbacks](../../configuration/animations.html#animation-callbacks) +* [Bar](../../charts/bar.html) + ...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/animations/drop.md
@@ -123,3 +123,14 @@ module.exports = { config: config, }; ``` +## Docs +* [Area](../../charts/area.html) +* [Animations](../../configuration/animations.html) + * [animation (`easing`)](../../configuration/animations.html#animation) + * [animations (`from`)](../../configuration/animations.html#animations-2) +* [...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/animations/loop.md
@@ -123,3 +123,19 @@ module.exports = { config: config, }; ``` +## Docs +* [Animations](../../configuration/animations.html) + * [animation](../../configuration/animations.html#animation) + * `duration` + * `easing` + * **`loop`** + * [Default animations (`radius`)](../../configuration/animations.html#d...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/animations/progressive-line-easing.md
@@ -170,3 +170,20 @@ module.exports = { }; ``` +## Api +* [Chart](../../api/classes/Chart.md) + * [`getDatasetMeta`](../../api/classes/Chart.md#getdatasetmeta) +* [Scale](../../api/classes/Scale.html) + * [`getPixelForValue`](../../api/classes/Scale.html#getpixelforvalue) +## Docs +* [Animations](../../configura...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/animations/progressive-line.md
@@ -88,3 +88,20 @@ module.exports = { }; ``` + +## Api +* [Chart](../../api/classes/Chart.md) + * [`getDatasetMeta`](../../api/classes/Chart.md#getdatasetmeta) +* [Scale](../../api/classes/Scale.html) + * [`getPixelForValue`](../../api/classes/Scale.html#getpixelforvalue) +## Docs +* [Animations](../../configura...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/area/line-boundaries.md
@@ -118,3 +118,10 @@ module.exports = { config: config, }; ``` + +## Docs +* [Area](../../charts/area.html) + * [Filling modes](../../charts/area.htmll#filling-modes) + * Boundary: `'start'`, `'end'`, `'origin'` +* [Line](../../charts/line.html) +* [Data structures (`labels`)](../../general/data-structures.htm...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/area/line-datasets.md
@@ -164,3 +164,11 @@ module.exports = { ``` <div id="chart-analyser" class="analyser"></div> + +## Docs +* [Area](../../charts/area.html) + * [Filling modes](../../charts/area.htmll#filling-modes) +* [Line](../../charts/line.html) +* [Data structures (`labels`)](../../general/data-structures.html) +* [Axes scales]...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/area/line-drawtime.md
@@ -113,3 +113,9 @@ module.exports = { config: config, }; ``` +## Docs +* [Area](../../charts/area.html) + * [Configuration (`drawTime`)](../../charts/area.html#configuration) +* [Line](../../charts/line.html) + * [Line Styling (`tension`)](../../charts/line.html#line-styling) +* [Data structures (`labels`)](../...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/area/line-stacked.md
@@ -170,3 +170,11 @@ module.exports = { config: config }; ``` + +## Docs +* [Area](../../charts/area.html) + * [Filling modes](../../charts/area.htmll#filling-modes) +* [Line](../../charts/line.html) +* [Data structures (`labels`)](../../general/data-structures.html) +* [Axes scales](../../axes/) + * [Common opt...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/area/radar.md
@@ -139,3 +139,10 @@ module.exports = { ``` <div id="chart-analyser" class="analyser"></div> + +## Docs +* [Area](../../charts/area.html) + * [Filling modes](../../charts/area.htmll#filling-modes) + * [`propagate`](../../charts/area.html#propagate) +* [Radar](../../charts/radar.html) +* [Data structures (`labels`...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/bar/border-radius.md
@@ -69,3 +69,8 @@ module.exports = { config: config, }; ``` + +## Docs +* [Bar](../../charts/bar.html) + * [`borderRadius`](../../charts/bar.html#borderradius) +* [Data structures (`labels`)](../../general/data-structures.html)
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/bar/floating.md
@@ -1,5 +1,7 @@ # Floating Bars +Using `[number, number][]` as the type for `data` to define the beginning and end value for each bar. This is instead of having every bar start at 0. + ```js chart-editor // <block:actions:2> const actions = [ @@ -67,3 +69,6 @@ module.exports = { config: config, }; ``` +## Do...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/bar/horizontal.md
@@ -121,3 +121,8 @@ module.exports = { config: config, }; ``` + +## Docs +* [Bar](../../charts/bar.html) + * [Horizontal Bar Chart](../../charts/bar.html#horizontal-bar-chart) +
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/bar/stacked-groups.md
@@ -1,5 +1,7 @@ # Stacked Bar Chart with Groups +Using the `stack` property to divide datasets into multiple stacks. + ```js chart-editor // <block:actions:2> const actions = [ @@ -77,3 +79,10 @@ module.exports = { config: config, }; ``` + +## Docs +* [Bar](../../charts/bar.html) + * [Stacked Bar Chart](../...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/bar/stacked.md
@@ -71,3 +71,7 @@ module.exports = { config: config, }; ``` +## Docs +* [Bar](../../charts/bar.html) + * [Stacked Bar Chart](../../charts/bar.html#stacked-bar-chart) +
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/bar/vertical.md
@@ -113,3 +113,7 @@ module.exports = { config: config, }; ``` + +## Docs +* [Bar](../../charts/bar.html) +* [Data structures (`labels`)](../../general/data-structures.html)
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/legend/events.md
@@ -55,3 +55,9 @@ module.exports = { config }; ``` + +## Docs +* [Doughnut and Pie Charts](../../charts/doughnut.html) +* [Legend](../../configuration/legend.html) + * `onHover` + * `onLeave` \ No newline at end of file
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/legend/html.md
@@ -131,3 +131,10 @@ module.exports = { config: config, }; ``` + +## Docs +* [Data structures (`labels`)](../../general/data-structures.html) +* [Line](../../charts/line.html) +* [Legend](../../configuration/legend.html) + * `display: false` +* [Plugins](../../developers/plugins.html)
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/legend/point-style.md
@@ -56,4 +56,14 @@ module.exports = { actions: actions, config: config, }; -``` \ No newline at end of file +``` + +## Docs +* [Data structures (`labels`)](../../general/data-structures.html) +* [Line](../../charts/line.html) +* [Legend](../../configuration/legend.html) + * [Legend Label Configuration](../../c...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/legend/position.md
@@ -65,4 +65,10 @@ module.exports = { actions: actions, config: config, }; -``` \ No newline at end of file +``` + +## Docs +* [Data structures (`labels`)](../../general/data-structures.html) +* [Line](../../charts/line.html) +* [Legend](../../configuration/legend.html) + * [Position](../../configuration/legen...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/legend/title.md
@@ -71,4 +71,9 @@ module.exports = { actions: actions, config: config, }; -``` \ No newline at end of file +``` + +## Docs +* [Data structures (`labels`)](../../general/data-structures.html) +* [Line](../../charts/line.html) +* [Legend](../../configuration/legend.html) \ No newline at end of file
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/line/interpolation.md
@@ -75,3 +75,9 @@ module.exports = { config: config, }; ``` + +## Docs +* [Line](../../charts/line.html) + * [`cubicInterpolationMode`](../../charts/line.html#cubicinterpolationmode) + * [Line Styling (`tension`)](../../charts/line.html#line-styling) +
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/line/line.md
@@ -112,3 +112,7 @@ module.exports = { config: config, }; ``` + +## Docs +* [Line](../../charts/line.html) +* [Data structures (`labels`)](../../general/data-structures.html)
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/line/multi-axis.md
@@ -84,3 +84,11 @@ module.exports = { config: config, }; ``` + +## Docs +* [Axes scales](../../axes/) +* [Cartesian Axes](../../axes/cartesian/) + * [Axis Position](../../axes/cartesian/#axis-position) +* [Data structures (`labels`)](../../general/data-structures.html) +* [Line](../../charts/line.html) +
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/line/point-styling.md
@@ -134,3 +134,8 @@ module.exports = { config: config, }; ``` + +## Docs +* [Data structures (`labels`)](../../general/data-structures.html) +* [Line](../../charts/line.html) + * [Point Styling](../../charts/line.html#point-styling)
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/line/segments.md
@@ -1,4 +1,5 @@ # Line Segment Styling +Using helper functions to style each segment. Gaps in the data ('skipped') are set to dashed lines and segments with values going 'down' are set to a different color. ```js chart-editor @@ -42,3 +43,11 @@ module.exports = { config: config, }; ``` + +## Docs +* [Data st...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/line/stepped.md
@@ -91,3 +91,8 @@ module.exports = { config: config, }; ``` + +## Docs +* [Data structures (`labels`)](../../general/data-structures.html) +* [Line](../../charts/line.html) + * [Stepped](../../charts/line.html#stepped)
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/line/styling.md
@@ -74,3 +74,8 @@ module.exports = { config: config, }; ``` + +## Docs +* [Data structures (`labels`)](../../general/data-structures.html) +* [Line](../../charts/line.html) + * [Line Styling](../../charts/line.html#line-styling)
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/other-charts/bubble.md
@@ -111,3 +111,6 @@ module.exports = { config: config, }; ``` + +## Docs +* [Bubble](../../charts/bubble.html) \ No newline at end of file
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/other-charts/combo-bar-line.md
@@ -116,3 +116,8 @@ module.exports = { config: config, }; ``` + +## Docs +* [Bar](../../charts/bar.html) +* [Line](../../charts/line.html) +* [Data structures (`labels`)](../../general/data-structures.html)
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/other-charts/doughnut.md
@@ -134,3 +134,6 @@ module.exports = { config: config, }; ``` + +## Docs +* [Doughnut and Pie Charts](../../charts/doughnut.html)
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/other-charts/multi-series-pie.md
@@ -89,3 +89,8 @@ module.exports = { config: config, }; ``` + +## Docs +* [Doughnut and Pie Charts](../../charts/doughnut.html) +* [Options](../../general/options.html) + * [Scriptable Options](../../general/options.html#scriptable-options) \ No newline at end of file
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/other-charts/pie.md
@@ -110,3 +110,5 @@ module.exports = { config: config, }; ``` +## Docs +* [Doughnut and Pie Charts](../../charts/doughnut.html)
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/other-charts/polar-area-center-labels.md
@@ -100,3 +100,8 @@ module.exports = { config: config, }; ``` + +## Docs +* [Polar Area Chart](../../charts/polar.md) +* [Linear Radial Axis](../../axes/radial/linear.html) + * [Point Label Options (`centerPointLabels`)](../../axes/radial/linear.html#point-label-options) \ No newline at end of file
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/other-charts/polar-area.md
@@ -89,3 +89,6 @@ module.exports = { config: config, }; ``` + +## Docs +* [Polar Area Chart](../../charts/polar.md)
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/other-charts/radar-skip-points.md
@@ -85,3 +85,6 @@ module.exports = { }; ``` +## Docs +* [Radar](../../charts/radar.html) +* [Data structures (`labels`)](../../general/data-structures.html)
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/other-charts/radar.md
@@ -109,3 +109,7 @@ module.exports = { config: config, }; ``` + +## Docs +* [Radar](../../charts/radar.html) +* [Data structures (`labels`)](../../general/data-structures.html)
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/other-charts/scatter-multi-axis.md
@@ -133,3 +133,8 @@ module.exports = { config: config, }; ``` + +## Docs +* [Scatter](../../charts/scatter.html) +* [Cartesian Axes](../../axes/cartesian/) + * [Axis Position](../../axes/cartesian/#axis-position) \ No newline at end of file
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/other-charts/scatter.md
@@ -111,3 +111,6 @@ module.exports = { config: config, }; ``` + +## Docs +* [Scatter](../../charts/scatter.html) \ No newline at end of file
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/other-charts/stacked-bar-line.md
@@ -118,3 +118,13 @@ module.exports = { config: config, }; ``` + +## Docs +* [Axes scales](../../axes/) + * [Common options to all axes (`stacked`)](../../axes/#common-options-to-all-axes) + * [Stacking](../../axes/#stacking) +* [Bar](../../charts/bar.html) +* [Line](../../charts/line.html) +* [Data structures (...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/plugins/chart-area-border.md
@@ -61,3 +61,9 @@ const config = { module.exports = { config: config, }; +``` + +## Docs +* [Line](../../charts/line.html) +* [Data structures (`labels`)](../../general/data-structures.html) +* [Plugins](../../developers/plugins.html)
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/plugins/doughnut-empty-state.md
@@ -75,3 +75,9 @@ module.exports = { actions, config, }; +``` + +## Docs +* [Data structures (`labels`)](../../general/data-structures.html) +* [Plugins](../../developers/plugins.html) +* [Doughnut and Pie Charts](../../charts/doughnut.html)
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/plugins/quadrants.md
@@ -77,3 +77,9 @@ module.exports = { actions, config, }; +``` + +## Docs +* [Data structures (`labels`)](../../general/data-structures.html) +* [Plugins](../../developers/plugins.html) +* [Scatter](../../charts/scatter.html)
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/scale-options/center.md
@@ -86,4 +86,9 @@ module.exports = { actions: actions, config: config, }; -``` \ No newline at end of file +``` + +## Docs +* [Scatter](../../charts/scatter.html) +* [Cartesian Axes](../../axes/cartesian/) + * [Axis Position](../../axes/cartesian/#axis-position) \ No newline at end of file
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/scale-options/grid.md
@@ -92,3 +92,12 @@ module.exports = { config: config, }; ``` + +## Docs +* [Line](../../charts/line.html) +* [Options](../../general/options.html) + * [Scriptable Options](../../general/options.html#scriptable-options) + * [Tick Context](../../general/options.html#tick) +* [Data structures (`labels`)](../../ge...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/scale-options/ticks.md
@@ -92,3 +92,12 @@ module.exports = { config: config, }; ``` + +## Docs +* [Line](../../charts/line.html) +* [Options](../../general/options.html) + * [Scriptable Options](../../general/options.html#scriptable-options) + * [Tick Context](../../general/options.html#tick) +* [Data structures (`labels`)](../../ge...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/scale-options/titles.md
@@ -74,3 +74,12 @@ module.exports = { config: config, }; ``` + +## Docs +* [Line](../../charts/line.html) +* [Data structures (`labels`)](../../general/data-structures.html) +* [Axes Styling](../../axes/styling.html) +* [Cartesian Axes](../../axes/cartesian/) + * [Common options to all cartesian axes](../../axes/...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/scales/linear-min-max-suggested.md
@@ -54,3 +54,10 @@ module.exports = { config: config, }; ``` + +## Docs +* [Line](../../charts/line.html) +* [Data structures (`labels`)](../../general/data-structures.html) +* [Axes scales](../../axes/) + * [Common options to all axes](../../axes/#common-options-to-all-axes) + * [Axis Range Settings](../../axes...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/scales/linear-min-max.md
@@ -51,3 +51,10 @@ module.exports = { config: config, }; ``` + +## Docs +* [Line](../../charts/line.html) +* [Data structures (`labels`)](../../general/data-structures.html) +* [Axes scales](../../axes/) + * [Common options to all axes (`min`,`max`)](../../axes/#common-options-to-all-axes) + \ No newline at end ...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/scales/linear-step-size.md
@@ -137,3 +137,12 @@ module.exports = { config: config, }; ``` + +## Docs +* [Line](../../charts/line.html) +* [Data structures (`labels`)](../../general/data-structures.html) +* [Axes scales](../../axes/) + * [Common options to all axes (`min`,`max`)](../../axes/#common-options-to-all-axes) +* [Linear Axis](../....
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/scales/log.md
@@ -74,3 +74,9 @@ module.exports = { config: config, }; ``` + +## Docs +* [Line](../../charts/line.html) +* [Logarithmic Axis](../../axes/cartesian/logarithmic.html) +* [Data structures (`labels`)](../../general/data-structures.html) +
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/scales/stacked.md
@@ -69,3 +69,9 @@ module.exports = { config: config, }; ``` + +## Docs +* [Line](../../charts/line.html) +* [Axes scales](../../axes/) + * [Stacking](../../axes/#stacking) +* [Data structures (`labels`)](../../general/data-structures.html)
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/scales/time-combo.md
@@ -80,3 +80,9 @@ module.exports = { config: config, }; ``` + +## Docs +* [Bar](../../charts/bar.html) +* [Line](../../charts/line.html) +* [Data structures (`labels`)](../../general/data-structures.html) +* [Time Scale](../../axes/cartesian/time.html)
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/scales/time-line.md
@@ -110,3 +110,7 @@ module.exports = { config: config, }; ``` + +## Docs +* [Line](../../charts/line.html) +* [Time Cartesian Axis](../../axes/cartesian/time.html) \ No newline at end of file
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/scales/time-max-span.md
@@ -124,3 +124,8 @@ module.exports = { config: config, }; ``` + +## Docs +* [Line](../../charts/line.html) + * [`spanGaps`](../../charts/line.html#line-styling) +* [Time Scale](../../axes/cartesian/time.html)
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/scriptable/bar.md
@@ -1,4 +1,5 @@ # Bar Chart +Demo selecting bar color based on the bar's y value. ```js chart-editor // <block:setup:2> @@ -71,3 +72,10 @@ module.exports = { config, }; ``` + +## Docs +* [Bar](../../charts/bar.html) +* [Data structures (`labels`)](../../general/data-structures.html) + * [Dataset Configuratio...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/scriptable/bubble.md
@@ -107,3 +107,8 @@ module.exports = { config, }; ``` + +## Docs +* [Bubble](../../charts/bubble.html) +* [Options](../../general/options.html) + * [Scriptable Options](../../general/options.html#scriptable-options) \ No newline at end of file
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/scriptable/line.md
@@ -89,3 +89,11 @@ module.exports = { config, }; ``` + +## Docs +* [Line](../../charts/line.html) + * [Point Styling](../../charts/line.html#point-styling) +* [Options](../../general/options.html) + * [Scriptable Options](../../general/options.html#scriptable-options) +* [Data structures (`labels`)](../../genera...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/scriptable/pie.md
@@ -85,3 +85,8 @@ module.exports = { config, }; ``` + +## Docs +* [Options](../../general/options.html) + * [Scriptable Options](../../general/options.html#scriptable-options) +* [Doughnut and Pie Charts](../../charts/doughnut.html) \ No newline at end of file
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/scriptable/polar.md
@@ -75,3 +75,8 @@ module.exports = { config, }; ``` + +## Docs +* [Options](../../general/options.html) + * [Scriptable Options](../../general/options.html#scriptable-options) +* [Polar Area Chart](../../charts/polar.md)
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/scriptable/radar.md
@@ -92,3 +92,8 @@ module.exports = { config, }; ``` + +## Docs +* [Options](../../general/options.html) + * [Scriptable Options](../../general/options.html#scriptable-options) +* [Radar](../../charts/radar.html)
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/subtitle/basic.md
@@ -53,3 +53,9 @@ module.exports = { config: config, }; ``` + +## Docs +* [Data structures (`labels`)](../../general/data-structures.html) +* [Line](../../charts/line.html) +* [Title](../../configuration/title.html) +* [Subtitle](../../configuration/subtitle.html)
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/title/alignment.md
@@ -66,4 +66,9 @@ module.exports = { actions: actions, config: config, }; -``` \ No newline at end of file +``` + +## Docs +* [Data structures (`labels`)](../../general/data-structures.html) +* [Line](../../charts/line.html) +* [Title](../../configuration/title.html) \ No newline at end of file
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/tooltip/content.md
@@ -63,4 +63,10 @@ module.exports = { actions: [], config: config, }; -``` \ No newline at end of file +``` + +## Docs +* [Data structures (`labels`)](../../general/data-structures.html) +* [Line](../../charts/line.html) +* [Tooltip](../../configuration/tooltip.html) + * [Tooltip Callbacks](../../configuration...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/tooltip/html.md
@@ -163,3 +163,10 @@ module.exports = { config: config, }; ``` + +## Docs +* [Data structures (`labels`)](../../general/data-structures.html) +* [Line](../../charts/line.html) +* [Tooltip](../../configuration/tooltip.html) + * [External (Custom) Tooltips](../../configuration/tooltip.html#external-custom-tooltips...
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/tooltip/interactions.md
@@ -128,3 +128,9 @@ module.exports = { config: config, }; ``` + +## Docs +* [Data structures (`labels`)](../../general/data-structures.html) +* [Line](../../charts/line.html) +* [Tooltip](../../configuration/tooltip.html) +* [Interactions](../../configuration/interactions.html)
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/tooltip/point-style.md
@@ -77,4 +77,13 @@ module.exports = { actions: actions, config: config, }; -``` \ No newline at end of file +``` + +## Docs +* [Data structures (`labels`)](../../general/data-structures.html) +* [Line](../../charts/line.html) +* [Tooltip](../../configuration/tooltip.html) + * `usePointStyle` +* [Elements](../....
true
Other
chartjs
Chart.js
4183b7f04a8f5b1e8336aaa8b93f260ffd66a042.json
Add links to docs in all the samples (#10308)
docs/samples/tooltip/position.md
@@ -98,4 +98,11 @@ module.exports = { actions: actions, config: config, }; -``` \ No newline at end of file +``` + +## Docs +* [Data structures (`labels`)](../../general/data-structures.html) +* [Line](../../charts/line.html) +* [Tooltip](../../configuration/tooltip.html) + * [Position Modes](../../configurati...
true
Other
chartjs
Chart.js
8ac3cc2191ccf826e66ec8aaed7fd17fd0dfc370.json
Remove test job from windows runner (#10345) * Remove test stop from windows runner * consistent formatting
.github/workflows/ci.yml
@@ -54,13 +54,12 @@ jobs: run: npm run build - name: Test if: | - steps.changes.outputs.src == 'true' || - steps.changes.outputs.test == 'true' + (steps.changes.outputs.src == 'true' || + steps.changes.outputs.test == 'true') && + runner.os != 'Wind...
false
Other
chartjs
Chart.js
a9765042f184bb25c97cc0501c9a956d4167c448.json
Use abs() when comparing for spanGaps (#10316) * Use abs() when comparing for spanGaps * tests for spanGaps w/ integer (boolean already covered) * remove redundant default config from spanGaps tests
src/controllers/controller.line.js
@@ -68,7 +68,7 @@ export default class LineController extends DatasetController { const vPixel = properties[vAxis] = reset || nullData ? vScale.getBasePixel() : vScale.getPixelForValue(_stacked ? this.applyStack(vScale, parsed, _stacked) : parsed[vAxis], i); properties.skip = isNaN(iPixel) || isNaN(vPix...
true
Other
chartjs
Chart.js
a9765042f184bb25c97cc0501c9a956d4167c448.json
Use abs() when comparing for spanGaps (#10316) * Use abs() when comparing for spanGaps * tests for spanGaps w/ integer (boolean already covered) * remove redundant default config from spanGaps tests
test/specs/controller.line.tests.js
@@ -964,4 +964,56 @@ describe('Chart.controllers.line', function() { expect(isNaN(x)).toBe(false); expect(isNaN(y)).toBe(false); }); + + it('should honor spangap interval forwards', function() { + var chart = window.acquireChart({ + type: 'line', + data: { + datasets: [{ + spa...
true
Other
chartjs
Chart.js
16f6b8cb413ef59ac8eaf4235e230e5efe8b7c3c.json
Fix a typo in data-structures.md (#10259) Change `The provides labels can be` to `The provided labels can be`. Co-authored-by: Akira Aso <44665462+akiorange@users.noreply.github.com>
docs/general/data-structures.md
@@ -3,7 +3,7 @@ The `data` property of a dataset can be passed in various formats. By default, that `data` is parsed using the associated chart type and scales. If the `labels` property of the main `data` property is used, it has to contain the same amount of elements as the dataset with the most values. These labe...
false
Other
chartjs
Chart.js
1c1368beadcaeaf8ca82917e5e5eb585353dc9b4.json
add startangle to radial scale opts (#10269)
types/index.esm.d.ts
@@ -3284,6 +3284,8 @@ export const TimeSeriesScale: ChartComponent & { export type RadialLinearScaleOptions = CoreScaleOptions & { animate: boolean; + startAngle: number; + angleLines: { /** * if true, angle lines are shown.
false
Other
chartjs
Chart.js
ec6590027d6f838ce817afd29ae19bba2a8b55b5.json
Add missing fields to the ScriptableContext type (#10254)
types/index.esm.d.ts
@@ -21,6 +21,8 @@ export interface ScriptableContext<TType extends ChartType> { dataIndex: number; dataset: UnionToIntersection<ChartDataset<TType>>; datasetIndex: number; + type: string; + mode: string; parsed: UnionToIntersection<ParsedDataType<TType>>; raw: unknown; }
false
Other
chartjs
Chart.js
e9ce6ce60d536f91aa8d269b01829d3a18f37102.json
resolve circulair import (#10247)
src/plugins/plugin.filler/filler.helper.js
@@ -0,0 +1,34 @@ +/** + * @typedef { import('../../core/core.controller').default } Chart + * @typedef { import('../../core/core.scale').default } Scale + * @typedef { import('../../elements/element.point').default } PointElement + */ + +import {LineElement} from '../../elements'; +import {isArray} from '../../helpers'...
true
Other
chartjs
Chart.js
e9ce6ce60d536f91aa8d269b01829d3a18f37102.json
resolve circulair import (#10247)
src/plugins/plugin.filler/filler.target.js
@@ -1,7 +1,6 @@ -import {LineElement} from '../../elements'; -import {isArray, isFinite} from '../../helpers'; +import {isFinite} from '../../helpers'; +import {_createBoundaryLine} from './filler.helper'; import {_getTargetPixel, _getTargetValue} from './filler.options'; -import {_pointsFromSegments} from './filler.s...
true
Other
chartjs
Chart.js
e9ce6ce60d536f91aa8d269b01829d3a18f37102.json
resolve circulair import (#10247)
src/plugins/plugin.filler/filler.target.stack.js
@@ -6,7 +6,7 @@ import {LineElement} from '../../elements'; import {_isBetween} from '../../helpers'; -import {_createBoundaryLine} from './filler.target'; +import {_createBoundaryLine} from './filler.helper'; /** * @param {{ chart: Chart; scale: Scale; index: number; line: LineElement; }} source
true
Other
chartjs
Chart.js
16e6acc6b94fd02acd72535e0face94aedfcf5d0.json
Allow array for line opts in dataset (#10179) * fix line as array ts error * added test * implement only for the border,background color and radius
types/index.esm.d.ts
@@ -177,8 +177,10 @@ export interface LineControllerDatasetOptions extends ControllerDatasetOptions, ScriptableAndArrayOptions<PointPrefixedOptions, ScriptableContext<'line'>>, ScriptableAndArrayOptions<PointPrefixedHoverOptions, ScriptableContext<'line'>>, - ScriptableOptions<LineOptions, ScriptableContext<'...
true
Other
chartjs
Chart.js
16e6acc6b94fd02acd72535e0face94aedfcf5d0.json
Allow array for line opts in dataset (#10179) * fix line as array ts error * added test * implement only for the border,background color and radius
types/tests/controllers/line_styling_array.ts
@@ -0,0 +1,13 @@ +import { Chart } from '../../index.esm'; + +const chart = new Chart('id', { + type: 'line', + data: { + labels: [], + datasets: [{ + data: [], + backgroundColor: ['red', 'blue'], + hoverBackgroundColor: ['red', 'blue'], + }] + }, +});
true
Other
chartjs
Chart.js
d7e8b733e36f87e85a5bbccd88cfc74b182ac467.json
Add `reverse` support to time scale (#5927)
src/scales/scale.time.js
@@ -356,34 +356,34 @@ function generate(min, max, capacity, options) { } /** - * Returns the right and left offsets from edges in the form of {left, right}. + * Returns the end and start offsets from edges in the form of {start, end}. * Offsets are added when the `offset` option is true. */ function computeOff...
true
Other
chartjs
Chart.js
d7e8b733e36f87e85a5bbccd88cfc74b182ac467.json
Add `reverse` support to time scale (#5927)
test/specs/scale.time.tests.js
@@ -1317,4 +1317,191 @@ describe('Time scale tests', function() { }); }); }); + + describe('when ticks.reverse', function() { + describe('is "true"', function() { + it ('should reverse the labels', function() { + this.chart = window.acquireChart({ + type: 'line', + data: { + labels: ['2017',...
true
Other
chartjs
Chart.js
c8ce3d2018244657f18f7bae2fd2fcf1fe825e8f.json
Add support for typed arrays (#5905)
src/helpers/helpers.core.js
@@ -32,13 +32,20 @@ var helpers = { }, /** - * Returns true if `value` is an array, else returns false. + * Returns true if `value` is an array (including typed arrays), else returns false. * @param {*} value - The value to test. * @returns {Boolean} * @function */ - isArray: Array.isArray ? Array.i...
true
Other
chartjs
Chart.js
c8ce3d2018244657f18f7bae2fd2fcf1fe825e8f.json
Add support for typed arrays (#5905)
test/.eslintrc.yml
@@ -1,4 +1,8 @@ +parserOptions: + ecmaVersion: 5 # don't rely on default, since its changed by env: es6 + env: + es6: true # also changes default ecmaVersion to 6 jasmine: true globals:
true
Other
chartjs
Chart.js
c8ce3d2018244657f18f7bae2fd2fcf1fe825e8f.json
Add support for typed arrays (#5905)
test/specs/helpers.core.tests.js
@@ -21,6 +21,15 @@ describe('Chart.helpers.core', function() { expect(helpers.isArray([42])).toBeTruthy(); expect(helpers.isArray(new Array())).toBeTruthy(); expect(helpers.isArray(Array.prototype)).toBeTruthy(); + expect(helpers.isArray(new Int8Array(2))).toBeTruthy(); + expect(helpers.isArray(new Uint...
true
Other
chartjs
Chart.js
52b9793ba0c5155e599b5e03e1d66638ad68de04.json
Use HTTPS instead of HTTP for URLs supporting it
.editorconfig
@@ -1,4 +1,4 @@ -# http://editorconfig.org +# https://editorconfig.org root = true [*]
true
Other
chartjs
Chart.js
52b9793ba0c5155e599b5e03e1d66638ad68de04.json
Use HTTPS instead of HTTP for URLs supporting it
.github/ISSUE_TEMPLATE.md
@@ -4,8 +4,8 @@ Please consider the following before submitting an issue: - Ask questions and get support on StackOverflow: https://stackoverflow.com/questions/tagged/chart.js - DO NOT create issues for questions or support requests. - Issues are reserved for BUG reports and FEATURE requests. -- Most features should...
true
Other
chartjs
Chart.js
52b9793ba0c5155e599b5e03e1d66638ad68de04.json
Use HTTPS instead of HTTP for URLs supporting it
.github/PULL_REQUEST_TEMPLATE.md
@@ -4,8 +4,8 @@ Please consider the following before submitting a pull request: Guidelines for contributing: https://github.com/chartjs/Chart.js/blob/master/docs/developers/contributing.md Example of changes on an interactive website such as the following: -- http://jsbin.com/ -- http://jsfiddle.net/ -- http://code...
true
Other
chartjs
Chart.js
52b9793ba0c5155e599b5e03e1d66638ad68de04.json
Use HTTPS instead of HTTP for URLs supporting it
MAINTAINING.md
@@ -5,7 +5,7 @@ Chart.js relies on [Travis CI](https://travis-ci.org/) to automate the library [ ### Releasing a New Version 1. draft release notes on [GitHub](https://github.com/chartjs/Chart.js/releases/new) for the upcoming tag -1. update `master` `package.json` version using [semver](http://semver.org/) semanti...
true
Other
chartjs
Chart.js
52b9793ba0c5155e599b5e03e1d66638ad68de04.json
Use HTTPS instead of HTTP for URLs supporting it
README.md
@@ -2,7 +2,7 @@ [![travis](https://img.shields.io/travis/chartjs/Chart.js.svg?style=flat-square&maxAge=60)](https://travis-ci.org/chartjs/Chart.js) [![coveralls](https://img.shields.io/coveralls/chartjs/Chart.js.svg?style=flat-square&maxAge=600)](https://coveralls.io/github/chartjs/Chart.js?branch=master) [![codecli...
true
Other
chartjs
Chart.js
52b9793ba0c5155e599b5e03e1d66638ad68de04.json
Use HTTPS instead of HTTP for URLs supporting it
composer.json
@@ -6,7 +6,7 @@ "chart", "js" ], - "homepage": "http://www.chartjs.org/", + "homepage": "https://www.chartjs.org/", "license": "MIT", "authors": [ {
true
Other
chartjs
Chart.js
52b9793ba0c5155e599b5e03e1d66638ad68de04.json
Use HTTPS instead of HTTP for URLs supporting it
docs/developers/README.md
@@ -16,7 +16,7 @@ Latest builds are available for testing at: - https://www.chartjs.org/dist/master/Chart.min.js - https://www.chartjs.org/dist/master/Chart.bundle.min.js -> Note: Development builds are currently only available via HTTP, so in order to include them in [JSFiddle](http://jsfiddle.net) or [CodePen](...
true
Other
chartjs
Chart.js
52b9793ba0c5155e599b5e03e1d66638ad68de04.json
Use HTTPS instead of HTTP for URLs supporting it
samples/charts/scatter/basic.html
@@ -31,7 +31,7 @@ } return data; } - + var scatterChartData = { datasets: [{ label: 'My First dataset',
true
Other
chartjs
Chart.js
52b9793ba0c5155e599b5e03e1d66638ad68de04.json
Use HTTPS instead of HTTP for URLs supporting it
samples/index.html
@@ -16,8 +16,8 @@ <div class="chartjs-title">Samples</div> <div class="chartjs-caption">Simple yet flexible JavaScript charting for designers &amp; developers</div> <div class="chartjs-links"> - <a class="btn btn-chartjs" href="http://www.chartjs.org">Website</a> - <a class="btn btn-docs" href="http:/...
true
Other
chartjs
Chart.js
52b9793ba0c5155e599b5e03e1d66638ad68de04.json
Use HTTPS instead of HTTP for URLs supporting it
src/core/core.helpers.js
@@ -405,7 +405,7 @@ module.exports = function() { return niceFraction * Math.pow(10, exponent); }; - // Request animation polyfill - http://www.paulirish.com/2011/requestanimationframe-for-smart-animating/ + // Request animation polyfill - https://www.paulirish.com/2011/requestanimationframe-for-smart-animating/...
true
Other
chartjs
Chart.js
52b9793ba0c5155e599b5e03e1d66638ad68de04.json
Use HTTPS instead of HTTP for URLs supporting it
src/helpers/helpers.core.js
@@ -128,7 +128,7 @@ var helpers = { /** * Returns true if the `a0` and `a1` arrays have the same content, else returns false. - * @see http://stackoverflow.com/a/14853974 + * @see https://stackoverflow.com/a/14853974 * @param {Array} a0 - The array to compare * @param {Array} a1 - The array to compare ...
true