event HistogramBoundsChanged (X as Long, Y as Long, Width as Long, Height as Long)
Occurs when the location and the size of the histogram is changed.

 TypeDescription 
   X as Long A Long expression that specifies the location of the chart's histogram ( client coordinate )  
   Y as Long A Long expression that specifies the location of the chart's histogram ( client coordinate )  
   Width as Long A Long expression that specifies the width of the chart's histogram.  
   Height as Long A Long expression that specifies the height of the chart's histogram.  
The HistogramBoundsChanged event notifies your application when the bounds of the left part of the chart's histogram is changed. The /NET assembly passes the bounds of the chart's histogram as a Rectangle, instead passing all coordinates as X, Y, Width or Height. The HistogramVisible property specifies whether the control displays the  chart's histogram in the bottom side. Changing the HistogramVisible property invokes the HistogramBoundsChanged event with an empty rectangle, if the histogram is being hidden, or the new position if the histogram is shown. For instance, you can hide or show the histogram legend component, when the Width and Heigh parameters are not zero. Use the HistogramBoundsChanged event to resize a component being displayed in the chart's histogram. Use the BeforeDrawPart and AfterDrawPart events to add your custom drawing to be shown in the component.

For instance, you can use the Controls property of the /NET assembly to add new components inside the control, and using the HistogramBoundsChanged event you can control it so they will be displayed in the left part of the chart's histogram as show in the following screen shot:

The "Allocation/Overload, Color" panel is being added as a Panel component that belongs to the form, as shown in the following screen shot:

You can define your legend for the histogram by doing the following: