About 21,400,000 results
Open links in new tab
  1. javascript - Set height of chart in Chart.js - Stack Overflow

    Jan 31, 2017 · I want to draw a horizontal bar chart with Chart.js but it keeps scaling the chart instead of using the height I assign the canvas form the script. Is there any way to set the …

  2. Highcharts - how to have a chart with dynamic height?

    Jan 10, 2012 · I want to have a chart that resizes with the browser window, but the problem is that the height is fixed to 400px. This JSFiddle example has the same problem. How can I do that? …

  3. html - Setting width and height - Stack Overflow

    Width and height is specified inline on the canvas element at 400px/400px. But when rendering the chart it's blown up to full page width, and cuts off the far right end.

  4. jquery - Resize height with Highcharts - Stack Overflow

    use chart.setSize(width, height, doAnimation = true); in your actual resize function to set the height and width dynamically Set reflow: false in the highcharts-options and of course set …

  5. javascript - How change chart height in chart.js - Stack Overflow

    This should scale your chart when you make the height on the containing element larger. You might also need to create a container for the chart like this, and set it's height in the parent.

  6. vba - How to resize chart sheets in Excel - Stack Overflow

    How to resize chart sheets in Excel Asked 10 years, 1 month ago Modified 8 years, 4 months ago Viewed 13k times

  7. Setting height of a chart in Apexcharts - Stack Overflow

    Jul 29, 2020 · I am trying to set the height of a chart in Apexcharts, but it seems to only work in responsive mode, no matter what I try. Any idea? Here is a Codesandbox (it's the basic …

  8. javascript - Width and Height in Chart.js - Stack Overflow

    Feb 22, 2019 · There are many ways to specify the canvas' height and width. But what's the difference between the two methods you tried? Well, the full explanation can be found here …

  9. Using chartjs, how to define relative width and height of canvas?

    Feb 1, 2023 · Using Chart.js version 4.2.0, I try to display a chart on a maximized window on Windows 11 where height of chart is 100% of screen's height and width of chart is 80% of …

  10. How to resize Chart.JS element in React.js? - Stack Overflow

    Dec 13, 2019 · The documentation for ChartJS states that you need to set maintainAspectRatio to false for it to use the width and height props that you pass into your chart. In order for Chart.js …