Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

Not applicable

Change Color of Chart Background or x-axis labels

Hi,

I have a line chart with three different colored data lines.   See attached pic.

From 'Sept-13' onwards, I need to show a service change by either changing the font colour of the Date X-Axis from September onwards or maybe change the background colour of the chart from then on.  Is this possible?

line_chart_colour.png

Any suggestions or help appreciated.

Thanks,

Tom

Tags (2)
6 Replies
mov
Esteemed Contributor III

Re: Change Color of Chart Background or x-axis labels

Background - not possible.

Font color - looks like not possible either.

These properties are defined per chart and don't depend on dimensions values

Not applicable

Re: Change Color of Chart Background or x-axis labels

Have you seen this post?

http://community.qlik.com/thread/104993 

Re: Change Color of Chart Background or x-axis labels

Hi Tom,

For background yo need to change in Style tab the Area Background Style to other different than 'Minimun' (So Solid or Shadowed).

Then in the colours tab you can set the color for the Graphic Area.

For the font colour of x-axis you can change the font properties for the dimension axis:

Hope this helps

antoniotiman
Honored Contributor III

Re: Change Color of Chart Background or x-axis labels

Hi Tom,

have You tried to use Colormix1() function or Colormix2() ?

You can use wizard.

Regards,

Antonio

Not applicable

Re: Change Color of Chart Background or x-axis labels

Hello Tom,

You can have the background color of the chart changed by using the "Background color option" under each expression.

To check this option see the attached image. in the definition add this expression.

if(Date='Jan 2014',LightBlue(),LightGreen()).

Thanks,

Shruthi Reddy

Re: Re: Change Color of Chart Background or x-axis labels

Sorry, I' didn't understand well your requirements, check attached file, using an expression showed only in the axis you can use the font color in this expression the change the color simulating the dimension value.

Probably you need an expression for each dimension, you can use GetCurrentField function to check what field is selected in the ciclic group and use conditional expressions to match the dimension selected.

Community Browser