Skip to content

Commit

Permalink
minor #1361 Fix a broken link in ux-chartjs docs (javiereguiluz)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.x branch.

Discussion
----------

Fix a broken link in ux-chartjs docs

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| Issues        | -
| License       | MIT

Commits
-------

1f1ae50 Fix a broken link in ux-chartjs docs
  • Loading branch information
kbond committed Jan 2, 2024
2 parents aeefdaf + 1f1ae50 commit 9710bd5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Chartjs/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ Then in your render call, add your controller as an HTML attribute:
{{ render_chart(chart, {'data-controller': 'mychart'}) }}
There is also a ``chartjs:init`` event that is called just *one* time before your
first chart is rendered. That's an ideal place to `register plugins globally <Using Plugins>`_
first chart is rendered. That's an ideal place to `register Chart.js plugins globally`_
or make other changes to any "static"/global part of Chart.js. For example,
to add a global `Tooltip positioner`_:

Expand Down Expand Up @@ -247,4 +247,5 @@ the Symfony framework: https://symfony.com/doc/current/contributing/code/bc.html
.. _`a lot of plugins`: https://github.com/chartjs/awesome#plugins
.. _`zoom plugin`: https://www.chartjs.org/chartjs-plugin-zoom/latest/
.. _`zoom plugin documentation`: https://www.chartjs.org/chartjs-plugin-zoom/latest/guide/integration.html
.. _`register Chart.js plugins globally`: https://www.chartjs.org/docs/latest/developers/plugins.html
.. _`Tooltip positioner`: https://www.chartjs.org/docs/latest/samples/tooltip/position.html

0 comments on commit 9710bd5

Please sign in to comment.