anchor.diff:      [{font, [{size, "+2"}], [br, {str, "Extended data (raw)"}, br, br]},
        {term, Ext}].
   
  -histogram(Id, Title, Ext, ReportCfg) ->
  +histogram(Id, Title, Data, ReportCfg) ->
       {show_table, ShowTable} = config_lookup(Id, show_table, ReportCfg),
       {width, Width} = config_lookup(report, width, ReportCfg),
  -    PngFile = ds_graphics:histogram_graph([{xsize, Width-36}], %% FIXME
  -                                          Ext),
  +    PngFile = ds_graphics:histogram_graph([{xsize, Width-40}], %% FIXME
  +                                          Data),
       ds_graphics:gc_image_file(PngFile, ?IMAGE_GC_TIMEOUT),
       Link = config_link(Id, show_table, not ShowTable),
       LinkText = case ShowTable of
                      true  -> "[Hide table]";
                      false -> "[Show table]"
                  end,
  -    [{table, [{width, "100%"},
  -              {cellspacing, 0}],
  +    [{table, [{width, "100%"}, {cellspacing, 0}],
        [{tr, [], [{td, [], [br]}]}, % vskip
         {tr, [],
          [{th, [{align, left}],
  
positive.code:                true  -> 6;
                 false -> 2
             end,
      {table, [{width, "100%"}, {cellspacing, 0}],
       [{tr, [], [{td, [], [br]}]}, % vskip
        {tr, [],
         [{th, [{align, left}, {colspan, Cols}],
           [{font, [{size, "+1"}], [{str, "Extremes"}]}]}]},
        [pt_table(Pt, AttrCols, Cols, ReportCfg) || Pt <- Pts],
        {tr, [], [{td, [], [br]}]}, % vskip
        {tr, [],
         [{th, [{align, left}, {colspan, Cols}],
           [{font, [{size, "+1"}], [{str, "Samples"}]}]}]},
        samples_table(Samples, AttrCols, ReportCfg),
        range_graph(AttrCols, Cols, Pts, Samples, ReportCfg)]}.
  
  pt_table({Pt, Value, PVAttrs}, AttrCols, Cols, ReportCfg) ->
      Data = [value_row({Value, PVAttrs}, AttrCols)],
  
negative.code:       {tr, [],
         [{td, [],
           [{table, [{cellspacing, 0}],
             histogram_data_table(ShowTable, Id, Data, ReportCfg)}]}]}]}].
  
  histogram_data_table(false,_Id,_Data,_ReportCfg) -> [];
  histogram_data_table(true, Id, Data, ReportCfg) ->
  