Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Theme - card - category labels - colours

 

Hi Community,

 

I am trying to set colours of 'card' for its category colours via themes.

The data font, color, size are working fine but when I set the category label color, I have not been able to set it correctly.

here is the code

 

		"card": {
			"*": {
				"labels": [{
						"show": true,
						"color": {
							"solid": {
								"color": "#B3B3B3"
							}
						},
						"labelPrecision": 1,
						"fontSize": 26,
						"fontFamily": "Segoe UI light"
					}
				],
				"Category labels":[{
								"show": true,
								"color": {
								"solid": {
								"color": "#B3B3B3"
							}
						}
						
					}]
			}
		},

so here, first segment, ie labels is working, but the second segment, category label isnt working. I get default colors for the card category label.

 

following from PBI Desktop - section I am trying to change in card visual.

 

Any help will be highly appriciated.

Regards

emudria

  • Anonymous's avatar
    Anonymous
    8 years ago

    Just figured it out, it was supposed to be 

    "categoryLabels":[{

    instaed of 

    "Category labels":[{

     resolved.

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Just figured it out, it was supposed to be 

    "categoryLabels":[{

    instaed of 

    "Category labels":[{

     resolved.