Custom Contour Levels for C1Chart3D

Posted by: mgriffiths on 14 March 2021, 10:29 am EST

    • Post Options:
    • Link

    Posted 14 March 2021, 10:29 am EST

    I’m trying to set custom contour levels on the C1Chart3D and I can’t figure out how to make it work. I read that I can use ContourData on the GridDataSeries, but I don’t know what format the data should be in.

    Are there any examples of how to set the ContourData?

    Also should the collection editor work for ContourData and ZData? I was unable to add any data

  • Posted 14 March 2021, 7:01 pm EST

    Hi Michael,

    We are sorry but it is not possible to provide custom contour levels in C1Chart3D as it internally calculates the contour levels based on the provided data. However, you can set the contour levels count using the C1Chart3D’s ContourLevelsCount property.

    I read that I can use ContourData on the GridDataSeries, but I don’t know what format the data should be in

    GridDataSeries’s ContourData property contains the contour value for corresponding ZData. For example, contour value for ZData[1, 2] will be present in Contour[1, 2].

    Please refer to the same from the attached sample. (see Chart3DContour.zip)

    Also should the collection editor work for ContourData and ZData? I was unable to add any data

    Since there is no editor available for 2D array and hence it won’t be possible to edit the ContourData/ZData properties in designer. JFYI, CollectionEditor supports editing properties of type ICollection.

    Best Regards,

    Kartik

    Chart3DContour.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels