Google Sheets Sortable Arrow - sorting

In Google Drive, I converted an Excel Spreadsheet into a Google Sheet. One of the few things that didn't convert across were these sorting arrows. I apologize for not knowing the exact terminology for these, but they are inverted triangles (like arrows) that allow you to quickly access how you want sorting to be done for the entire table via the values of a column range.
The blue arrows point to the clickable inverted triangles, and the red arrow points to what it looks like when the inverted triangle is clicked.
How do I get this same (or at least similar) effect in Google Sheets for each column? I understand that I can sort by column in Google Sheets, but I have to select the range, and do all the steps correctly each time instead of clicking on the column and clicking once more for sorting the table by its values.

advanced/complex ones can be recreated here:
but basic ones are accessible by hovering over the right column corner:

Related

Sort images in grid based on user input

I have a few hundred images that I would like to have a user manually sort along two axes. Each row represents a users perceived nominal label, eg red, orange, yellow, green, ... The images in a row are ordered according to some feature perceived by the user (eg brightness). So given an image the person sorting should be able to determine which row it belongs to and which two images it should be between in the row and insert it there.
Initially I tried using Google sheets and loading the images into cells in the spreadsheet. The problem I encountered are the images are really low resolution and Google sheets applies some blending to the pixels (eg linear?, bicubic?) which made understanding the images too difficult for my user. If I could load an image and have it resize using the nearest pixel color I think it would be fine.
I have looked at some photo organizing software, the closest feature I can find is organizing photos based on geo-coordinates onto a 2D map, which isn't intuitive for my user.
I suppose I could create a webapp that the user could assign a row and column too, but it seems like there should be an easier way.
The intent is to apply machine learning on the provided labels so that we can automatically sort larger datasets, so it would be great if the solution could be used with machine provided metadata, which could then be visually inspected for accuracy.

Image in Google Sheets moves when sheet is embedded in Google Sites

I'm setting up a heat map in Sheets which tracks maintenance work orders for an apartment complex. I have an image of the complex that I adjusted to being 50% transparent so you can see through it to the cells underneath. The cells underneath have formulas that calculate off a database. I apply conditional formatting to these cells so that as more maintenance techs log work orders, the resulting heat map changes. The problem I'm having is that the image shifts in relation to the underlying cells when I embed the Sheet into Google Sites. The heat map is then no longer aligned properly.
I tried to insert the image as both a shape and a picture and neither stopped the issue from happening. I also tried purposely off-setting the image in Sheets thinking that it would then be aligned better when embedded into Sites, but that doesn't work either.
The expected result when embedding the Sheet into Sites is for the image to stay fixed in relation to the underlying cells. The actual result is the image shifts which then renders the underlying heat map unusable. Any thoughts on how to prevent this from happening? Thanks!

Report rdlc - Shrink rectangle inside tablix in group

I have a .rdlc report with grouping (4 levels).
In the last level, I have a pretty complex design of textboxes/images that can't be done with rows/cols. For example, they overlap on some points.
So what I have to do is to put a Rectangle on the cell and then, inside the Rectangle, put all the components.
The problem I have now is that some of these components can be hidden depending on the data, and because of that, sometimes there is a lot of white space inside the report that I don't want.
Is there any way to shrink the Rectangle if it doesn't have any visible data?
Unfortunately, by design Rows and Columns will not shrink below its definition height/width, therefore, a Rectangle can only be as small as its Cell.
However, you could try to make it as small as possible, and rely on the CanGrow property of Textboxes ("Property" window, under "General" tab), as suggested in the link given above.

Pruning displayed cells

I have a dataset with particle traces as polylines (vtkPolyData with vtkPoints and vtkCellArra). I would like to display only some of the particle traces using a filter in Paraview, as they are sometimes too many; e.g. display only every 10th cell.
In the Glyph filter, there is are options to "Mask Points" (limit max number of displayed points) and "Random Mode" (pick displayed points randomly, not sequentially), so something similar.
Is there some ready-made filter for this, or if not, how to use the programmable filter to write one?
Since you mention cells, maybe you are interested in using the cell centers filter, that will convert all your cells to points (and the corresponding cell arrays to point arrays), so that you can apply the glyph to them.
For having more options in masking, you can apply the MaskPoints Filter before the glyph, and see if you can get the effect you want with all the options provided (for more options, look in the advanced properties by clicking the gear next to the search box).

What is the main idea of creating click heatmap?

in one of my projects, I would like to create heatmap of user clicks. I was searching a while and found this library - http://www.patrick-wied.at/static/heatmapjs/examples.html . That is basically exactly what I would like to make. I would like to create heatmap in SVG, if possible, that is only difference.
I would like to create my own heatmap and I'm just wondering how to do that. I have XY clicks position. Each click has mostly different XY position, but there can be exceptions time to time, a few clicks can have the came XY position.
I found a few solutions based on grid on website, where you have to check which clicks belong into the same column in this grid and according to these informations you are able to fill the most clicked columns with red or orange and so on. But it seems a little bit complicated to me and maybe slower for bigger grids.
So I'm wondering if there is another solution how to "calculate" heatmap colors or I would like to know the main idea used in library above.
Many thanks
To make this kind of heat map, you need some kind of writable array (or, as you put it, a "grid"). User clicks are added onto this array in a cumulative fashion, by adding a small "filter" sub-array (aligned around each click) to the writable array.
Unfortunately, this "grid" method seems to be the easiest, simplest way to get that kind of smooth, blobby appearance. Fortunately, this kind of operation is well-supported by software and hardware, under the name "computer graphics".
When considered as a computer graphics operation, the writable array is called an "accumulation buffer". The filter is what gives you the nice blobby appearance, even with a relatively small number of clicks -- you can tweak the size of the filter according to the needs of your application.
After accumulating the user clicks, you will need to convert from the raw accumulated values to some kind of visible color scale. This may involve looking through the entire accumulation buffer to find the largest value, and mapping your chosen color scale accordingly. Alternately, you could adjust your scale according to the number of mouse clicks, or (as in the demo you linked to) just choose a fixed scale regardless of the content of the buffer.
Finally, I should mention that SVG is not well-adapted to representing this kind of graphic. It should probably be saved as some kind of image file (.jpg or .png) instead.

Resources