Procedure

TfrmGraphs.MakeTogetherNoLines

Module

fGraphs

Last Modified

7/15/2014 3:26:36 PM

Visibility

Private

Owner

TfrmGraphs

Declaration

procedure MakeTogetherNoLines(aListView: TListView; section: string);

Calls Hierarchy


TfrmGraphs.MakeTogetherNoLines
 ├TfrmGraphs.GraphTypeNum
 └TfrmGraphs.MakeDateline
   ├TfrmGraphs.MakeBarSeries
   │ ├TfrmGraphs.MakeSeriesPoint
   │ ├TfrmGraphs.MakeSeriesInfo
   │ │ ├TfrmGraphs.GetData
   │ │ │ └TfrmGraphs.FMCorrectedDate
   │ │ └TfrmGraphs.NextColor
   │ ├TfrmGraphs.NextPointerStyle
   │ ├TfrmGraphs.FMCorrectedDate
   │ ├TfrmGraphs.HighLow
   │ │ └TfrmGraphs.FMToDateTime
   │ ├TfrmGraphs.InfoMessage
   │ ├TfrmGraphs.MergedLabsSelected
   │ └TfrmGraphs.FixedDates
   ├TfrmGraphs.MakeVisitGanttSeries
   │ ├TfrmGraphs.MakeSeriesPoint
   │ ├TfrmGraphs.MakeSeriesInfo...
   │ ├TfrmGraphs.FMCorrectedDate
   │ ├TfrmGraphs.HighLow...
   │ └TfrmGraphs.FixedDates
   ├TfrmGraphs.MakePointSeries
   │ ├TfrmGraphs.MakeSeriesInfo...
   │ ├TfrmGraphs.NextPointerStyle
   │ ├TfrmGraphs.FMCorrectedDate
   │ ├TfrmGraphs.HighLow...
   │ └TfrmGraphs.TempCheck
   └TfrmGraphs.MakeGanttSeries
     ├TfrmGraphs.MakeSeriesPoint
     ├TfrmGraphs.MakeSeriesInfo...
     ├TfrmGraphs.FMCorrectedDate
     ├TfrmGraphs.HighLow...
     └TfrmGraphs.FixedDates

Called-By Hierarchy


                             TfrmGraphs.MakeTogetherNoLines
                                  TfrmGraphs.MakeTogether┘ 
                           TfrmGraphs.MakeTogetherMaybe┘   
                               TfrmGraphs.DisplayData┘     
                             TfrmFrame.ClearPatient┤       
                           TfrmFrame.SetupPatient┘ │       
                      UpdatePatientInfoForAlert┤   │       
                   TfrmFrame.mnuFileNextClick┘ │   │       
                 TfrmFrame.mnuFileOpenClick┤   │   │       
                     TfrmFrame.UMInitiate┤ │   │   │       
            TfrmFrame.mnuFileNextClick...┤ │   │   │       
            TfrmFrame.mnuFileRefreshClick┤ │   │   │       
            TfrmOrders.CheckOrderStatus┤ │ │   │   │       
        TfrmOrders.mnuActChgEvntClick┤ │ │ │   │   │       
           TfrmOrders.mnuActHoldClick┤ │ │ │   │   │       
         TfrmOrders.mnuActUnholdClick┤ │ │ │   │   │       
          TfrmOrders.mnuActRenewClick┤ │ │ │   │   │       
         TfrmOrders.mnuActChangeClick┤ │ │ │   │   │       
           TfrmOrders.mnuActCopyClick┘ │ │ │   │   │       
                 TfrmMeds.mnuActDCClick┤ │ │   │   │       
                TfrmMeds.CheckMedStatus┘ │ │   │   │       
             TfrmMeds.mnuActHoldClick┤   │ │   │   │       
            TfrmMeds.mnuActRenewClick┤   │ │   │   │       
           TfrmMeds.mnuActUnholdClick┤   │ │   │   │       
           TfrmMeds.mnuActChangeClick┤   │ │   │   │       
             TfrmMeds.mnuActCopyClick┤   │ │   │   │       
           TfrmMeds.mnuActRefillClick┘   │ │   │   │       
                       TfrmFrame.ViewInfo┘ │   │   │       
                    TfrmDCSumm.ViewInfo┤   │   │   │       
                  TfrmConsults.ViewInfo┤   │   │   │       
          TfrmFrame.pnlRemindersMouseUp┤   │   │   │       
           TfrmFrame.RemindersChanged┘ │   │   │   │       
               TfrmFrame.FormCreate┘   │   │   │   │       
                 TfrmFrame.pnlCIRNClick┤   │   │   │       
           TfrmFrame.pnlVistaWebClick┤ │   │   │   │       
                TfrmFrame.FormKeyDown┘ │   │   │   │       
              TfrmFrame.pnlPatientClick┤   │   │   │       
                TfrmFrame.pnlVisitClick┤   │   │   │       
          TfrmFrame.pnlPrimaryCareClick┤   │   │   │       
            TfrmFrame.pnlRemindersClick┤   │   │   │       
             TfrmFrame.pnlPostingsClick┤   │   │   │       
                 TfrmFrame.pnlFlagClick┤   │   │   │       
                   TfrmFrame.laMHVClick┤   │   │   │       
                  TfrmFrame.laVAA2Click┤   │   │   │       
                    TfrmOrders.ViewInfo┤   │   │   │       
                      TfrmMeds.ViewInfo┤   │   │   │       
                   TfrmSurgery.ViewInfo┤   │   │   │       
                     TfrmNotes.ViewInfo┤   │   │   │       
                  TfrmProblems.ViewInfo┘   │   │   │       
          TfrmFrame.mnuFileNotifRemoveClick┤   │   │       
                  TfrmFrame.NextButtonClick┘   │   │       
                TfrmFrame.SetUpNextButton┘     │   │       
          TfrmFrame.mnuFileOpenClick...┤       │   │       
                   TfrmFrame.FormResize┘       │   │       
                 TfrmFrame.ChangeFont┘         │   │       
         TfrmFrame.LoadSizesForUser┤           │   │       
    TfrmFrame.LoadUserPreferences┘ │           │   │       
           TfrmFrame.UMInitiate┘   │           │   │       
         TfrmFrame.mnuFontSizeClick┘           │   │       
                  TfrmFrame.mnuFileOpenClick...┤   │       
               TfrmFrame.AllowCCOWContextChange┤   │       
                TfrmFrame.mnuFileNextClick...┤ │   │       
                TfrmFrame.mnuFileOpenClick...┤ │   │       
       TfrmFrame.mnuFileResumeContextSetClick┘ │   │       
                    TfrmFrame.UpdateCCOWContext┤   │       
                TfrmFrame.mnuFileOpenClick...┤ │   │       
              TfrmFrame.ctxContextorCommitted┤ │   │       
               TfrmFrame.StartCCOWContextor┘ │ │   │       
                     TfrmFrame.FormCreate┘   │ │   │       
       TfrmFrame.mnuFileResumeContextGetClick┘ │   │       
         TfrmFrame.mnuFileResumeContextSetClick┘   │       
                            TfrmReports.ClearPtData┤       
                        TfrmFrame.ClearPatient...┘ │       
                                  TfrmReports.Graph┤       
                       TfrmReports.tvReportsClick┘ │       
                TfrmFrame.lstCIRNLocationsClick┤   │       
                          TfrmFrame.SetUpCIRN┘ │   │       
                  TfrmFrame.SetupPatient...┘   │   │       
                        TfrmReports.DisplayPage┤   │       
                       TfrmReports.LoadTreeView┤   │       
                      TfrmReports.DisplayPage┤ │   │       
         TfrmOptionsReportsDefault.btnOKClick┤ │   │       
      TfrmOptionsReportsDefault.btnResetClick┤ │   │       
       TfrmOptionsReportsCustom.btnApplyClick┘ │   │       
        TfrmOptionsReportsCustom.btnOKClick┘   │   │       
               TfrmReports.ProcessNotifications┤   │       
                      TfrmReports.DisplayPage┘ │   │       
                   TfrmReports.tvReportsKeyDown┤   │       
                TfrmReports.tvProceduresKeyDown┤   │       
                    TfrmReports.chkMaxFreqClick┤   │       
           TfrmOptionsReportsDefault.btnOKClick┤   │       
        TfrmOptionsReportsDefault.btnResetClick┤   │       
      TfrmOptionsReportsCustom.btnApplyClick...┘   │       
                        TfrmGraphs.chkItemsTopClick┤       
                     TfrmGraphs.chkItemsBottomClick┤       
                 TfrmGraphs.mnuPopGraphIsolateClick┤       
                      TfrmGraphs.cboDateRangeChange┤       
                    TfrmReports.lstDateRangeClick┤ │       
                         TfrmReports.GraphPanel┘ │ │       
                         TfrmReports.Graph...┤   │ │       
                TfrmReports.tvReportsClick...┘   │ │       
                            TfrmGraphs.Initialize┤ │       
                      TfrmFrame.ClearPatient...┤ │ │       
                TfrmFrame.mnuToolsGraphingClick┤ │ │       
                         TfrmLabs.grdLabClick┤ │ │ │       
                      TfrmLabs.tvReportsClick┤ │ │ │       
                       TfrmLabs.DisplayPage┤ │ │ │ │       
                      TfrmLabs.LoadTreeView┤ │ │ │ │       
                     TfrmLabs.DisplayPage┤ │ │ │ │ │       
TfrmOptionsReportsCustom.btnApplyClick...┘ │ │ │ │ │       
                TfrmLabs.cmdOtherTestsClick┤ │ │ │ │       
                   TfrmLabs.chkMaxFreqClick┤ │ │ │ │       
              TfrmLabs.ProcessNotifications┤ │ │ │ │       
                     TfrmLabs.DisplayPage┘ │ │ │ │ │       
                                  ..(rec)..┤ │ │ │ │       
                  TfrmLabs.tvReportsKeyDown┤ │ │ │ │       
         TfrmFrame.lstCIRNLocationsClick...┘ │ │ │ │       
                                    ..(rec)..┘ │ │ │       
                     TfrmReports.ClearPtData...┤ │ │       
                           TfrmReports.Graph...┘ │ │       
                              TfrmGraphs.FormShow┤ │       
                TfrmGraphs.btnChangeSettingsClick┤ │       
                 TfrmReports.btnChangeViewClick┘ │ │       
                     TfrmGraphs.CheckExpandedLabs┤ │       
                          TfrmGraphs.ItemsClick┘ │ │       
                    TfrmGraphs.DisplayData...┤   │ │       
               TfrmGraphs.lvwItemsBottomClick┤   │ │       
                   TfrmGraphs.Initialize...┤ │   │ │       
                    TfrmGraphs.CheckContext┤ │   │ │       
                      TfrmGraphs.FormShow┘ │ │   │ │       
               TfrmGraphs.chkDualViewsClick┤ │   │ │       
                 TfrmGraphs.Initialize...┤ │ │   │ │       
                      TfrmGraphs.FormShow┤ │ │   │ │       
                                   Layout┤ │ │   │ │       
                     TfrmGraphs.GetSize┘ │ │ │   │ │       
                  TfrmGraphs.FormShow┘   │ │ │   │ │       
     TfrmGraphs.mnuPopGraphDualViewsClick┤ │ │   │ │       
                TfrmGraphs.ViewSelections┘ │ │   │ │       
          TfrmReports.tvReportsClick...┤   │ │   │ │       
     TfrmGraphs.btnGraphSelectionsClick┘   │ │   │ │       
  TfrmReports.btnGraphSelectionsClick┘     │ │   │ │       
                     TfrmGraphs.GraphSwitch┤ │   │ │       
                     TfrmGraphs.GraphSwap┘ │ │   │ │       
        TfrmGraphs.mnuPopGraphSwapClick┘   │ │   │ │       
                      TfrmGraphs.SplitClick┤ │   │ │       
         TfrmGraphs.mnuPopGraphSplitClick┘ │ │   │ │       
           TfrmGraphs.mnuPopGraphClearClick┤ │   │ │       
                      TfrmGraphs.AutoSelect┤ │   │ │       
                   TfrmGraphs.ViewsChange┘ │ │   │ │       
           TfrmGraphs.lstViewsTopChange┤   │ │   │ │       
             TfrmGraphs.Initialize...┤ │   │ │   │ │       
            TfrmGraphs.GraphSwitch...┤ │   │ │   │ │       
     TfrmGraphs.cboDateRangeChange...┤ │   │ │   │ │       
         TfrmGraphs.ViewSelections...┘ │   │ │   │ │       
        TfrmGraphs.lstViewsBottomChange┘   │ │   │ │       
             TfrmGraphs.Initialize...┤     │ │   │ │       
            TfrmGraphs.GraphSwitch...┤     │ │   │ │       
     TfrmGraphs.cboDateRangeChange...┤     │ │   │ │       
         TfrmGraphs.ViewSelections...┘     │ │   │ │       
            TfrmGraphs.lvwItemsBottomChange┘ │   │ │       
                  TfrmGraphs.lvwItemsTopClick┘   │ │       
                   TfrmGraphs.Initialize...┤     │ │       
                        TfrmGraphs.FormShow┤     │ │       
            TfrmGraphs.chkDualViewsClick...┤     │ │       
                  TfrmGraphs.GraphSwitch...┤     │ │       
                   TfrmGraphs.SplitClick...┤     │ │       
           TfrmGraphs.mnuPopGraphClearClick┤     │ │       
                   TfrmGraphs.AutoSelect...┤     │ │       
           TfrmGraphs.mnuPopGraphResetClick┤     │ │       
                      TfrmGraphs.FormShow┤ │     │ │       
    TfrmGraphs.mnuPopGraphHorizontalClick┤ │     │ │       
      TfrmGraphs.mnuPopGraphVerticalClick┤ │     │ │       
        TfrmGraphs.mnuPopGraphRemoveClick┤ │     │ │       
      TfrmGraphs.mnuPopGraphZoomBackClick┘ │     │ │       
               TfrmGraphs.lvwItemsTopChange┘     │ │       
                        TfrmGraphs.ViewsChange...┤ │       
             TfrmGraphs.mnuPopGraphMergeLabsClick┘ │       
                           TfrmGraphs.ItemsClick...┤       
                          TfrmGraphs.ViewsChange...┤       
                  TfrmGraphs.mnuPopGraphRemoveClick┘       

Calls

Name Declaration Comments
TfrmGraphs.GraphTypeNum function GraphTypeNum(aType: string): integer; -
TfrmGraphs.MakeDateline procedure MakeDateline(section, aTitle, aFileType: string; aChart: TChart; graphtype: integer; var bcnt, pcnt, gcnt, vcnt: integer); -

Called-By

Name Declaration Comments
TfrmGraphs.MakeTogether procedure MakeTogether(aScrollBox: TScrollBox; aListView: TListView; aPadPanel: TPanel; section: string); -


Source

2378  procedure TfrmGraphs.MakeTogetherNoLines(aListView: TListView; section: string);
2379  var
2380    bcnt, gcnt, graphtype, pcnt, vcnt: integer;
2381    aTitle, filetype, typeitem: string;
2382    aGraphItem: TGraphItem;
2383    aListItem: TListItem;
2384  begin
2385    pcnt := 0; gcnt := 0; vcnt := 0; bcnt := 0;
2386    aListItem := aListView.Selected;
2387    while aListItem <> nil do
2388    begin
2389      aGraphItem := TGraphItem(aListItem.SubItems.Objects[3]);
2390      filetype := Piece(aGraphItem.Values, '^', 1);
2391      typeitem := Piece(aGraphItem.Values, '^', 2);
2392      aTitle := filetype + '^' + typeitem + '^' + aListItem.Caption + '^';
2393      graphtype := GraphTypeNum(filetype);
2394      if section = 'top' then
2395        MakeDateline(section, aTitle, filetype, chartDatelineTop, graphtype, bcnt, pcnt, gcnt, vcnt)
2396      else
2397        MakeDateline(section, aTitle, filetype, chartDatelineBottom, graphtype, bcnt, pcnt, gcnt, vcnt);
2398      aListItem := aListView.GetNextItem(aListItem, sdAll, [isSelected]);
2399    end;
2400    if section = 'top' then
2401    begin
2402      scrlTop.Align := alTop;
2403      scrlTop.Height := 1; //pnlScrollTopBase.Height div 4;
2404      pnlDatelineTop.Align := alClient;
2405      pnlDatelineTop.Visible := true;
2406    end
2407    else
2408    begin
2409      scrlBottom.Align := alTop;
2410      scrlBottom.Height := 1; //pnlScrollBottomBase.Height div 4;
2411      pnlDatelineBottom.Align := alClient;
2412      pnlDatelineBottom.Visible := true;
2413    end;
2414  end;