We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would like to change Bars colors. This is my code `
<ApexSeries TItem="OperationBarChartData" Items="Data" Name="Encaissement" XValue="@(o => o.Month)" YAggregate="@(o => o.Sum(o => o.IncomeAmount))" OrderByDescending="e=>e.Y" /> <ApexSeries TItem="OperationBarChartData" Items="Data" Name="Décaissement" XValue="@(o => o.Month)" YAggregate="@(o => o.Sum(o => o.ExpenseAmount))" OrderByDescending="e=>e.Y" />
@code { [Parameter] public List Data { get; set; }
private ApexChartOptions<OperationBarChartData> GetOptions() { var options = new ApexChartOptions<OperationBarChartData>(); **options.Colors = new List<string>{"#3699FF","#2670FF"};** return options; }
}`
When i remove the Options, my bars display with the default colors (blue and green).
But when I add Options nothing display.
How can I change the bar colors?
The text was updated successfully, but these errors were encountered:
Hi,
Check this example StatisticsLineChart.razor in the TabBlazor repo.
Sorry, something went wrong.
No branches or pull requests
I would like to change Bars colors. This is my code
`
@code {
[Parameter]
public List Data { get; set; }
}`
When i remove the Options, my bars display with the default colors (blue and green).
But when I add Options nothing display.
How can I change the bar colors?
The text was updated successfully, but these errors were encountered: