Welcome Guest Search | Active Topics |

transparency of range fillStyle
Roman
#1 Posted : Tuesday, October 27, 2015 3:35:42 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 10/23/2015(UTC)
Posts: 4

Thanks: 2 times
Was thanked: 0 time(s) in 0 post(s)
Is it possible to configure range's fillStyle be semi-transparent?
I have tried to setup colors in rgba(215, 40, 40, 0.9) form, but it seems it doesn't work.
Dragan
#2 Posted : Wednesday, October 28, 2015 4:32:05 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)
Hi,

you can try this code:

Code:
$(document).ready(function () {
            $('#jqChart').jqChart({
                title: { text: 'Range Chart' },
                animation: { duration: 1 },
                series: [
                    {
                        type: 'range',
                        title: 'Series 1',
                        fillStyle: ' rgba(215, 40, 40, 0.2)',
                        data: [['A', 33, 43], ['B', 57, 62], ['C', 13, 30],
                               ['D', 12, 40], ['E', 35, 70], ['F', 7, 30], ['G', 24, 30]]
                    }
                ]
            });
        });
Best Regards,
Dragan Matek
jqChart Inc.
Users browsing this topic
Guest (3)
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.091 seconds.