<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Char.js - Uncaught Error: &quot;linear&quot; is not a registered scale. - BugOverflow				            </title>
            <link>https://muszak.eu/community/bugoverflow/char-js-uncaught-error-linear-is-not-a-registered-scale/</link>
            <description>muszak.eu Forum dyskusyjne</description>
            <language>pl-PL</language>
            <lastBuildDate>Sun, 07 Jun 2026 23:49:26 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>Odpowiedź na: Char.js - Uncaught Error: &quot;linear&quot; is not a registered scale.</title>
                        <link>https://muszak.eu/community/bugoverflow/char-js-uncaught-error-linear-is-not-a-registered-scale/#post-901</link>
                        <pubDate>Tue, 27 Jul 2021 15:24:24 +0000</pubDate>
                        <description><![CDATA[Based on installation instructions
 
how to register Chart.js in right way
import { Chart, LineController, LineElement, PointElement, LinearScale, Title,CategoryScale } from &#039;chart.js&#039;;
...]]></description>
                        <content:encoded><![CDATA[<p>Based on installation instructions <a href="https://www.chartjs.org/docs/latest/getting-started/v3-migration.html" target="_blank" rel="noopener">https://www.chartjs.org/docs/latest/getting-started/v3-migration.html</a></p>
<p> </p>
<p>how to register Chart.js in right way</p>
<pre contenteditable="false">import { Chart, LineController, LineElement, PointElement, LinearScale, Title,CategoryScale } from 'chart.js';

Chart.register(LineController, LineElement, PointElement, LinearScale, Title, CategoryScale);</pre>
<p>and put this code before &lt;/body&gt;</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://muszak.eu/community/bugoverflow/">BugOverflow</category>                        <dc:creator>mrmucha</dc:creator>
                        <guid isPermaLink="true">https://muszak.eu/community/bugoverflow/char-js-uncaught-error-linear-is-not-a-registered-scale/#post-901</guid>
                    </item>
				                    <item>
                        <title>Char.js - Uncaught Error: &quot;linear&quot; is not a registered scale.</title>
                        <link>https://muszak.eu/community/bugoverflow/char-js-uncaught-error-linear-is-not-a-registered-scale/#post-900</link>
                        <pubDate>Tue, 27 Jul 2021 15:22:23 +0000</pubDate>
                        <description><![CDATA[or
app.js:15051 Uncaught Error: &quot;category&quot; is not a registered scale.
    at Registry._get (app.js:15051)
    at Registry.getScale (app.js:15005)
    at app.js:15647
    at each (app.js...]]></description>
                        <content:encoded><![CDATA[<p>or</p>
<pre contenteditable="false">app.js:15051 Uncaught Error: "category" is not a registered scale.
    at Registry._get (app.js:15051)
    at Registry.getScale (app.js:15005)
    at app.js:15647
    at each (app.js:20978)
    at Chart.buildOrUpdateScales (app.js:15634)
    at Chart.update (app.js:15751)
    at new Chart (app.js:15529)
    at Module../resources/js/app.js (app.js:5023)
    at __webpack_require__ (app.js:66622)
    at app.js:66785</pre>]]></content:encoded>
						                            <category domain="https://muszak.eu/community/bugoverflow/">BugOverflow</category>                        <dc:creator>mrmucha</dc:creator>
                        <guid isPermaLink="true">https://muszak.eu/community/bugoverflow/char-js-uncaught-error-linear-is-not-a-registered-scale/#post-900</guid>
                    </item>
							        </channel>
        </rss>
		