WEBCore and FNCChart hh:nn

I am testing FNChart for WEB

I need the XYLine to enter a TDatetime value on the X-axis and the corresponding value on the Y-axis.

If I increment the day then I get Marks.
If I increment the minutes then I get no marks.

see picture.

here is my test code

inc Day

  ch_DpLog.BeginUpdate;
  for i := 1 to 5 do begin
    tempDateTime := EncodeDateTime(2022,7,  **i**, 12,  10, 35,0);
    ch_DpLog.Series[0].AddXYPoint(tempDateTime,Random(100));
  end;
  ch_DpLog.EndUpdate;

inc min

  ch_DpLog.BeginUpdate;
  for i := 1 to 5 do begin
    tempDateTime := EncodeDateTime(2022,7,  1, 12,  10, **i**,0);
    ch_DpLog.Series[0].AddXYPoint(tempDateTime,Random(100));
  end;
  ch_DpLog.EndUpdate;

what must be set so that I get the minutes marks?

Hi,

We have detected an issue in calculating the auto-units and applied a fix. The next version will address this. You can however, use this code as a workaround

var
  i: Integer;
  tempDatetime: TDateTime;
  s: TTMSFNCChartSerie;
begin
  TMSFNCChart1.BeginUpdate;

  TMSFNCChart1.Clear;
  s := TMSFNCChart1.Series.Add;
  s.AutoXRange := arEnabled;
  s.XValues.AutoUnits := False;
  s.XValues.MinorUnit := 0;
  s.XValues.MajorUnit := 0.000005;
  s.XValues.MajorUnitFormat := 'hh:nn:ss';
  s.XValues.MajorUnitFormatType := vftDateTime;

  for i := 1 to 5 do
  begin
    tempDateTime := EncodeDateTime(2022,7,  1, 12,  10, i,0);
    TMSFNCChart1.Series[0].AddXYPoint(tempDateTime,Random(100));
  end;
  TMSFNCChart1.EndUpdate;
end;

Thanks

that runs