From 9b64d89dfa5bbad1bfb5c70007053099353cf86c Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 23 Dec 2016 16:48:24 +0000 Subject: [PATCH 1/3] Fixed bug highcharts-container wrong width. When no width is set and the component element `chart` is not `display: block;` the .highcharts-container can have the wrong width calculated. --- src/ChartComponent.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ChartComponent.ts b/src/ChartComponent.ts index 6973075..f78cb49 100644 --- a/src/ChartComponent.ts +++ b/src/ChartComponent.ts @@ -13,6 +13,7 @@ import { createBaseOpts } from './createBaseOpts'; @Component({ selector: 'chart', template: '', + styles: [':host {display: block;}'] providers: [HighchartsService], }) export class ChartComponent { From 99c2dd82eeeb37fe4825bd4facd240bfa4d23642 Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 23 Dec 2016 16:53:11 +0000 Subject: [PATCH 2/3] Update ChartComponent.ts --- src/ChartComponent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ChartComponent.ts b/src/ChartComponent.ts index f78cb49..9929f6c 100644 --- a/src/ChartComponent.ts +++ b/src/ChartComponent.ts @@ -13,7 +13,7 @@ import { createBaseOpts } from './createBaseOpts'; @Component({ selector: 'chart', template: '', - styles: [':host {display: block;}'] + styles: [':host {display: block;}'], providers: [HighchartsService], }) export class ChartComponent { From 6b529a5a3b7a220721031d6df78b6b1085b0da4a Mon Sep 17 00:00:00 2001 From: Joe Date: Mon, 20 Feb 2017 03:11:05 +0000 Subject: [PATCH 3/3] Update ChartComponent.ts --- src/ChartComponent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ChartComponent.ts b/src/ChartComponent.ts index 9929f6c..f69cb35 100644 --- a/src/ChartComponent.ts +++ b/src/ChartComponent.ts @@ -12,7 +12,7 @@ import { createBaseOpts } from './createBaseOpts'; @Component({ selector: 'chart', - template: '', + template: ' ', styles: [':host {display: block;}'], providers: [HighchartsService], })