Skip to content

Commit

Permalink
Fix a broken link in ux-chartjs docs
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz authored Dec 29, 2023
1 parent d109f66 commit 1f1ae50
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 1f1ae50

Please sign in to comment.