FIX: better handling of resizing in stacked charts (#6921)
This commit is contained in:
parent
d32900292d
commit
9148f7675b
|
@ -68,9 +68,9 @@ export default Ember.Component.extend({
|
|||
return {
|
||||
type: "bar",
|
||||
data,
|
||||
responsive: true,
|
||||
maintainAspectRatio: false,
|
||||
options: {
|
||||
responsive: true,
|
||||
maintainAspectRatio: false,
|
||||
hover: { mode: "index" },
|
||||
tooltips: {
|
||||
mode: "index",
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<div class="chart-canvas-container">
|
||||
<canvas class="chart-canvas" height="250"></canvas>
|
||||
<canvas class="chart-canvas"></canvas>
|
||||
</div>
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
.admin-report-stacked-chart {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
.chart-canvas-container {
|
||||
flex: 5;
|
||||
margin: 0;
|
||||
height: 250px;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue