Welcome Guest Search | Active Topics |

Image Background? Alpha at areaserie
steffen.bugenhagen
#1 Posted : Friday, August 9, 2013 4:14:38 AM(UTC)
Rank: Newbie

Groups: jQueryChart, Registered
Joined: 8/9/2013(UTC)
Posts: 1

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Hey,

first of all: great tool. But I have some questions
Is it possible to set an alpha value only to areaserie?
Is it possible to set an image as background or watermark?
Dragan
#2 Posted : Friday, August 9, 2013 8:43:19 AM(UTC)
Rank: Advanced Member

Groups: Administrators, DataVizJavaScript, jQueryChart, jQueryDV, MvcChart, Registered
Joined: 1/3/2011(UTC)
Posts: 483

Thanks: 0 times
Was thanked: 87 time(s) in 87 post(s)
You can use rgba to set transparent colors. Here is how you can set half transparent green color:

Code:
series: [
   {
        fillStyle: 'rgba(0,255,0,0.5)', …


In this sample we’re using transparent colors:

http://www.jqchart.com/jquery/chart/RadarPolarCharts/RadarAreaChart


Currently, you can set image background in this way:

Code:
<div id="jqchart" style="width: 300px; height: 300px; background-image: url(image.png);">
</div>
Best Regards,
Dragan Matek
jqChart Inc.
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

FlatEarth Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.074 seconds.