I would like you to help me achieve this design.
*Rounded edges
*a gray background of the component
*different sizes
@using Syncfusion.Blazor
@using Syncfusion.Blazor.Charts
@inject NavigationManager NavigationManager
<SfChart Background="black" Width="100%" Height="110%" >
<ChartArea Width="100%" Background="black"></ChartArea>
<ChartPrimaryXAxis Visible="false" ValueType="Syncfusion.Blazor.Charts.ValueType.Category" EdgeLabelPlacement="EdgeLabelPlacement.Shift"> </ChartPrimaryXAxis>
<ChartSeriesCollection>
<ChartSeries DataSource="@SalesReports" XName="Month" YName="Sales" Type="ChartSeriesType.Column">
<ChartEmptyPointSettings Fill="red" Mode="@Mode">
<ChartEmptyPointBorder Color="#FFFFFF" Width="4"></ChartEmptyPointBorder>
</ChartEmptyPointSettings>
</ChartSeries>
</ChartSeriesCollection>
</SfChart>
@code {
public class ChartData
{
public string Month { get; set; }
public Nullable<double> Sales { get; set; }
}
public EmptyPointMode Mode = EmptyPointMode.Average;
public List<ChartData> SalesReports = new List<ChartData>
{
new ChartData{ Month= "Jan", Sales= 30 },
};
}
This is what I have achieved with the code I have made, thank you very much for your help