Hi,
I have two questions about scatterline chart.
1. How to define the tooltip of scatter points of a scatterline chart. It shows the X-Axis value when you point on the scatter points. I want to show follows
"<DATA_VALUE_Y>/<DATA_VALUE_X>"
2. How to define the lines color of a scatterline chart. I want all lines show same color.
Thank you in advance for your reply.
Since there is only one Tooltip FormatString available to set in the UltraChart, you cannot have separate tooltip formats for the line and the scatter points. however, you can gain full control over the tooltip output by implementing the IRenderLabel interface.
http://help.infragistics.com/Help/NetAdvantage/NET/2008.3/CLR2.0/html/Chart_Customize_Labels_Using_the_IRenderLabel_Interface.html
as for the coloring, there are many ways to color the data points in a chart. the settings can be found under the ColorModel property. alternatively, you can use the EventArgs in the FillSceneGraph or ChartDrawItem events to apply coloring at runtime using your own logic.
Any suggestion? Thank you.
I want to clear my questions.
I know I can add
UltraChart1.Tooltips.FormatString =
"<DATA_VALUE_Y>/<DATA_VALUE_X>";
to show tooltip for each point of scatterline chart. But I want to add tooltip for only scatter points not for line points. And is there any way that the line of scatterline chart could be generated smoothly without those pots?
Thank you.
Steven