Thanks Torstein...I got the symbol for a specific point to change to a graphic that set right in the data series:
Code: Select all
data: [
{x:152,y:1,marker:{symbol: 'url(e.png)'}},
[155, 2],
[172, 3],
[176, 4],
[182, 5],
[198, 6]
]
Taking this a step further...
Is it possible for the symbol to be a letter that has the same color as the other points in the series?
Here is some background of what I am trying to achieve:
I have multiple series that need to be plotted on a scatter chart. Each series will be identified by it's own unique symbol and color (all handled perfectly in highcharts so far). Within each series, in addition to the X and Y values, I have third dimension that determines the type of point. This dimension can be represented by a letter (I will manually add a key to the chart that shows what each letter represents) but the color of the letter must match the color of the other points within its same series.
Ideally, an additional option for the "symbol" property would be "character" and the value could then be set to any character on the keyboard (or even an HTML character code if necessary) and the character would then inherit the color of the associated series.
Another way I'm thinking (what I'm trying to do) would be for me to create .png image for each letter I need. The image would have a solid white canvas (or color that matches the plot area background) with the letter portion of the image being transparent. The only thing I would then have to do is assure that the background of that image is set to the background of the associated series and then, since the image is a .png, the color would show through the transparent area of the solid canvas. This method would also allow users to create any custom shape (not just letters) that retains the series color as well.
Hope that makes sense. I realize that this may be a unique request but this would allow a more flexible way to add a third dimension to X/Y type plots.
Any help would be greatly appreciated!