Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
180
Ultradata chart
posted

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

Parents
No Data
Reply
  • 23930
    Offline posted

    Hi Pedro,

     

    Thank you for posting in our forums.

     

    The chart doesn’t have the capability to resize markers or highlight them out of the box. However what you can do in this case is to use a BubbleSeries with the same X and Y values as the ScatterLineChart and then specify the size of the bubbles by using the RadiusMemberPath property. In that case the bubbles will be the markers of the scatter line chart with a size determined by their radius property. As for the highlighting, you can use the FillScale property of the BubbleSeries. Create a ValueFillScale and set its minimum value and maximum value to 0 and 1 respectively. Add two brushes to the scale for the normal and highlighted colors. Then add a fill member in your data source and set all initial values to 0. Then in the SeriesMouseEnter event set the fill property of the item to 1, instead of zero. This will make the item have the highlighted color. Then in the SeriesMouseLeave event set its value back to 0.

     

    I have attached a sample which demonstrates this suggestion.

     

    Please let me know if you have any additional questions.

    WDC_HighlightMarkersVB.zip
Children