Add visual return when setting consign.
Fix visual glitches Fix indentation
This commit is contained in:
parent
d800e24c36
commit
9959291cff
5 changed files with 214 additions and 128 deletions
12
app/components/dynamic-high-charts.js
Normal file
12
app/components/dynamic-high-charts.js
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import Ember from 'ember';
|
||||
import EmberHighChartsComponent from 'ember-highcharts/components/high-charts';
|
||||
|
||||
export default EmberHighChartsComponent.extend({
|
||||
contentDidChange: Ember.observer('content.@each.isLoaded', function() {
|
||||
// add redraw logic here. ex:
|
||||
var chart = this.get('chart');
|
||||
chart.series[1].setData(this.get('content')[1].data, false, true);
|
||||
chart.redraw();
|
||||
})
|
||||
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue