Sort map (deck.gl Scatterplot) legend in Apache Superset - apache-superset

is there a way to sort legend alphabetically or even better with a custom given order in Apache Superset? e.g. in example image below, I want the order A, B, C, D for the legend.
(I have the same question on numerical legend as well)

I don't think this is possible right now. Can you open a Github ticket? There is a lot of work in the visualization and with a ticket can be prioritized.

Related

Superset partion graph type order by

We are creating several charts in superset and with the partition type chart the ORDER BY seems to be hard coded and we cannot change it. The goal is too have the months on the left in the correct order (the column in this case is Month). When run in sql lab it works in correct order but in the chart view we cannot change the ordering
Any suggestions?
I assume you mean the dates on the right here?
I work with superset and I have experienced this limitation that does appear to be hard-coded into the ordering once a chart is made. I would suggest if it wasn't too much hassle to add another column to your database of the text value and follow the patter of;
WHERE "Month" = 'January' SET "OrderingColumn" = 'A'
WHERE "Month" = 'February' SET "OrderingColumn" = 'B'
etc etc
Then in your charts you can try: ORDER BY "OrderingColumn"
It is a bit of an inconvenience but if you are able to manipulate your data by changing tables or views this seems to be a solution you could use.
I hope this may be useful even to change the way of approaching the problem.

I want to turn this if formula into an array formula but cant seem to get it to auto populate down the rows

I want the driving distance between two address's and I am running a script that allows the following statement work.
This works but I have to drag the formula down when new rows are added from my mobile app into my sheet
=(IF(ISBLANK($AF2:$AF),"",DrivingMeters($E2:$E,$AF2:$AF)/1000))
This doesn't work
=ARRAYFORMULA(IF(ISBLANK($AF$2:$AF),"",DrivingMeters($E$2:$E,$AF$2:$AF)/1000))
I cant work out what I am doing wrong?
it could possible be you need to adjust your DrivingMeters custom formula to accept arrays. Please share the sheet or custom formula
try:
=ARRAYFORMULA(IF(AF2:AF="",, DrivingMeters(E2:E, AF2:AF)/1000))

Eliminate gap between columns

How I am able to eliminate gap between columns in column chart like this, I didn't see any property to allow me to configure this:
There is currently no built-in option to eliminate the gap. Suggest you submit an idea at http://ideas.powerbi.com or make a contribution to the open source repo where our visuals are implemented so you get the feature you'd like: http://www.github.com/microsoft/powerbi-visuals

Oracle APEX: Add list boxes on demand

I am new to APEX and was wondering if you could point me in the right direction. I have an app that has 24 pairs of list boxes, (24 is the limit per requirements). What I did was create and show all 24 and it looks weird. (See image here).
My question is this: Is there a way to have maybe just one pair show and as they make their selection, a new pair of list boxes appears? Or maybe have a button that says something like "add a new category / type" and once clicked, a pair of list boxes is created? This would go on until they've populated the 23 sets of list boxes since 24 would be the limit.
By the way, the selected category value drives the type value. On the linked image, the size of the list boxes varies because of this. Can those list boxes be made with a fixed width?
Oh, I'm using 4.2.
Having read through the posts on this, if you did want to attempt creating a report which has cascading select lists you could try the approach found at this link:
https://apex.oracle.com/pls/apex/f?p=39514:1:
It's a slightly long winded process so it may not be the easiest solution, however having read through the instructions the guy provides it seems do-able:
https://apextipps.wordpress.com/2010/11/02/cascading-lov-in-tabular-form/
Hope that is of some help.

SharePoint List dropdown/choice (colours)

I would like to know if its possible to have a drop down field/column in SharePoint list that instead of having text choices to select from, the choices are graphics/images (green, red, amber). Or how about having a three divs as choices and each div will have the desired color.
Is any of this possible?
Any suggestion would be appreciated, thanks in advance
I think you cant provide color coding to the choice filed directly
but there is one way to do something similar to this.
please look at this link
http://www.vishalseth.com/post/2008/11/02/Adding-Color-Columns-to-Sharepoint-lists.aspx
In this it will get the color by using calculated field value. you can customize this as per your requirement
Let me the outcome as i m also eager to know this
Thanks