Procedure

TfrmGraphs.NextPointerStyle

Module

fGraphs

Last Modified

7/15/2014 3:26:36 PM

Visibility

Private

Owner

TfrmGraphs

Declaration

procedure NextPointerStyle(aSeries: TChartSeries; aSerCnt: integer);

Called-By Hierarchy


                                  TfrmGraphs.NextPointerStyle
                                  TfrmGraphs.MakeLineSeries┤ 
                             TfrmGraphs.MakeSeparateItems┤ │ 
                                TfrmGraphs.MakeSeparate┘ │ │ 
                               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┘ │   │ │ 
                         TfrmGraphs.MakeTogetherMaybe┘   │ │ 
                          TfrmGraphs.DisplayData...┘     │ │ 
                         TfrmGraphs.MakeTogetherOnlyLines┤ │ 
                                TfrmGraphs.MakeTogether┘ │ │ 
                      TfrmGraphs.MakeTogetherMaybe...┘   │ │ 
                          TfrmGraphs.MakeTogetherAnyLines┘ │ 
                             TfrmGraphs.MakeTogether...┘   │ 
                                 TfrmGraphs.MakePointSeries┤ 
                          TfrmGraphs.MakeSeparateItems...┤ │ 
                                  TfrmGraphs.MakeDateline┘ │ 
                         TfrmGraphs.MakeTogetherNoLines┤   │ 
                           TfrmGraphs.MakeTogether...┘ │   │ 
                     TfrmGraphs.MakeTogetherAnyLines...┘   │ 
                                   TfrmGraphs.MakeBarSeries┘ 
                          TfrmGraphs.MakeSeparateItems...┤   
                               TfrmGraphs.MakeDateline...┘   

Called-By

Name Declaration Comments
TfrmGraphs.MakeBarSeries procedure MakeBarSeries(aChart: TChart; aTitle, aFileType: string; var aSerCnt: integer); -
TfrmGraphs.MakeLineSeries procedure MakeLineSeries(aChart: TChart; aTitle, aFileType, section: string; var aSerCnt, aNonCnt: integer; multiline: boolean); -
TfrmGraphs.MakePointSeries procedure MakePointSeries(aChart: TChart; aTitle, aFileType: string; var aSerCnt: integer); -


Source

6207  procedure TfrmGraphs.NextPointerStyle(aSeries: TChartSeries; aSerCnt: integer);
6208  var
6209    colors1, colors2, colors3, colors4, colors5, colors6: integer;
6210  begin
6211    colors1 := NUM_COLORS + 1;
6212    colors2 := NUM_COLORS * 2 + 1;
6213    colors3 := NUM_COLORS * 3 + 1;
6214    colors4 := NUM_COLORS * 4 + 1;
6215    colors5 := NUM_COLORS * 5 + 1;
6216    colors6 := NUM_COLORS * 6 + 1;
6217    if aSeries is TLineSeries then
6218    begin
6219      with (aSeries as TLineSeries) do
6220      if aSerCnt < colors1 then
6221        Pointer.Style := psCircle
6222      else if aSerCnt < colors2 then
6223        Pointer.Style := psTriangle
6224      else if aSerCnt < colors3 then
6225        Pointer.Style := psRectangle
6226      else if aSerCnt < colors4 then
6227        Pointer.Style := psStar
6228      else if aSerCnt < colors5 then
6229        Pointer.Style := psDownTriangle
6230      else if aSerCnt < colors6 then
6231        Pointer.Style := psCross
6232      else
6233        Pointer.Style := psDiagCross;
6234    end
6235    else if aSeries is TBarSeries then
6236    begin
6237      with (aSeries as TBarSeries) do
6238      if aSerCnt < colors1 then
6239        BarStyle := bsPyramid
6240      else if aSerCnt < colors2 then
6241        BarStyle := bsInvPyramid
6242      else if aSerCnt < colors3 then
6243        BarStyle := bsArrow
6244      else if aSerCnt < colors4 then
6245        BarStyle := bsEllipse
6246      else
6247        BarStyle := bsRectangle;
6248    end
6249    else if aSeries is TPointSeries then
6250    begin
6251      with (aSeries as TPointSeries) do
6252      if aSerCnt < colors1 then
6253        Pointer.Style := psRectangle
6254      else if aSerCnt < colors2 then
6255        Pointer.Style := psTriangle
6256      else if aSerCnt < colors3 then
6257        Pointer.Style := psCircle
6258      else if aSerCnt < colors4 then
6259        Pointer.Style := psStar
6260      else if aSerCnt < colors5 then
6261        Pointer.Style := psDownTriangle
6262      else if aSerCnt < colors6 then
6263        Pointer.Style := psCross
6264      else
6265        Pointer.Style := psDiagCross;
6266    end;
6267  end;