Forum Discussion
Synchronize color palette between Custom & Native visuals
DallasBaba
That is precisely what I do under my code, using the getColor() method from the colorPalette of the IVisualHost interface.
Here is an example:
I created a simple dataset: 4 different legends & 4 values.
On the left the native PBI bar chart and on the right a custom one (from the AppSource, I get the same behave when I develop my own)
The color assigned for the different categories are not the same.
Furthemore, if I select a legend on the left chart, the filtering on the other chart clearly show that the color attribution is not synchronized:
My opinion is that the customs are using the colorPalette and the getColor() method but that the native are using an other method to assign the color to the categories.
I hope I'm wrong, but I see this behavior between every native/custom that I'm using...
Thank you for your help !
Anonymous Have you been able to solve the issue.
I have also gone through the same issue. When I click on any bar of the Barchart, initial color is populated on the custom visual.
Thank You!
- Anonymous2 years agoNot applicable
Hello SKYViz
Unfortunatly, even though I manage to have selectors, even though I use the colorPalette and even though I use the colorHelper I still have the problem of "color synchronization"