want waterfall 3d display show colored lines only
Posted: Mon Feb 10, 2014 9:52 pm
As showing in the attachment waterfall3d.jpg created in c++ with TeeChart, the area under the series are painted.
I would like to remove the shaded paint but keep the colored lines as shown in waterfall-desired.jpg.
How do I achieve effect in waterfall-desired.jpg? I am using c++.
Code: Select all
long id = ptChart->AddSeries(tchartNS::scWaterfall);
tchartNS::ISeriesPtr ser = ptChart->Series(id);
ser->Pen->Visible = false;
ser->asWaterfall->UsePalette = false;
ser->asWaterfall->WaterLines->Visible = false;
ser->asWaterfall->Transparency = 10;
ser->asWaterfall->Waterfall = true;
ser->asWaterfall->IrregularGrid = true;
ptChart->Aspect->Chart3DPercent = 75;
ptChart->Axis->Depth->Visible = true;
m_ptChart->Aspect->View3D = TRUE;
double x = 0.0;
_bstr_t b;
for (int i = 0; i < 500; i++)
ser->asWaterfall->AddXYZ(i, sin(x + i*0.1), 0.5, b, RGB(0, 0, 255));
x = 2.0;
for (int i = 0; i < 500; i++)
ser->asWaterfall->AddXYZ(i, sin(x + i*0.1), 1, b, RGB(0, 255, 255));
x = 3.0;
for (int i = 0; i < 500; i++)
ser->asWaterfall->AddXYZ(i, sin(x + i*0.1), 1.5, b, RGB(255, 0, 255));
I would like to remove the shaded paint but keep the colored lines as shown in waterfall-desired.jpg.
How do I achieve effect in waterfall-desired.jpg? I am using c++.