Angular & Chart.js

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ธ.ค. 2024

ความคิดเห็น • 84

  • @seunalabi7686
    @seunalabi7686 6 ปีที่แล้ว +10

    You sir are an amazing Tutorial teacher. You did not rush, you took your time to explain and you did it all so beautifully. I am new to Angular and I loved every minute of it. Thank you

  • @logancrouse4069
    @logancrouse4069 5 ปีที่แล้ว +1

    Thank you for going into this so in-depth. I like knowing what is added and why. Other, shorter tutorials end up glossing over so much that it ends up not being working code. Also, yours actually works!

    • @rorycayson9222
      @rorycayson9222 3 ปีที่แล้ว

      I guess I'm kinda randomly asking but does anybody know a good site to watch new series online ?

  • @RobertNorthrop
    @RobertNorthrop 5 ปีที่แล้ว +1

    I would love a series on this topic, connecting to data, adding options and more features to the charts, etc.

  • @devnelson
    @devnelson 6 ปีที่แล้ว

    Works for Angular 7! I wasn't able to add the chart.js source to index.html but turns out I didn't need it. Thanks for the guide!

    • @Skaxarrat
      @Skaxarrat 6 ปีที่แล้ว

      As long it is Angular 2, it should work

    • @qazyhn94
      @qazyhn94 6 ปีที่แล้ว

      It still works even you dont put char.js script inside your Index.html. Why? Because library is used inside derictives and it gets into final vendor.js build. Thats why you already have library code inside final build. But I personally think that its better to have a clear dependency. Thats why I added library in angular.json file into scripts array.
      "scripts": [
      "./node_modules/chart.js/dist/Chart.min.js"
      ]

    • @qazyhn94
      @qazyhn94 6 ปีที่แล้ว

      But this made even worse :) Now I have duplicated library, one is included in vendor.js other in scripts.js

  • @onmyway8477
    @onmyway8477 4 ปีที่แล้ว +3

    Great stuff. I had a similar requirement but i don't want "Y" axis divider lines. Can I customize it?

  • @pinch-of-salt
    @pinch-of-salt 4 ปีที่แล้ว +1

    Using chart.js directly instead of ng2-charts makes more sense? If not why? Which is the best angular specific charting library.

  • @alokkumarbhol7204
    @alokkumarbhol7204 4 ปีที่แล้ว +1

    NullInjectorError: StaticInjectorError(AppModule)[BaseChartDirective -> ThemeService]:
    i am facing this error how to solve this error

  • @qazyhn94
    @qazyhn94 6 ปีที่แล้ว +3

    18:10 isnt every div displayed as a block by default?

    • @hashamalam3936
      @hashamalam3936 4 ปีที่แล้ว

      Depends on the parent element I believe. But in his example it was not necessary

  • @MayankSharma-cp6yu
    @MayankSharma-cp6yu 3 ปีที่แล้ว +1

    Hello Sir.. First of all thank you for a wonderful tutorial.
    I have this doubt like how ng2-chart is useful, if chart.js package can already create all charts?

  • @adhikaryprasenjit
    @adhikaryprasenjit 5 ปีที่แล้ว +1

    Is there any significance of using ng4 instead of ng2.??...what is the difference ?

  • @kennethongwela4753
    @kennethongwela4753 5 ปีที่แล้ว

    Sebastian presentation was precise and clear.Loved it!

  • @codingthesmartway
    @codingthesmartway  4 ปีที่แล้ว

    💻 Website: codingthesmartway.com/
    🎓 Top Web Development Online Courses: codingthesmartway.com/courses/

  • @nanadarko2018
    @nanadarko2018 6 ปีที่แล้ว +1

    Awesome. I have really enjoyed watching this tutorial. A time well spent. Thank you very much.

  • @achutanandaswain3218
    @achutanandaswain3218 4 ปีที่แล้ว

    NullinjectorError: StaticInjectorError(Appmodule)[BaseChartDirective]->themeService

  • @ChristopherPaulKing
    @ChristopherPaulKing 5 ปีที่แล้ว +3

    Thank you so much. Great tutorial.

  • @MK-Turtles
    @MK-Turtles 4 ปีที่แล้ว

    Amazing Tutorial

  • @aweshvishwakarma7700
    @aweshvishwakarma7700 3 ปีที่แล้ว

    That was a nice video on charts, I am using the same ng2-chart and chart.js in my angular 12 project but struggling to add percentage inside the charts pieces, can you help me find a way to display the percentage inside the charts. Thanks

  • @sarojpanda1240
    @sarojpanda1240 ปีที่แล้ว

    Thank for nice video ! I am trying to customize color in Bar chart, but its not working. I am using Angular 14. Could you please help me with the steps or any documentation. Thanks in advance !

  • @40fps143
    @40fps143 2 ปีที่แล้ว

    having problem in importing the ChartsModule, it says cant find ng2-charts module

  • @coursestudent3350
    @coursestudent3350 5 ปีที่แล้ว

    This helped me a lot ... such a short and awesome video

  • @konstantinatsekoura9806
    @konstantinatsekoura9806 4 ปีที่แล้ว

    Hello, is it the same with Angular 9? I would like to implement it but i have the following error: "ERROR in The target entry-point "ng2-charts" has missing dependencies:
    - @angular/core
    - rxjs" . I am new in Angular and i could not understand what's going on. I would be grateful if you could help.
    Thank you in advance.

  • @rabindranathferreira6135
    @rabindranathferreira6135 5 ปีที่แล้ว

    i have one doubt, if i use barChartType 'bar' and the datasets are array of objects with dataSet array with values and label property, how i know which value of dataset are the display and another are scale?

  • @manikantareddy2385
    @manikantareddy2385 4 ปีที่แล้ว

    bro, have you done gantt chart using angular & chart.js?

  • @hardeep8587
    @hardeep8587 4 ปีที่แล้ว

    very well explained, keep it up

  • @naughty_ishita6422
    @naughty_ishita6422 5 ปีที่แล้ว

    how to pass dynamic value in graph I hit api in ngOnInit() function but when pass that value in graph its become undefined please any help me to fix this problem

  • @PawanKumar-cs8zh
    @PawanKumar-cs8zh 5 ปีที่แล้ว +1

    Awesome Video Bro, Thanks.

  • @Joel6390
    @Joel6390 6 ปีที่แล้ว

    Nice video. However, I can't find a way to add comma separated numbers with ng2-charts....

  • @Smidgon
    @Smidgon 5 ปีที่แล้ว

    is there a way yo display multiple on the default?

  • @World_in_my_lens
    @World_in_my_lens 3 ปีที่แล้ว

    need to make api response according to format accepted by chart how do i do it

  • @alvaroandressuarezalfonso7842
    @alvaroandressuarezalfonso7842 4 ปีที่แล้ว

    Hi, a really helpful tutorial. I have a question regarding the addition of the chart.js script in the html file, shouldnt it be added in the scripts of angular.json file?

    • @jreis78pt
      @jreis78pt 4 ปีที่แล้ว

      Dont' know why, but I managed it to work without adding the script tag to the index.html or doing anything else. It event raised and error on the browser's console when i added one of the next 2 examples:

  •  5 ปีที่แล้ว

    a very helpful video. Thanks a lot. It works.! However for radar chart I am having an error 404 from chart.js library. But only from radar component. It seems the issue is resolved when using a single set of data instead of two series.

  • @crimsonhawk467
    @crimsonhawk467 4 ปีที่แล้ว

    Thank you This was very helpful

  • @FeeltheBeats-33-
    @FeeltheBeats-33- 5 ปีที่แล้ว

    can gantt charts be made with chart.js?

  • @esramertasel
    @esramertasel 6 ปีที่แล้ว

    Hello, I watched your video. Thank you very much. But I have a problem. my problem is this: I want to throw data from mongodb to the data in the charts. How do I help you? 🙏

  • @thilinad.gunasekara7281
    @thilinad.gunasekara7281 4 ปีที่แล้ว

    Grade one.... :) can you show how can I add percentage to bar chat inside the field.

  • @samarthurs8000
    @samarthurs8000 4 ปีที่แล้ว

    Thank you so much! It helped me a lot.

  • @akhiljoseph6032
    @akhiljoseph6032 4 ปีที่แล้ว

    Thanks in advance. How can we select the slice of pie chart? Can anyone help me?

  • @ajinkyasatpute9180
    @ajinkyasatpute9180 5 ปีที่แล้ว +1

    how to change the color in pie chart

  • @pavankalyanchilakalapalli5789
    @pavankalyanchilakalapalli5789 3 ปีที่แล้ว

    Hi, can you create a video on Gantt chart in angular

  • @alexanderleonardo5649
    @alexanderleonardo5649 4 ปีที่แล้ว

    help a lot . thanks

  • @ramanand2339
    @ramanand2339 5 ปีที่แล้ว

    I am getting this error "
    localhost/:13
    GET localhost:4200/node_modules/chart.js/dist/Chart.js net::ERR_ABORTED 404 (Not Found)"

    • @jreis78pt
      @jreis78pt 4 ปีที่แล้ว

      just remove the script tag from the index.html. It worked just fine for me.

  • @kolaalok143
    @kolaalok143 5 ปีที่แล้ว

    how can add funnel chart using this.?

  • @sheringreen6019
    @sheringreen6019 5 ปีที่แล้ว

    Awesome tutorial.

  • @jayanthhr4331
    @jayanthhr4331 4 ปีที่แล้ว

    How to add/create customised Maps(Ex:corona Dashboard) in angular6/7/8.

  • @rameshGuptaranu
    @rameshGuptaranu 5 ปีที่แล้ว

    Nice tutorial

  • @RandyStimpson
    @RandyStimpson 5 ปีที่แล้ว

    Thank you. In your next video consider not starting from scratch. Start with a new project with routing modules and bootstrap already baked in. And just a heads up, I tend to choose the shortest video when there are multiple videos on the same topic.

  • @JFkingW
    @JFkingW 6 ปีที่แล้ว

    Nice tutorial. The problem with Chart.js is that it does not support zooming & panning. There is a plugin for it but it doesn't work properly (at least for me). Zooming works but the panning is buggy.

    • @Skaxarrat
      @Skaxarrat 6 ปีที่แล้ว

      Try plotly

  • @dmitryzakharov5907
    @dmitryzakharov5907 5 ปีที่แล้ว

    how does one add new data or remove it ?

  • @prarthitshah405
    @prarthitshah405 5 ปีที่แล้ว

    awsome video bro..thank u so much....please give us more information about angular

  • @sharayuyadav9511
    @sharayuyadav9511 3 ปีที่แล้ว

    How to make the bars edges round??

  • @Kammikazy1
    @Kammikazy1 5 ปีที่แล้ว

    how i make multiple charts the same type with deferent values

  • @dimasnaresh8268
    @dimasnaresh8268 5 ปีที่แล้ว

    great tutorial. Thanks

  • @rohitjagannath5331
    @rohitjagannath5331 5 ปีที่แล้ว

    simple and easy to understand. Thank you!!!

  • @rameshrathod01
    @rameshrathod01 6 ปีที่แล้ว

    Thank Sir , can u tell me how to download graph from front end

  • @brunosoares2264
    @brunosoares2264 2 ปีที่แล้ว

    How to change the colors of the chart?

  • @sibusisondlovu7509
    @sibusisondlovu7509 4 ปีที่แล้ว

    thank you a lot.. God bless

  • @RazaRizwan
    @RazaRizwan 6 ปีที่แล้ว

    thanks sir this is very helpful

  • @aashi5181
    @aashi5181 5 ปีที่แล้ว

    my style.css is not working. why?

  • @eugenekhristo7252
    @eugenekhristo7252 5 ปีที่แล้ว

    Hi, great! But how to change color of charts?

    • @Jezukaz
      @Jezukaz 5 ปีที่แล้ว +1

      Could u try:
      public colors = [
      { // 1st Color
      backgroundColor: 'rgb(255, 99, 132, 0.5)',
      borderColor: 'rgb(255, 99, 132, 1)',
      borderWidth: 1
      },
      { // 2nd Color.
      backgroundColor: 'rgb(255, 205, 86, 0.5)',
      borderColor: 'rgb(255, 205, 86, 1)',
      borderWidth: 1
      },
      ....
      ]
      Then, add in your

  • @naveenrajukopparthi3046
    @naveenrajukopparthi3046 ปีที่แล้ว

    Thank you

  • @blakefisher1952
    @blakefisher1952 5 ปีที่แล้ว

    Love it man

  • @mohdsalman6140
    @mohdsalman6140 4 ปีที่แล้ว

    Please help guys.
    below is my json data which i am getting from API
    {
    "list": [
    {
    "main": {
    "xAxis": ["W1", "W2", "W3", "W4", "W5", "W6"],
    "data": ["4.5", "4.2", "4.6", "4.5", "4.7", "4.5"]
    },

    "headerName": "Fuel Efficiency Score",
    "modelName": "Model 1"
    },
    {
    "main": {
    "xAxis": ["W1", "W2", "W3", "W4", "W5", "W6"],
    "data": ["4.5", "4.2", "4.6", "4.5", "4.7", "4.5"]
    },

    "headerName": "Fuel Efficiency Score",
    "modelName": "Model 1"
    },

    {
    "main": {
    "xAxis": ["W1", "W2", "W3", "W4", "W5", "W6"],
    "data": ["4.5", "4.2", "4.6", "4.5", "4.7", "4.5"]
    },

    "headerName": "Fuel Efficiency Score",
    "modelName": "Model 1"
    }

    ]

    }
    My questing is how to use *ngFor loop in chart.js
    Thanks in advance.

  • @harshitsuman2667
    @harshitsuman2667 6 ปีที่แล้ว

    Nice video.

  • @roberthmejias
    @roberthmejias 5 ปีที่แล้ว

    thanks, really usefull

  • @sibusisondlovu7509
    @sibusisondlovu7509 4 ปีที่แล้ว

    SUBSCRIBED

  • @oleersoy6547
    @oleersoy6547 4 ปีที่แล้ว

    Sweet!

  • @Joe-w
    @Joe-w 5 ปีที่แล้ว

    very helpfull ty

  • @brettgregory3622
    @brettgregory3622 5 ปีที่แล้ว +1

    I love you!! Thank you

  • @afif1225
    @afif1225 3 ปีที่แล้ว

    how to restart animation onclick button

  • @jazproductions5181
    @jazproductions5181 5 ปีที่แล้ว

    Thanks!

  • @amine_ers
    @amine_ers 4 ปีที่แล้ว

    Merciii à Vous

  • @SLM08
    @SLM08 4 ปีที่แล้ว

    DANKE SEHR

  • @winter-survivor
    @winter-survivor 6 ปีที่แล้ว

    For a moment I thought this was a SpaceX live stream.. cool intro song hahaha