aurelia-ui-toolkits / aurelia-syncfusion-bridge

27 stars 21 forks source link

Chart size relative to it's container not working when using percentages #48

Closed kbulte closed 7 years ago

kbulte commented 7 years ago

With the regular syncfusion web components it is possible to specify the chart size in percentage by using the size property. documentation

When I try this in the essential js playground (web component without aurelia) this works syncfusion playground image

When we use the chart component in an aurelia project and set the size via the bindable size property we get no errors but the chart is not rendered. We have the same behavior in gistrun

image

karthickthangasamy commented 7 years ago

@kbulte We need display:block property for the custom element <ej-chart> to get actual height and width.

I have updated the changes, please check the gistrun