Hi Clare,
Most likely your axis scales date / time values - if this is the case 2 and 3 are somewhere in the begging of last century as 0 is 1899 in OA date format. Just tested with the following code snippet inside the float bar example report:
using System;
using System.Drawing;
using Nevron.GraphicsCore;
using Nevron.Chart;
using Nevron.ReportingServices;
namespace MyNamespace
{
/// <summary>
/// Sample class
/// </summary>
public class MyClass
{
/// <summary>
/// Main entry point
/// </summary>
/// <param name="context"></param>
public static void RSMain(NRSChartCodeContext context)
{
NChart chart = context.Document.Charts[0];
NAxisStripe s1 = chart.Axis(StandardAxis.PrimaryY).Stripes.Add(new DateTime(2009, 3, 1).ToOADate(), new DateTime(2009, 4, 1).ToOADate());
s1.FillStyle = new NColorFillStyle(Color.FromArgb(125, Color.SteelBlue));
s1.SetShowAtWall(ChartWallType.Back, true);
}
}
}
and it was working OK.
Best Regards,
Nevron Support Team