<style>
.e-content.e-lib.e-touch {
height: inherit;
}
.e-accumulationchart {
height: inherit;
}
.e-chart {
height: inherit;
}
.e-item.e-active {
height: inherit;
}
</style>
<div class="e-tab-section">
<div class="col-lg-8 Content-wrapper control-section">
<EjsTab Height="250px" OverflowMode="@Mode" HeaderPlacement="@Header">
<TabItems>
<TabItem>
<ChildContent>
<TabHeader Text="VLT"></TabHeader>
</ChildContent>
<ContentTemplate>
<div style="height: 100%; width: 100%;">
<EjsChart Width="100%" Height="100%">
<ChartPrimaryXAxis ValueType="Syncfusion.EJ2.Blazor.Charts.ValueType.Category"></ChartPrimaryXAxis>
<ChartSeriesCollection>
<ChartSeries DataSource="@DataSource" Name="Sales Ready Articles" XName="KW" YName="SalesReady" Type="ChartSeriesType.StackingColumn">
</ChartSeries>
<ChartSeries DataSource="@DataSource" Name="Not Sales Ready Articles" XName="KW" YName="NotSalesReady" Type="ChartSeriesType.StackingColumn">
</ChartSeries>
</ChartSeriesCollection>
</EjsChart>
</div>
</ContentTemplate>
</TabItem>
<TabItem>
<ChildContent>
<TabHeader Text="TC"></TabHeader>
</ChildContent>
<ContentTemplate>
<div style="height: 100%; width: 100%;">
<EjsAccumulationChart Width="100%" Height="100%" @ref="@accumulationChart" LegendSettings="(new AccumulationChartLegendSettings() { Position = LegendPosition.Bottom})">
<AccumulationChartSeriesCollection>
<AccumulationChartSeries DataSource="@tecDocPieData" XName="Label" YName="Percentage"></AccumulationChartSeries>
</AccumulationChartSeriesCollection>
</EjsAccumulationChart>
</div>
</ContentTemplate>
</TabItem>
<TabItem>
<ChildContent>
<TabHeader Text="RT"></TabHeader>
</ChildContent>
<ContentTemplate>
<div style="height: 100%; width: 100%;">
<EjsAccumulationChart Width="100%" Height="100%" @ref="@accumulationChart" LegendSettings="(new AccumulationChartLegendSettings() { Position = LegendPosition.Bottom})">
<AccumulationChartSeriesCollection>
<AccumulationChartSeries DataSource="@tecDocPieData" XName="Label" YName="Percentage"></AccumulationChartSeries>
</AccumulationChartSeriesCollection>
</EjsAccumulationChart>
</div>
</ContentTemplate>
</TabItem>
<TabItem >
<ChildContent>
<TabHeader Text="MCD"></TabHeader>
</ChildContent>
<ContentTemplate>
<div style="height: 100%; width: 100%;">
<EjsChart Width="100%" Height="100%">
<ChartPrimaryXAxis ValueType="Syncfusion.EJ2.Blazor.Charts.ValueType.DateTime" LabelFormat="dd.MM.yyyy" IntervalType="IntervalType.Months"></ChartPrimaryXAxis>
<ChartSeriesCollection>
<ChartSeries DataSource="@coverageData" XName="Date" YName="Percentage" Type="ChartSeriesType.Area">
</ChartSeries>
</ChartSeriesCollection>
</EjsChart>
</div>
</ContentTemplate>
</TabItem>
</TabItems>
</EjsTab>
</div>
</div> |
Hi,
I am running .Net 5 blazor, with syncfusion version 19.3.0.54 trial, I experience the above issue with the default value on the SVG, I have applied this suggestion but didn’t resolve the issue, but how I resolved it is by applying the below.
<style>
.e-chart svg {
width: inherit !important;
}
</style>
Thanks,
Andrew
.e-chart {
height: inherit !important;
width: inherit !important;
} |
.e-accumulationchart {
height: inherit !important;
width: inherit !important;
} |
|
|