Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 17892

Create Custom visuals - Set bar color

$
0
0

Hi,

 

I am creating a custom Bar chart. I want to change the bar color from the color palette. Each bar should have a different color based on selection.

 

let colors = createColorPalette(host.colors).reset()

 

But I am getting the error --> "Property 'colors' does not exist on type 'IVisualHost'"

 

and also

 

selector: barDataPoint.selectionId.getSelection()

 

I am getting the error --> " Property 'getSelection' does not exist on type 'ISelectionId'"

 

 


Viewing all articles
Browse latest Browse all 17892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>