Is there a way to turn off the highlight tool tip for the Histogram line only? I still want the tool tips and highlighting for the columns.
-Ken
Hello,
In order to remove labels and HitTest from line part of histogram chart you should handle OnDataItemOver event of UltraCahrt and add there the following code snippet:
if (e.Primitive is DataPoint)
{
((DataPoint)e.Primitive).Caps = PCaps.None;
}
Let me know if you have any further questions.
That worked...thanks!
BTW: Are there any samples that show how to draw extra lines onto column graphs or histograms? I need to draw some marker lines to represent AUR and other values.
thanks
Hello ,
You could hide some of the X.Label and customize them with IRenderLabelInterface, more about this you could find at the following link:
http://help.infragistics.com/Help/NetAdvantage/WinForms/2010.2/CLR2.0/html/Chart_Customize_Labels_Using_the_IRenderLabel_Interface.html
Thank you for using Infragistics Components.
I actually have another Histogram question :)
How can I keep the X.Label of the histogram from showing up on all columns? I want the labels to be in intervals of 50... (ie 0, 50, 100, 150, 200, ) instead of on every column.
Hello,
I am just checking about the progress of this issue. Let me know If you need my further assistance on this issue?
What you could do is to take a look at the chart sample browser which comes with the installation of the NetAdvantage and there are useful samples and there might be found at "C:\Users\Public\Documents\Infragistics\NetAdvantage 2010.2\Windows Forms\Samples\ FeatureBrowser.exe". And look for “WinChart Sample Explorer ”, when you launch this sample look for Customization -> FillScreenGraph.
Let me know if you need any further assistance.
Thanks Hristo! I will try this out.
BTW: Are there any samples that go over advanced features of the graphs? Like your above sample.