Sign in to follow this  
jskahan

multi series area chart with fill on only one series?

Recommended Posts

I'm looking to do something along these lines, where both plots has a border but only one has a fill:

 

http://finance.yahoo.com/q/bc?t=1y&s=BULIX&l=on&z=l&q=l&c=vfinx&ql=1

 

I tried setting the alpha of the non-fill plot to 0 but that hides the border as well as the fill.

 

Is this possible? Thanks.

Hi,

 

Yes, a chart with 2 area plots, one with and another without the fill can be displayed. For this, you would need use a Multi-series Area chart.

 

In the <dataset> where you wish to show the border without the fill, you would need to set the attributes "alpha" to '0.1' and "plotBorderAlpha" to '100'.

Ex: <dataset ... alpha='0.1' plotBorderAlpha='100'>

 

post-8144-0-98893000-1389766009_thumb.jpg

 

Also, you can achieve the same with Combination 2D chart, by rendering one <dataset> as "Area" and another as "Line" to suit your requirement.

 

post-8144-0-24868100-1389766000_thumb.jpg

 

Hope this helps. :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this