Can we add gradient color in oxyplot graphs - xaml

I have been trying to achieve gradient color for the oxyplot graphs.
Some old blogs saying that gradient color is not supported by oxyplots. Could anyone suggest any tweaks to achieve the below kind of view?
And also any suggestions are open to which graphs can be used apart form oxyplots in xamarin.
enter image description here

Related

CreateJS: how to change color of bitmap image

I'm using createJS to build some easy game.
I have an image (white fill and black stroke) and I would change the black color to another.
Is it possible?
Thanks
The three ways to do color adjustments in EaselJS are:
Composite Operations: You can draw an image using a composite operation (such as "destination-in") to determine how pixels are laid down. This is probably not going to give you the result you want. Here is an example of a black PNG being changed to different colors using compositeOperation.
Color Filters. EaselJS has both a ColorFilter and a ColorMatrixFilter, which assist with modifying colors. The first uses parameters to multiply and add to the color and alpha channels, but is a little harder to use. The second uses a ColorMatrix to adjust hue, saturation, contrast, and brightness. This may not work for you, since changing the black pixels is kind of the opposite of color filters do.
A Custom Filter. EaselJS supports custom filters (such as the Threshold Filter in the extras folder. This is probably your best option, and might take massaging to get what you need.
Hope that sheds some light.

How to smooth images corner and merge background color?

Please see the above image. how to smooth imgaes corner and merge background color together? I searched some documents for smoothing corners said using feather and delete reversal corner. But I didn't get enough result. How can I do that?
Firstly choose a background color that can easily blend with the image, so that when you try to merge the image with background it should not look different.
Secondly, I prefer to use LAYER MASKING over FEATHER for merging image with background.
Layer Masking gives you more better options to make the edges blend more clear and merged.
You can see how to use Layer Masking in Adobe Photoshop with following links.
https://helpx.adobe.com/photoshop/using/masking-layers.html
http://www.sitepoint.com/photoshop-fade-layer-mask/

vb transparent background with gradient

I have a problem with gradients transparency key in a PictureBox in visual basic form . I want to get a good transparency as it is in the first form (in PS)
That's what I did:
1- Drawed the picture in Adobe Photoshop (CS6) with these preset:
2- Saved the picture with this option:
3- Added the picture to a PictureBox in vb form with blue BackColor
4- Changed form TransparencyKey to blue
5-The (awful) result:
The Form.TransparencyKey property is not really what you're looking for. It will only make the parts of the image transparent that exactly match the color you specified (Color.Blue, in your case). That means that the parts of the gradient in your image that have even a remotely small amount of red or yellow in them won't match the filter.
Among the things you could try is to have your form drawn with alpha blending. Here's a library that lets you draw stuff with transparency, which looks like what you want.
Alternately I dug up a walkthrough on CodeProject. It involves a lot of chatting with forms interop and the OS, which might not be your cup of tea.
Note that GDI+, the system Windows Forms uses for drawing, is somewhat slow, especially when drawing images. I don't know what your project looks like, but if you're going to draw a lot of transparent images, I suggest looking towards Microsoft DirectX.

SpriteKit Layer Scratch Effect

I am creating a game in SpriteKit in which I have some SKShapeNodes. I want the SKShapeNodes to be hidden by color. For example:
initially as the scene loads, it should show as plain color.
The user scratches (touches and moves touch) to scratch the color and reveals the shapes behind the color. I will perform other actions on these shapes later
If any one suggests this link:
https://github.com/moqod/iOS-Scratch-n-See
then I have already gone from this but the problem is this that it is using two images one as front and other as background and it is in core graphics. I am completely beginner to core graphics and having difficulty to understand how to show color instead of image to scratch.
I understand that the question has been already asked but it is using images. I want to have only one color as layer which will be scratched.
Any one will please help me how to achieve scratch effect to scratch color and reveal other nodes behind?

custom colors in bing maps?

I was looking at http://www.msnbc.msn.com/id/26295161/ns/weather/ and noticed that the flash map is provided by bing and have a custom color scheme. I have a similar need to show maps with a black & white colortheme, is it possible using their api or have they made custom tiles ? (doesnt seem feasible to provide tiles for alls maps on all levels :)
If you are not wedded to Bing maps, you could look into Mapbox, which provide maps based on OpenStreetMap in any style that you desire.
This question is still not answered and even if it's kind of old, I think it matters.
In fact, they're not using different tiles or a custom tile scheme. You can see those in the network inspection tool.
Since they're inside a Flash application, they can easily change the color of the image using filter on image (ColorMatrixFilter) and changing dynamically on the client side the rendered colors.
Well now some years later you can: https://msdn.microsoft.com/en-us/library/mt823636.aspx :-)
(I got here by looking for some sample styles and thought I add the link for anybody else finding this question)
Perhaps a custom tile skinner is that you need: http://rbrundritt.wordpress.com/2009/11/27/bing-maps-custom-tile-skinner/
In this example, the author changes the color of roads using ColorMatrix and ColorMap:
The two key methods used to transform the colors
consist of using ColorMatrix or a ColorMap. By
using a color matrix all the colors on the tile
can be changed within a couple lines of code. Using
a ColorMap allows you to change one color at a
time. This is useful if you only want to change a
few colors on the map.