I am using Chartfx.stripe to stripe the weekends of the month, but it is not working properlly when the months are from mulitple years.
Below is the code which i used to stripe the weekends.
Chartfx1 .OpenDataEx COD_STRIPES, UBound(dateWeekEnd), 0
For lngWeekEndCounter = 0 To (UBound(dateWeekEnd) - 1)
Chartfx1.Stripe(intWeekEndCounter).Axis = AXIS_X
Chartfx1 .Stripe(intWeekEndCounter).From = dateWeekEnd(lngWeekEndCounter) - 0.5
Chartfx1.Stripe(intWeekEndCounter).To = dateWeekEnd(lngWeekEndCounter) + 0.5
' Set the Stripe Color.
Chartfx1.Stripe(intWeekEndCounter).Color = RGB(210, 210, 210)
intWeekEndCounter = intWeekEndCounter + 1
For example if the months are from 2008 and 2009, it stripes only the weekends in the months of 2008,nothing is happening in the weekends of the months in 2009.
Please help me out from this issue!!