Profile Picture

Plane transparency

Posted By Riccardo Sormani 15 Years Ago
Author
Message
Riccardo Sormani
Posted 15 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 2, Visits: 1

Thank you Bob!

I put this piece of code in my page:

private void SetStyle(NChart chart)

{

...

NColorFillStyle fillStyle = new NColorFillStyle();

fillStyle.SetTransparencyPercent(90);

chart.Wall(ChartWallType.Back).FillStyle = fillStyle;

chart.Wall(ChartWallType.Left).FillStyle = fillStyle;

chart.Wall(ChartWallType.Floor).FillStyle = fillStyle;

}

..and it works fine!



bob milanov
Posted 15 Years Ago
View Quick Profile
Supreme Being

Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)

Group: Forum Members
Last Active: 6 Months Ago
Posts: 153, Visits: 11

Hi Riccardo,

Yes - every element in the chart support transparency trough the fill style associated with it:

constLine.FillStyle = new NColorFillStyle(new NArgbColor(125, Color.SteelBlue));

You can also take a look at the following example shipped with the control:

All Examples\Axes\Attributes\Constlines 3D

Hope this helps - let me know if you have any questions...

Best regards,
Bob



Riccardo Sormani
Posted 15 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 2, Visits: 1
Hello,
can I set a trasparency percentage to XY, XZ and XY planes in a 3D chart?
When i rotate the chart over 90 degrees I cannot see the chart line.

Otherwhise can I completely hide these planes? How can I do it?



Similar Topics


Reading This Topic