Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
ajaykakkar93
Specialist III
Specialist III

How do i set style for data piont using Qlik Sense Theme API?

Hi All,

i have created a example theme to explore the theme api but i am facing a problem with styling data point for charts.

  •      anyone have done it?
  • do we have a solution?

datapoints color1.pngdatapoints color.pngdatapoints color2.pngdatapoints color3.png

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting

1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi,

The line chart:

"lineChart": {

      "outOfRange": {

        "color": "@Concrete"

      },

      "label": {

        "value": {

          "color": "@TextColor", ///this comes from the variables

          "fontSize": "@TextSize"

        }

      }

    },

The Bar:

"barChart": {

      "label": {

        "value": {

          "color": "@TextColor",

          "fontSize": "@TextSize"

        }

      },

      "outOfRange": {

        "color": "@TextColor"

      }

    },

Each chart needs a similar layout.

Ryan Arpe

View solution in original post

3 Replies
venkathyh
Contributor
Contributor

Hi Ajay,

Have you figured out?

Thanks,

Venkat

ajaykakkar93
Specialist III
Specialist III
Author

NOT YET....

DO YOU HAVE A SOLUTION???

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting

Anonymous
Not applicable

Hi,

The line chart:

"lineChart": {

      "outOfRange": {

        "color": "@Concrete"

      },

      "label": {

        "value": {

          "color": "@TextColor", ///this comes from the variables

          "fontSize": "@TextSize"

        }

      }

    },

The Bar:

"barChart": {

      "label": {

        "value": {

          "color": "@TextColor",

          "fontSize": "@TextSize"

        }

      },

      "outOfRange": {

        "color": "@TextColor"

      }

    },

Each chart needs a similar layout.

Ryan Arpe