Adding icon to Calculated Tableau Field - tableau-desktop

I am trying to add a small green arrow to a calculated field in Tableau. I cannot figure out for the life of me what to do. I have some images in my Tableau Repository, but the way my trainer is showing us is she is literally copy and pasting an image and it appears in the calculated field dialog box. I have tried to copy an image and paste it with no luck. Does anyone know how to do this? My trainer in the videos just does it like magic with no explanation of how to do it and it drives me insane. The code is very simple as I just want a green up arrow next to the growth percentage if its positive.
IF [Growth Percentage Profit] > 0
THEN "*green up arrow here*"
END

I exactly don't know how you are trying to do so.
but can get steps to do this from this link below.
may it could help you.
https://www.google.com/search?q=tableau+up+arrow+green&rlz=1C1UEAD_enPK957PK957&sxsrf=ALiCzsbLWY6J2Zh1jYWOX6_jq310QuQYow:1669030745991&source=lnms&tbm=vid&sa=X&ved=2ahUKEwjRi--FmL_7AhW5nP0HHbHsANEQ_AUoA3oECAEQBQ&biw=960&bih=936&dpr=1#fpstate=ive&vld=cid:0c41f2fc,vid:RSV3cm_mTHw

Related

iOS - How to fill color in Prescribed area

when I touch one place,Within the Prescribed area fill the green color.like this:
and this:
click one of the fish,the both fish are red
Now I can only use the scan line seed filling algorithm to identify a closed area, but cannot identify multiple areas。
Like this coral, one click fills in multiple areas
if any one gives solution it would be so great,Thank you. (English is not my native language; please excuse typing errors.)
-----------------------------------------------------------
I have a crude idea.
First find two seed points on the ear(A and B).
Click on the picture, if you find that the stack contains seed point A, calling method floodFill(from: B) continue
but I don't konw how to implementation if you find that the stack contains seed point A in this demo
I have solved the problem, this is a Demo
This solution requires fixing two seed points on the leaves。
When a seed point is triggered for coloring, The other one is also coloring.
If there's a better solution, let me know please.

using excel to show Increase, Decrease and no change in Multiple colours

Looking for some help or to be pointed in the right direction. Been stuck on this for a while and the main issue is I don't even know where to start. I am sure there is a solution but my brain will not see it.
To use as an example I have a table that shows monthly results for multiple different areas:
What I want to do is in the gap along side each number is show an increase, decrease or no change, using up arrow down arrow and square. That I can do using conditional formatting my issue comes with the fact that I also want it to be multiple Colours. So it will take into account increase and decrease and whether they are in target.See below:
Atm I am copying and pasting each month. But having it automated would be amazing. The outcome would hopefully look like this:
I am hoping there is a way that I can do two things compare to the previous month and then check it against my table to see where it sits then display the appropriate symbol.
Thank you in advance for any help or a place to start.
So extremely easy to figure out once I looked at it in a simplistic way.
Firstly, I used: =IF(-SIGN(E26-G26)= 0, "n", IF(-SIGN(E26-G26)=1, "é", IF(-SIGN(E26-G26)=-1, "ê","")))
To compare the current number to the previous number and get a 1, 0 or -1 depending on if it had gone up down or stayed the same, using this it either displays é, n or ê. I then set the font on these cells to Wingdings. so they become up arrow, down arrow and a square.
Then I use conditional formatting to colour it based on the adjacent cells value.
No need for a long, complex formula
=IF(A2>A1,"t",IF(A2<A1,"u","v")) - set the font to Marlett

google spreadsheets(google excel) Why is my picture being displayed incorrectly in Html View?

Whenever I add a picture to google spreadsheets in editor mode It always appears lower when viewed in Html Mode. Is their a fix for this?
You can instruct Google Spreadsheet engine with ease how you want the images to render by using this syntax:
To retain aspect ratio while increasing / decreasing the cell size:
=IMAGE("URL")
To make the image stretch and fit all edges of the cell:
=IMAGE("URL",2)
To make the image keep its original size:
=IMAGE("URL",3)
To manually set the image size (replace 50,50 with desired dimensions):
=IMAGE("URL",4,50,50)
Now to answer your question more directly. There are several reasons why this can happen. This comes to how Google are actually translating the spreadsheet and rendering it as HTML.
With that said, it is hard to answer your question with the correct answer while not being able to look at the spreadsheet and the output of the html.
Update
Looking at your source:
The problem is that the CSS that is outputted generates topå and left values that makes the image be off by the y axiz.
Here is a method to edit the CSS in Google Spreadsheet if you are familiar with it: http://lifehacker.com/387849/style-your-google-docs-with-css
If you are not familiar with it its probably not much help, but anyway!
If you find this answer helpful please tick accept and up it, i need it :-)

Trying to create a different image for each tooltip in highcharts

I'm new to coding, and creating a line chart that is very simple.
What's not simple is, I want to have an image in each tooltip. I figured out how to have the same image in each tool tip, but I want a different image for each data point on the line. It doesn't need to change when I change the data, and the image has to be connected to the point on the line, and not just the value (for example day 3 might have a value of 10 and day 12 might also).
Has anyone done this, or does anyone have any ideas?

Find available grid position

I'm building a color box connecting game with objective-C and trying to figure out how to find the correct position when a block of boxes is placed incorrectly over another block of boxes.
See the attach image. In the image, you only need to move the left box one step to the right in order to connect the boxes and win.
However, if you place the left box on top of the other box (Image 2), I want to move it to the closest available free grid position.
This would be easy if the box was a simple square (a 1x1 grid, 2x2 grid, etc), but since the boxes can be complex, It's harder. There might also be a lot of boxes on the grid.
Any suggestions would be very appreciated.
If you're new to heuristics like this, just take the KISS approach.
It couldn't be easier...
The user tries the object at x,y ok?
It does not "fit" there.
So, simply "spiral" outwards, trying it in other possible places.
Just keep trying until you find one where it fits.
234
915
876
so that's like "radius 1", you see? then try "radius 2"
and so on.
It's that easy. Just keep trying until you find one that "does work".
Work from the start position outwards, so that, you find the closest one.

Resources