I have a line chart that displays temperature, humidity and barometric pressure. In one day, with samples every 5 minutes, there are a total of 288 data points per sensor. On the Y-Axis, I have Major and Minimum step values set to 10 and 5. This is working nicely.
Issue 1: I would like to make horizontal grid lines appear but with the settings below, I cannot seem to make them appear. If I zoom in really close to the graphic, I see white lines overlaying the vertical grid.
$chart->PlotArea->YAxis->MajorGridLines->Visible = true;
$chart->PlotArea->YAxis->MajorGridLines->Color = "black";
$chart->PlotArea->YAxis->MajorGridLines->Width = 1;
Issue 2: I would like to have vertical major and minor steps at 48 and 12 respectively. I can only see steps at every data point - on this graph - 288 of them. The properties I have set for these are
$chart->PlotArea->XAxis->MajorGridLines->Visible = true;
$chart->PlotArea->XAxis->MinorGridLines->Visible = false;
$chart->PlotArea->XAxis->MajorStep = 48;
$chart->PlotArea->XAxis->MinorStep = 12;
Not sure where I'm going wrong... thanks in advance