BookmarkSubscribeRSS Feed
SullivanC
Calcite | Level 5

When I use  treemap, it seems I can only set the Data Colors

VA changes the colors of meter automatically.

However, can I appoint the color to a specific value?

In the following example, the value has changed since I choice different parameters. But the color is the same.

Can I customized my color setting with fixed value

treeemap.jpg

3 REPLIES 3
Meredith_SAS
Calcite | Level 5

Hello SullivanC,

Listed below are step by step instructions on how to customize the colors in order for it to represent a specified value for the Treemap:

First, Access VA.

Go to Create a Report.

From here, select the desired data you want to analyze within your Treemap.

Next, in the objects tab click on Treemap.

Then, put in the desired fields from your data (ex: Product sales, Product Quality, Sales Rep ID, etc.)

From here, on the right side, click on the styles tab.

Next, select Treemap 1 and you should see the following tabs:
Data Styling, Fills, Frame Styling, Text Styling, and Data Colors

Because you want to customize the colors on the Treemap select
the tab, Data Colors, moreover you can select the colors for fill, gradient,
missing, and data tip fill. Here is where you can select the colors to represent a specific value.

In addition, you can customize the text and the style of your Treemap.

I hope I assisted you in answering your question, please reply if you need further clarification. 

SullivanC
Calcite | Level 5

Thanks for you replying. I'm sorry I reply late since I have to try in Monday morning in my office.

I have tried solution. But I still cannot find the setting.

I hope to give a specific color to a specific range. For example

0%(green)->70%(yellow)->100%(red)

In my example pic, the value of the 1st pic is 105.28% and the value of 2 pic is 52.64%.

The are from the same treemap and I just change the value of controls.

I hope the color of 52.64% become yellow/green, not keep the same color(red) as that of 105.28%

sat_lr
Calcite | Level 5

Hi Sullivan,

Did you attempt doing this in Display rule. There you can specify desired values and make an expression.

Cheers. satlr

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 2481 views
  • 0 likes
  • 3 in conversation