Dear Infragistics Team,
i think my questions are related with "CrosshairLayer which handles the data annotations that follow the mouse" please i really appreciate your help:
1) I wanna resize the markers on the scatter lines series (in the ultradatachart i wanna make bigger makers)
2) I wanna highlight the points inside the chart with movement mouse event (when the crosshair lines pass throught the points chart, the point chart hightlight).
can you helpme on vb.net sample?. I really appreciate your help.
Sincerily,
Pedro Salvador
Hi Pedro,
I am attaching a modified version of my sample, which uses 8000 data points along with the highlight and tooltip chart layers. Note that using a numeric data for the category axis is just the same as using any other data. The chart will simply use the data class’ ToString method to determine the X axis labels.
Let me know if you have any additional questions.
Dear Dimitar,
Thankyou so much for your answer. Regarding your comment "try to convert your scatter series to a category one". Can you helpme with a sample with a category chart (scatter line) If i use the category one, the events "higliht", "tooltips" are possibles?. The idea is to create a graph with 8,000 in real data time. The spacing doesn’t matter. Can you helpme please with a sample on vb.net, please Dimitar?
Pedro
Unfortunately it seems that even though you can compile your solution with these layers even when you are using a scatter chart, they won’t work with it. At this point you have two options – either log a new product idea for highlight layers for scatter series form our product ideas site or try to convert your scatter series to a category one. This is possible if the intervals on one of the axis are equally spaced or their spacing doesn’t matter.
Please let me know if you have any additional questions.
I'm sorry to bother again, but i can't reply the – the tooltip and the item highlight with the scatter data. Do you have any sample on vb.net with scatter line and real data binding. I'm binding like 80000 thounsand points. Can you helpme with the events, please Dimitar?. I really appreciate your help.
Sincerly
The numerical axes don’t support highlight layers, so you will need to remove the code for the CategoryHighlightLayer:
‘Dim categoryHighlight As New CategoryHighlightLayer()
‘categoryHighlight.TargetAxis = xAxis
‘categoryHighlight.BandHighlightWidth = 2
‘categoryHighlight.Thickness = 0
‘categoryHighlight.Brush = SerieImagen.ActualBrush
‘categoryHighlight.TransitionDuration = 1000
‘categoryHighlight.TransitionInDuration = 1000
This layer can be used only for category axes. Still the other two layers – the tooltip and the item highlight – should work properly so you can use them with your scatter data.