# Angular HighCharts additional Modules

**URL:** <https://forum.radzen.com/t/angular-highcharts-additional-modules/8257>\
**Category:** Angular\
**Created:** [June 18, 2021, 1:25pm UTC](https://forum.radzen.com/t/angular-highcharts-additional-modules/8257 "2021-06-18T13:25:43Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kest874](https://forum.radzen.com/letter_avatar_proxy/v4/letter/k/ba9def/32.png) [@kest874](https://forum.radzen.com/u/kest874)\
**Post date:** [June 18, 2021, 1:25pm UTC](https://forum.radzen.com/t/angular-highcharts-additional-modules/8257/1 "2021-06-18T13:25:43Z")

</div>

Hello,

I have highcharts integrated into my project which is fully working (column charts etc.) I would however like to use their solidguage for some customization.

I'm getting the following error when I use attempt to use it:

 ![image](https://forum.radzen.com/uploads/default/original/2X/a/a4f08e7c2adf685533272d5ce948c3fd57874cae.png)

It's not loading /modules/solid-gauge.js how do I reference it to get it to load?

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [June 18, 2021, 1:35pm UTC](https://forum.radzen.com/t/angular-highcharts-additional-modules/8257/2 "2021-06-18T13:35:42Z")

</div>

Hi @kest874,

I am afraid that we are not that familiar with Highcharts and cannot assist with this issue. You can try searching through their resources.

---

<div class="post-metadata">

**Author:** ![kest874](https://forum.radzen.com/letter_avatar_proxy/v4/letter/k/ba9def/32.png) [@kest874](https://forum.radzen.com/u/kest874)\
**Post date:** [June 18, 2021, 3:47pm UTC](https://forum.radzen.com/t/angular-highcharts-additional-modules/8257/3 "2021-06-18T15:47:22Z")

</div>

Let me rephrase my question/issue. I following this tutorial: [Integration with 3rd party JavaScript libraries - Highcharts (radzen.com)](https://www.radzen.com/blog/highcharts-integration/)

The Highcharts files in

project\node\_modules\highcharts like below:

 ![image](https://forum.radzen.com/uploads/default/original/2X/1/14f97c30b7be45c0b29aca93ea5f18911cd1c8b5.png)

It's loading highcharts.js etc becuse my charts render. The issue is that it's not loading the js files in the "modules" directory project\node\_modules\highcharts\modules

I need it to also load solid-guage.js in order for the gauge to render.

 ![image](https://forum.radzen.com/uploads/default/original/2X/7/7be4c98a849d976cbff63dad916f0ee7cf552c42.png)

How do I accomplish this with Radzen?

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [June 18, 2021, 4:24pm UTC](https://forum.radzen.com/t/angular-highcharts-additional-modules/8257/4 "2021-06-18T16:24:10Z")

</div>

I don't think this is a Radzen related issue as it seems to come from Highcharts itself. Again this is a third party library and we don't know what may cause this module to not be loaded. Do you even import it in the application?

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [June 18, 2021, 4:31pm UTC](https://forum.radzen.com/t/angular-highcharts-additional-modules/8257/5 "2021-06-18T16:31:42Z")

</div>

I searched online for "Highcharts error #17" and this was the first result: [https://support.highcharts.com/support/solutions/articles/44001754000-how-to-resolve-highcharts-error-17-in-highcharts-angular-wrapper-](https://support.highcharts.com/support/solutions/articles/44001754000-how-to-resolve-highcharts-error-17-in-highcharts-angular-wrapper-)

---

<div class="post-metadata">

**Author:** ![kest874](https://forum.radzen.com/letter_avatar_proxy/v4/letter/k/ba9def/32.png) [@kest874](https://forum.radzen.com/u/kest874)\
**Post date:** [June 18, 2021, 4:42pm UTC](https://forum.radzen.com/t/angular-highcharts-additional-modules/8257/6 "2021-06-18T16:42:02Z")

</div>

> [@korchev](#):
>
> Do you even import it in the application?

That's the question how do I get it to include the additional file? The module exists, it's just not loaded. How does Radzen know to load highcharts.js? is it " import \* as Highcharts from 'highcharts';" in the high-charts.componet.ts?

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [June 18, 2021, 4:53pm UTC](https://forum.radzen.com/t/angular-highcharts-additional-modules/8257/7 "2021-06-18T16:53:12Z")

</div>

> [@kest874](#):
>
> How does Radzen know to load highcharts.js?

Radzen does not know that. You specify it by importing the Highcharts module in the high-charts.component.ts file.

> [@kest874](#):
>
> is it " import \* as Highcharts from 'highcharts';" in the high-charts.componet.ts?

Yes. This is how modules are [imported](https://www.typescriptlang.org/docs/handbook/modules.html#import) in TypeScript. Using a third party component requires some Angular, TypeScript and NPM knowledge which is mostly covered by the linked blog post. In addition the link from the Highcharts documentation shows how to troubleshoot Highcharts specific errors.

Please bear in mind that this forum is for Radzen specific questions.

---

<div class="post-metadata">

**Author:** ![kest874](https://forum.radzen.com/letter_avatar_proxy/v4/letter/k/ba9def/32.png) [@kest874](https://forum.radzen.com/u/kest874)\
**Post date:** [June 18, 2021, 5:58pm UTC](https://forum.radzen.com/t/angular-highcharts-additional-modules/8257/8 "2021-06-18T17:58:41Z")

</div>

> [@korchev](#):
>
> Please bear in mind that this forum is for Radzen specific questions.

Yep I know, however asking lead me to the answer I was looking for.

Just needed to add

import HighchartsMore from 'highcharts/highcharts-more.src';  
import HighchartsSolidGauge from 'highcharts/modules/solid-gauge';

HighchartsMore(Highcharts);  
HighchartsSolidGauge(Highcharts);

after:

import \* as Highcharts from 'highcharts';

sample:

 ![image](https://forum.radzen.com/uploads/default/original/2X/7/7b281269afdd5b691aa81f2757e751275ccb6398.png)

Thank you for all your help!
