Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
pfb93
Contributor II
Contributor II

JSON Porperty for Pie Chart

Hello,

I created a custom Theme and everything works finde despite the properties for the PieChart. I want to change the font size of the label to 13px. In the following screenshot you can see what I mean. I want the dimension labels in the pie chart to be the same size than the text in the legend on the right side: 2018-12-03 11_54_58-MAX Bilanz (Aktiva) _ Arbeitsblätter - Qlik Sense.pngIts working for every other chart type because I already set this property in die object settings. Because it did not work I also set the pieChart properties in the object to the following:

"Object" :{

"pieChart": {
"axis": {
"title": {
"color": "@TextColor",
"fontSize": "@TextSize"
},
"label": {
"color": "@TextColor",
"fontSize": "@TextSize"
}
},
"label": {
"color": "@TextColor",
"fontSize": "@TextSize"
},
"legend": {
"title": {
"fontSize": "@TextSize",
"color": "@TextColor"
},
"label": {
"name" : {
"fontSize": "@TextSize",
"color": "@TextColor"
},
"value" : {
"fontSize": "@TextSize",
"color": "@TextColor"
}
}
},
"header": {
"fontSize": "@TextSize",
"color": "@TextColor"
}
}

}

Can someone pls tell me how to archieve this?

Thanks!

1 Solution

Accepted Solutions
pfb93
Contributor II
Contributor II
Author

Got it. I forgot the name property:

 

Object {

  pieChart{

    "label": {
        "name": {
            "color": "@TextColor",
            "fontSize": "@TextSize"
         },
           "value": {
              "color": "@TextColor",
              "fontSize": "@TextSize"
           }

       }

}

}

View solution in original post

2 Replies
pfb93
Contributor II
Contributor II
Author

Got it. I forgot the name property:

 

Object {

  pieChart{

    "label": {
        "name": {
            "color": "@TextColor",
            "fontSize": "@TextSize"
         },
           "value": {
              "color": "@TextColor",
              "fontSize": "@TextSize"
           }

       }

}

}

Ethel
Creator III
Creator III

Do you know how to change size of the title(Liquide Mittel  in your case). Thanks a  lot in advance!