Does anyone know how to move the color bar in a Folium map? It seems to be stuck at the top, but I would like to position it either vertically at the side or on the bottom of the map. I can't see anything in the documentation about this, but there must be a solution...
Related
I'd like to draw arrows in my plots, iif there is enough size for the arrow to be displayed properly (ie, with arrow and tail in the right position). Is there any way to control this in code?
For a better explanations, here is the problem explained in 3 examples: in this 1st figure, the arrow shouldn't be displayed as the arrow should go from the dotted line to the solid black line, and in this case there is not enough space for a proper visualisation.
When the same image is zoomed, the arrow behaves correctly though:
Here goes a final example, with a figure in its normal size (without zoom) where the arrow behaves correctly and should be drawn.
In conclusion, in case 1 I would like the arrow not to be drawn (not enough space for a correct visualisation) and to be drawn in the other cases.
I simply want my legend which is now in the form of the left bar in the following image, to be shown in the form of the bar in the right side. I couldn't find anything related for arcGIS. those anyone know?
Thank you so much for your help.
Unfortunately I don't think there is an elegant way to do this, only a work-around:
In Layout View, convert the legend to graphics. (Make sure your data and legend are in their final product state as your legend will no longer be dynamically linked to your data).
Right-click on the legend and ungroup the elements in the legend. Repeat as many times as necessary in order to be able to select an individual rectangle.
Manually convert the two rectangles into triangles. One way to do this would be to activate the "Draw" toolbar and draw white polygons over parts of each rectangle.
Once finished, regroup everything.
Again, not the prettiest solution but I don't believe ArcMap has this functionality.
Good luck!
Tom
I need to create a (very) custom titlebar in a cocoa app. I read about the INAppStoreWindow library, but it seems it doesn't have the feature that I need. So here's what I have need to do (see image for clarification):
My titlebar is the thing between the green and red circle
The text (Text1 - Text3) are all images
The black circle with the exclamation mark is also an image
The grey area below the title bar is a webview. It expands from the left border all the way to the right edge of the reddish sidebar. (This is actually where why I think that the INAppStoreWindow won't work, as I cannot specify a width for the title bar)
The images should have an Action
Text1 through Text3 as well as the black circle load some URL into the webview
Red circle closes the app
My app has no borders and no shadows. Right know in order to be able to move the app I drew a Box element at the top where the title bar should be. I think I can draw something in it as well, but as I'm very knew to cocoa development here are my questions:
How can I draw some images in the Box element?
Is there a better element to draw the titlebar in?
I know that are two questions, but they are closely relatated. It's generally: How to draw a simple titlebar like this?
As the problem inside the titlebar is the same for every item I need to draw (they are all images) I belive there is a quite simple solution for that, but because I lack the experience of how to solve this I'd need your help. You can also point me the the right direction in the comments and I'll answer this question myself after I've got it right.
I am trying to remove all gridlines and all parts of the background wall from a 3D Column graph. I have tried changing every background colour and every enabled setting to false but I still cannot seem to find where to remove the surrounding gridline as shown below. If possible, I would like to keep the graph floor, but remove the side and back walls.
I'm sure it's simple, so any help would be appreciated.
Thanks
Unfortunately the style of Area3DStyle is a bit hard-coded. You have the possibility to choose one of the following LightStyle:
None
Simplistic
Realistic
From you picture it seems that you have chosen None, try to set LightStyle to Simplistic to remove the border on the bars.
If you want to completely remove also the gray background you can set the ChartArea BackColor to Transparent.
The final result will be similar to
I have a NSBezierPath, in the shape of a menubar panel.
I'd like to make a header now.
Like this one for example.
But only like 30 pixels from the top.
I can't figure out how I should only get the top part of the NSBezierPath.
This is my first question.
How can I cut off a piece of the NSBezierPath, or how can I make a Union of the NSBezierPath.
Then I want to add a gradient like in the example.
The gradient is clear, but how can I add the glow at the top of it?
I have added a shadow in another app back then, but it seemed a little dirty.
So how can I make a shadow at the top of the NSBezierPath, like in the provided example.
Thanks!
I ended up using PaintCode, which did a pretty good job for me.
This is the result:
To get the 'light' edge at the top of the element you can just draw (i.e. :fill) the NSBezierPath with a vertical offset of e.g. -1 points with a brighter color. Then draw the shape (at y=+1 points) on top of that.
Not sure what you mean by making the header and cutting of bits..