Enhance .Net MS Chart Control
Budget: $10 – $30 AUD
I'm seeking a skilled and experienced developer to provide code for interaction of the MS Chart control in .Net, particularly with the hover feature. My objective comprises:
- Highlighting bars: The task involves enhancing the GUI to react to mouse-overs.
- Highlighting legend items: In tandem with bar highlighting, the legend items should also highlight when the cursor is over them.
- Apply a color change on mouse hover: To make the hovered bar and corresponding legend item distinct from the others, they should shift color to black upon hover.
- Border Colour should be BLACK on highlighted item or should be 'WHITE' if not highlighted'.
(both series and legend)
Proficiency in .Net MS Charts is a must....
Some articles i have found.
https://stackoverflow.com/questions/42681433/highlight-one-legenditem-in-winforms-chart
I currently use the following to get ' the series' and Value of a mouse over.
Private Sub Chart1_MouseMove(sender As Object, e As MouseEventArgs) Handles Chart1.MouseMove
Dim h As Windows.Forms.DataVisualization.Charting.HitTestResult = Chart1.HitTest(e.X, e.Y)
'Dim xLegend As Legend = Chart1.Legends
If h.ChartElementType = DataVisualization.Charting.ChartElementType.DataPoint Then
'ToolTipProvider.SetToolTip(Chart1, h.Series.Points(h.PointIndex).XValue & " x " & h.Series.Points(h.PointIndex).YValues(0))
ToolTipProvider.SetToolTip(Chart1, h.Series.Name & " // " & FormatCurrency(h.Series.Points(h.PointIndex).YValues(0)))
'chart1_CustomizeLegend(sender, e)
End If
End Sub
- Highlighting bars: The task involves enhancing the GUI to react to mouse-overs.
- Highlighting legend items: In tandem with bar highlighting, the legend items should also highlight when the cursor is over them.
- Apply a color change on mouse hover: To make the hovered bar and corresponding legend item distinct from the others, they should shift color to black upon hover.
- Border Colour should be BLACK on highlighted item or should be 'WHITE' if not highlighted'.
(both series and legend)
Proficiency in .Net MS Charts is a must....
Some articles i have found.
https://stackoverflow.com/questions/42681433/highlight-one-legenditem-in-winforms-chart
I currently use the following to get ' the series' and Value of a mouse over.
Private Sub Chart1_MouseMove(sender As Object, e As MouseEventArgs) Handles Chart1.MouseMove
Dim h As Windows.Forms.DataVisualization.Charting.HitTestResult = Chart1.HitTest(e.X, e.Y)
'Dim xLegend As Legend = Chart1.Legends
If h.ChartElementType = DataVisualization.Charting.ChartElementType.DataPoint Then
'ToolTipProvider.SetToolTip(Chart1, h.Series.Points(h.PointIndex).XValue & " x " & h.Series.Points(h.PointIndex).YValues(0))
ToolTipProvider.SetToolTip(Chart1, h.Series.Name & " // " & FormatCurrency(h.Series.Points(h.PointIndex).YValues(0)))
'chart1_CustomizeLegend(sender, e)
End If
End Sub