Horizontal bar graph using ng2-charts in angular2 The 2019 Stack Overflow Developer Survey Results Are InAngular2 ng2-chart customizations?Draw vertical line inside Angular2 component using ng2-charts?ng2-charts customization of 'bar' typeng2-charts customize data and whole html content of tooltip displayed when hovering on bar chartng2-charts bar charts displaying values at the end of the barloading graph data from json object in angular2 using ng2-chartsng2-charts bar graph not displaying data/graph labelsGet the value of bar in ng2-chart bar graph after clicking on barng2-chart text label wrap and graph widthDraw vertical lines on charts using ng2-charts + chart.js

How to obtain Confidence Intervals for a LASSO regression?

How to save as into a customized destination on macOS?

Geography at the pixel level

Origin of "cooter" meaning "vagina"

What are the motivations for publishing new editions of an existing textbook, beyond new discoveries in a field?

Shouldn't "much" here be used instead of "more"?

One word riddle: Vowel in the middle

What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?

What is the meaning of Triage in Cybersec world?

Resizing object distorts it (Illustrator CC 2018)

Is there any way to tell whether the shot is going to hit you or not?

Aging parents with no investments

What does "fetching by region is not available for SAM files" means?

Can we generate random numbers using irrational numbers like π and e?

Why isn't airport relocation done gradually?

What is the closest word meaning "respect for time / mindful"

How to deal with fear of taking dependencies

Why was M87 targetted for the Event Horizon Telescope instead of Sagittarius A*?

Apparent duplicates between Haynes service instructions and MOT

How to type this arrow in math mode?

Is flight data recorder erased after every flight?

What did it mean to "align" a radio?

How can I autofill dates in Excel excluding Sunday?

Time travel alters history but people keep saying nothing's changed



Horizontal bar graph using ng2-charts in angular2



The 2019 Stack Overflow Developer Survey Results Are InAngular2 ng2-chart customizations?Draw vertical line inside Angular2 component using ng2-charts?ng2-charts customization of 'bar' typeng2-charts customize data and whole html content of tooltip displayed when hovering on bar chartng2-charts bar charts displaying values at the end of the barloading graph data from json object in angular2 using ng2-chartsng2-charts bar graph not displaying data/graph labelsGet the value of bar in ng2-chart bar graph after clicking on barng2-chart text label wrap and graph widthDraw vertical lines on charts using ng2-charts + chart.js



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








3















I am new into using ng2-charts and i wanted to know is it possible to have a horizontal bar graph? I only see a vertical bar graph but i am not sure if that could be altered to include horizontal bar graph. How far can i customize a bar graph in ng2-charts?










share|improve this question




























    3















    I am new into using ng2-charts and i wanted to know is it possible to have a horizontal bar graph? I only see a vertical bar graph but i am not sure if that could be altered to include horizontal bar graph. How far can i customize a bar graph in ng2-charts?










    share|improve this question
























      3












      3








      3








      I am new into using ng2-charts and i wanted to know is it possible to have a horizontal bar graph? I only see a vertical bar graph but i am not sure if that could be altered to include horizontal bar graph. How far can i customize a bar graph in ng2-charts?










      share|improve this question














      I am new into using ng2-charts and i wanted to know is it possible to have a horizontal bar graph? I only see a vertical bar graph but i am not sure if that could be altered to include horizontal bar graph. How far can i customize a bar graph in ng2-charts?







      angular ng2-charts






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 27 '17 at 6:44









      bluePearlbluePearl

      3952524




      3952524






















          2 Answers
          2






          active

          oldest

          votes


















          4














          For anyone who was wondering about the same thing - i looked into the documentation for chart.js and was able to find just changing the bar chart type to horizontalBar works nicely. public barChartType: string = 'horizontalBar';






          share|improve this answer






























            0














            Bar charts can be used by adjusting the "chartType" option within your baseChart canvas.



            <canvas baseChart
            [datasets]="data"
            [labels]="label"
            chartType="horizontalBar">







            share|improve this answer























              Your Answer






              StackExchange.ifUsing("editor", function ()
              StackExchange.using("externalEditor", function ()
              StackExchange.using("snippets", function ()
              StackExchange.snippets.init();
              );
              );
              , "code-snippets");

              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "1"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f43650416%2fhorizontal-bar-graph-using-ng2-charts-in-angular2%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              4














              For anyone who was wondering about the same thing - i looked into the documentation for chart.js and was able to find just changing the bar chart type to horizontalBar works nicely. public barChartType: string = 'horizontalBar';






              share|improve this answer



























                4














                For anyone who was wondering about the same thing - i looked into the documentation for chart.js and was able to find just changing the bar chart type to horizontalBar works nicely. public barChartType: string = 'horizontalBar';






                share|improve this answer

























                  4












                  4








                  4







                  For anyone who was wondering about the same thing - i looked into the documentation for chart.js and was able to find just changing the bar chart type to horizontalBar works nicely. public barChartType: string = 'horizontalBar';






                  share|improve this answer













                  For anyone who was wondering about the same thing - i looked into the documentation for chart.js and was able to find just changing the bar chart type to horizontalBar works nicely. public barChartType: string = 'horizontalBar';







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Apr 27 '17 at 7:05









                  bluePearlbluePearl

                  3952524




                  3952524























                      0














                      Bar charts can be used by adjusting the "chartType" option within your baseChart canvas.



                      <canvas baseChart
                      [datasets]="data"
                      [labels]="label"
                      chartType="horizontalBar">







                      share|improve this answer



























                        0














                        Bar charts can be used by adjusting the "chartType" option within your baseChart canvas.



                        <canvas baseChart
                        [datasets]="data"
                        [labels]="label"
                        chartType="horizontalBar">







                        share|improve this answer

























                          0












                          0








                          0







                          Bar charts can be used by adjusting the "chartType" option within your baseChart canvas.



                          <canvas baseChart
                          [datasets]="data"
                          [labels]="label"
                          chartType="horizontalBar">







                          share|improve this answer













                          Bar charts can be used by adjusting the "chartType" option within your baseChart canvas.



                          <canvas baseChart
                          [datasets]="data"
                          [labels]="label"
                          chartType="horizontalBar">








                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Mar 8 at 9:22









                          Sabin BogatiSabin Bogati

                          465




                          465



























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to Stack Overflow!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f43650416%2fhorizontal-bar-graph-using-ng2-charts-in-angular2%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              AWS Lex not identifying response if by a variable The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) The Ask Question Wizard is Live! Data science time! April 2019 and salary with experienceEnforcing custom enumeration in AWS LEX for slot valuesHow to give response based on user response in Amazon Lex?Intercepting AWS Lambda Response to a AWS Lex QueryLex chat bot error: Reached second execution of fulfillment lambda on the same utteranceamazon lex showing invalid responseLambda response send back to Lex slot?Response card in Amazon lexAmazon Lex - Lambda response return HTML to botHow can I solve 424 (Failed Dependency) (python) obtained from Amazon lex?

                              Алба-Юлія

                              Захаров Федір Захарович