Profile Picture

Area Series Gradient Width (I think!)

Posted By Daniel Brookes 13 Years Ago
Author
Message
Daniel Brookes
questionmark Posted 13 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 4, Visits: 1
Hi,

I'm trying to work out how to change my Gradient so my Area Graph has a gradient underneath, but only 10 pixels.

My pictures should help explain what I am trying to do better.

But essentially I have created my graph and added a Gradient like this (VB.NET):

Dim lineGradient As New NGradientFillStyle(Color.Black, Color.White)
m_NewLine.FillStyle = lineGradient

But the gradient fills all the way to the bottom of the chart, but I only want it to fill to say 10 pixels under the Border, if that makes sence? Is that possible?

Thanks!


Attachments
Capture.gif (72 views, 41.00 KB)
Nevron Support
Posted 13 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009
This is not possible with the gradient fill. The only way to apply such filling for the area is by using dynamically generated textures, but unfortunately this is hard and not very practical.

Best Regards,
Nevron Support Team



Daniel Brookes
Posted 13 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 4, Visits: 1
Thanks for your reply, I've changed to use a line series and added a drop shadow which gives me what I need



Similar Topics


Reading This Topic