When I have multiple components nested within each other after the second level of nesting the
So my code works by having a DashboardComponent, he is loaded using my router module. Inside it there are multiple that is my BlockComponent inside it I want to setup another custom component called but when I setup my ChartComponent it simply does not render anything.
I have the mock data from the ng2-charts example on both the BlockComponent and the ChartComponent.
If i set template straight on block it works just fine, if set the same template with the same mock data on the chart component it doesn't render, weird thing is it does seem to alter a little the canvas so it does seem to be doing SOMETHING, just not what is expected, and what it does on the BlockComponent.
The angular 2 rendered version look like this
When I have multiple components nested within each other after the second level of nesting the
So my code works by having a DashboardComponent, he is loaded using my router module. Inside it there are multiple that is my BlockComponent inside it I want to setup another custom component called but when I setup my ChartComponent it simply does not render anything.
My chart component template is
I have the mock data from the ng2-charts example on both the BlockComponent and the ChartComponent. If i set template straight on block it works just fine, if set the same template with the same mock data on the chart component it doesn't render, weird thing is it does seem to alter a little the canvas so it does seem to be doing SOMETHING, just not what is expected, and what it does on the BlockComponent. The angular 2 rendered version look like this
Between the "ng-chart" tag is how the chart renders the "canvas" tag outside is how the block renders the same template.