How to show different colour in the same data in tableau? - python-3.x

In tableau, I want the colours of my fields to be shown separately, but Tableau automatically creates a custom colour for both of the fields, which i do not want. Is there any way to show the fields in different colours? TIA
Also, if it is not possible, is there any way to do this in Python?
This is the way it looks right now
This is the colour setting

Related

Excel - Change bar graph to all same colour

I have a bar graph as seen below, I need to change the colour of all the bars to let's say green.
Currently the only way I have been able to find to do this is click each individual date and then the fill bucket green as excel doesn't allow you to CTRL + Click multiple elements. Is there a way to change the colour of all the bars shown in one go?
Worth mentioning I can not change the colours by creating a "values table" as the workbook is locked and I have to do this for several different graphs.
That's happening because you have created the chart using every date as an individual serie. I suggest to use the "Switch Row/Column" option and became all the dates as a unique serie, so all the bars will have the same color.
In the other hand if you need to keep the chart as you shown on the picture shared, is possible to change every bar at once but just using a VBA code.

How to color specific vtkCells?

I have a 3D model loaded into a vtkActor and I need to be able to color specific vtkCells of this actor after selecting (clicking on those vtkCells). I know how to retrieve the selected cells from the vtkUnstructuredGrid but have no idea of how to set color to them. I've read a bit about vtkLookUpTables and think that might be it but I don't understand how it works, or if it really is what I need.
Thanks.
You can use vtkExtractCells to fetch all special cells and form a vtkDataObject, then create vtkDataSetMapper and vtkActor objects to color and shot it.

Microsoft excel color picker is different on different documents

I have two Excel two documents on the same laptop with an extended desktop.
For some reason, when i use the color picker, i get different color options on each of the documents. Here are the two options i see:
Document1.xlsx
Document2.xlsx
Does anybody know why the two documents are displaying different colors?
I would like to use the colors shown in column 9 in the the document 1 colours but i want to use them in document 2. How do i make both documents display the same colours?
They may have two different themes selected. See this page on How to Change a Theme. But, to the point:
On the Page Layout tab in Excel or the Design tab in Word, click Colors, and pick the color set you want.

Auto Grouping/Merging in Excel

I think the image attached describes better than I can in words the functionality I am trying to locate within excel.
Is there a way to auto group based on the contents within the columns as shown? This is achievable for the example shown, but when there are up to say 30 Groups and many sub group types, I am wondering whether excel can auto-detect and work its way through the list, grouping as shown as it goes.
You can get a similar result using conditional formatting. select the whole table and create a new conditional format rule and choose formula and enter =A1=A2 set the format font to white (I've used very light grey to show that the data is still there)
To get the borders, do the same again and this time enter the formula =A1<>A2 and make the top border black.
It's not exactly the same as yours but it's close.

I wish to apply a background color to ONLY the cells in a specific dataGrid column?

I asked this question on the LiveCode email list. No response, so I figure it must not be possible. I know about editing the template graphic that enables alternating row colors. That doesn't help me.
This lesson is the closest to what I have found, but it only sets the overlay color to empty cells. It also had an unwanted affect, where any data that was present in the grid no longer shows up.
http://lessons.runrev.com/s/lessons/m/datagrid/l/7327-how-do-i-override-the-default-behavior-for-rendering-data-to-a-cell
As a little experiment, since the data became invisible (note that I'm on WinXP), I tried placing an opaque graphic over the column I wish to colorize. I set the ink of the graphic to AddMax or AddOver, and it looked nice, but the text in the cells disappeared. Then I tried setting the ink to AddMin, and it still looks good, but the test shows through!!!!
So, I think this will work fine visually, but how can I pass a double-click through this graphic to the cell underneath (to allow cell editing only within this column)?
Yes, you can do this.
This suggestion comes from Trevor DeVore at http://www.bluemangolearning.com/
Create a custom column template using the property inspector. From there you can edit the behavior of the column to colorize the background color of the field for that column or just edit the field in the template group to change the color.
The background color will only show up in rows that have data, however.

Resources