The code in the ultrawinchartsimplelayersdemo_cs zip file may have provided enough clues for me to do what I need to do. Didn't make it through any of the four parts of the tutorial yet but I'll go straight for that if I get stuck or hopefully after I'm done! Thanks very much for the link!
Allen
There's a 4 part knowledge base article (KB5432) that has code and a sample project on how to create a custom layer. See if this helps you more:http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=5432
The link to the Primitives overview appears to be broken.
Is there a newer link?
Also, I'm using 7.1 and need to implement ILayer first.
Is there any further and / or more thorough example of the ILayer implementation than that provided at http://help.infragistics.com/Help/NetAdvantage/NET/2008.1/CLR2.0/html/Chart_Writing_a_Layer_Class.html?
Thanks,
You can find an overview of the Primitives here:http://help.infragistics.com/Help/NetAdvantage/NET/2007.3/CLR2.0/html/Infragistics2.Win.UltraWinChart.v7.3~Infragistics.UltraChart.Core.Primitives_namespace.html
When you're dealing with an advanced topic, such as adding custom elements to the chart (even though this has become somewhat easier with introduction of FillSceneGraph event) I would imagine it's difficult to cover everything you can do there. I'm not saying this shouldn't be in the help. In fact, the documentation team is always looking for feedback and ways to add more content.
Most of this information was only used internally (unless you have implemented ILayer) not so long ago. That's part of the reason there are not many help topics on it. I know my opinion is biased simply because I've worked with these controls long enough, but I think it shouldn't be too difficult to take a look at the scenegraph and figure out which primitive represents which elements of the chart. You can always ask questions here and through support.
Max Rivlin"]Your lines should be represented by the Polyline primitives. Check the Row property of the polyline to see which datarow its data came from. This would only apply to the lines that get drawn by the chart, and not the lines you drew yourself using FillSceneGraph. The custom pallette is just a color array. If you know the color index, you can use chart.ColorModel.CustomPallette[index] to get a color.
Your lines should be represented by the Polyline primitives. Check the Row property of the polyline to see which datarow its data came from. This would only apply to the lines that get drawn by the chart, and not the lines you drew yourself using FillSceneGraph.
The custom pallette is just a color array. If you know the color index, you can use chart.ColorModel.CustomPallette[index] to get a color.