mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: better handling of resizing in stacked charts (#6921)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user