Home Forums WinForms controls Xceed Chart for WinForms Problem with AreaSeries

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #18862 |

    Hello,

    I have created a graphic 3D where I want to put some solid objects (square/rectangle with a width, height and depth).
    I have got it with the code:

    AreaSeries m_Area1;
    m_Area1 = (AreaSeries)m_Chart.Series.Add(SeriesType.Area);
    m_Area1.MultiAreaMode = MultiAreaMode.Series;
    m_Area1.DataLabels.Mode = DataLabelsMode.None;
    m_Area1.Name = “Area 1”;
    m_Area1.AreaFillEffect.SetSolidColor(Color.OliveDrab);
    m_Area1.AreaBorder.Color = Color.OliveDrab;
    m_Area1.UseXValues = true;
    m_Area1.XValues.Add(4);
    m_Area1.AddXY(1, 10);
    m_Area1.DepthPercent = 90;
    m_Area1.Values.Add(3);

    This code draws an area (square) with x=4 until x=10;
    y from 0 until 1 and then from y=1 until y=3 there is a bent flat. I would like a solid figure (rectangle), but I do not know how I can get it…

    The other problem is that I do not know how I can fix the z position, because the figure it is now in the middle more or less, but I would like for example to fix if from z=3 until z=5 and I was
    looking for some attributes like ZValues, but there is not any unfortunately

    Does someone know how I can solve it?
    Thank you very much!

    Regards!

    Imported from legacy forums. Posted by Juan (had 2102 views)

    Xceed Support
    Member
    Post count: 5658

    To render 3D graphics and solid object, you should use the <a href=”http://doc.xceedsoft.com/products/XceedChart/Shape_Series.html”>ShapeSerie</a&gt;. That way, you will have access to the ZValues.

    Imported from legacy forums. Posted by CharlesB (had 3039 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.