-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need to create Solidgauge using highcharts in angular2 #35
Comments
Add the following code should fix this: import { Highcharts } from 'angular-highcharts';
require('highcharts/modules/solid-gauge')(Highcharts); See: https://github.com/cebor/angular-highcharts#using-highcharts-modules |
@cebor Thanks for your prompt reply, I tried but no luck My requirement to use exactly this kind of chart using highcharts in angular2 , please let me know what i am missing |
Can you please provide me a plunker using this template: https://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5 So i can reproduce this issue, thanks. |
Just did it for you: https://plnkr.co/edit/yrPSBbGftdTI8N4lASyG |
hi
yes I am getting exactly same error .
https://plnkr.co/edit/yrPSBbGftdTI8N4lASyG
…On Fri, Mar 24, 2017 at 4:39 PM, Felix Itzenplitz ***@***.***> wrote:
Just did it for you: https://plnkr.co/edit/yrPSBbGftdTI8N4lASyG
Do you getting same error as here ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#35 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQTCVu__7xNTa2x7mZjeDTHvE66fCitMks5ro6RugaJpZM4MnHsO>
.
|
import { Highcharts } from 'angular-highcharts';
require('highcharts/highcharts-more')(Highcharts);
require('highcharts/modules/solid-gauge')(Highcharts); This should fix it! I also updated the plunker. |
hi
Thank you very much, it finally worked with your fix..
I am really more thanks to you
regards,
Arunsai B K
…On Fri, Mar 24, 2017 at 4:46 PM, Felix Itzenplitz ***@***.***> wrote:
import { Highcharts } from 'angular-highcharts';require('highcharts/highcharts-more')(Highcharts);require('highcharts/modules/solid-gauge')(Highcharts);
This should fix it!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#35 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQTCVmZGeDKyngz_NWhvFH-7CGDxHVFgks5ro6YcgaJpZM4MnHsO>
.
|
I successfully able to create line chart but when I am changing chart type to solidgauge , I am getting errors ,
I followed the same steps in npmjs of this library
https://www.npmjs.com/package/angular-highcharts
Please let me know what types i need to import in order to use solidgauge
The text was updated successfully, but these errors were encountered: