3D Arction bottom wall color appears to be black

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
KapilMore1
Posts: 1
Joined: Mon Apr 03, 2023 6:58 pm

3D Arction bottom wall color appears to be black

Post by KapilMore1 » Mon Apr 03, 2023 7:04 pm

I have updated the Lightning chart from "2019.9.11".4001 to version "10.4.1.4001".

I have set the View3D wall on bottom GridStrips to "None" and Material.DiffuseColor to "Transparent".
Graph settings
m_Chart.View3D.WallOnFront.Visible = false;
m_Chart.View3D.WallOnTop.Visible = false;
m_Chart.View3D.WallOnRight.Visible = false;
m_Chart.View3D.WallOnBottom.GridStrips = WallGridStripXZ.None;
m_Chart.View3D.WallOnBottom.SetGridStripColor1(Colors.Transparent);
m_Chart.View3D.WallOnBottom.SetGridStripColor2(Colors.Transparent);
m_Chart.View3D.WallOnBottom.Material.DiffuseColor = Colors.Transparent;
m_Chart.View3D.WallOnLeft.GridStrips = WallGridStripYZ.None;
m_Chart.View3D.WallOnBack.GridStrips = WallGridStripXY.None;
m_Chart.View3D.XAxisPrimary3D.MinorGrid.Visible = false;
m_Chart.View3D.XAxisPrimary3D.MajorDivTickStyle.Alignment = Alignment.Center;
m_Chart.View3D.YAxisPrimary3D.MinorGrid.Visible = false;
m_Chart.View3D.YAxisPrimary3D.MajorDivTickStyle.Alignment = Alignment.Center;
m_Chart.View3D.ZAxisPrimary3D.MinorGrid.Visible = false;
m_Chart.View3D.ZAxisPrimary3D.MajorDivTickStyle.Alignment = Alignment.Center;
m_Chart.View3D.XAxisPrimary3D.AllowUserInteraction = false;
m_Chart.View3D.YAxisPrimary3D.AllowUserInteraction = false;
m_Chart.View3D.ZAxisPrimary3D.AllowUserInteraction = false;
m_Chart.View3D.Camera.RotationX = 3.71;
m_Chart.View3D.Camera.RotationY = -42.10;
m_Chart.View3D.Camera.RotationZ = 0;

Expected result:
The view3D wall on bottom should appear/set to transparent.

Actual result:
The view3D wall on bottom appear black

Attached poc for reference.
Attachments
Arction3DChartpoc.zip
(78.45 KiB) Downloaded 50 times

ArctionKestutis
Posts: 555
Joined: Mon Mar 14, 2016 9:22 am

Re: 3D Arction bottom wall color appears to be black

Post by ArctionKestutis » Tue Apr 04, 2023 9:41 am

If you need transparent walls, now there is simple solution. That is, enable wall.FullTransparent property. For example,

Code: Select all

            foreach(WallBase wall in m_Chart.View3D.GetWalls())
            {
                wall.FullTransparent = true;
            }

Post Reply