Skip to content
New issue

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

Nativescript-ui-chart : fillColors property not working in Donut Series #1547

Open
AnetiaF opened this issue Jun 16, 2022 · 1 comment
Open

Comments

@AnetiaF
Copy link

AnetiaF commented Jun 16, 2022

Please take a minute to read our NativeScript Code of Conduct before proceeding with posting issues or discussing. The purpose of this guide is to make communication and cooperation within our forums a pleasure for you and the other members.

Please, provide the details below:

Tell us about the problem

I have implemented the donut chart in sap mdk application. The colors in the chart are getting repeated if the binded items are more than 8. I tried using the fillColors property to specify the colors for the items, but it doesnt work. The entire chart is getting displayed in black color.

Which platform(s) does your issue occur on?

Both

Please provide the following version numbers that your issue occurs with:

Please tell us how to recreate the issue in as much detail as possible.

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

@narender56
Copy link

For me, it's not working only in android.

<RadPieChart allowAnimation="true" [width]="width" [height]="height" class="dount-chart p-0">
        <DonutSeries
          tkPieSeries
          [innerRadiusFactor]="innerRadiusFactor"
          [outerRadiusFactor]="outerRadiusFactor"
          valueProperty="amount"
          legendLabel="label"
          [items]="data.sets"
          [strokeWidth]="strokeWidth"
          [fillColors]="getFillColors()"
        ></DonutSeries>
      </RadPieChart>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants