Menu 'ChartLongMenu'
Begin
     Popup '文件[&F] {F}'
     Begin
          MenuItem '新建[&N]...'                    'Client:CreateNewDocument(SingleDocument=True)'
          MenuItem '新建设计[&G]...'                Client:CreateNewDocument
          MenuItem '打开[&O]...'                    Client:OpenDocument
          MenuItem '关闭[&C]'                       Client:CloseDocument
          MenuItem '关闭设计[&D]'                   Client:CloseProject
          MenuItem SEPARATOR
          MenuItem '保存[&S]'                       Client:SaveDocument
          MenuItem '另存为[&A]'                     'Client:SaveDocumentAs(Action=SaveAs)'
          MenuItem '保存副本为[&Y]'                 Client:SaveDocumentAs
          MenuItem '保存全部[&L]'                   Client:SaveAllDocuments
          MenuItem SEPARATOR
          MenuItem '设置打印机[&R]...'              Chart:SetupPrinter
          MenuItem '打印[&P]'                       Chart:PrintDocument
          MenuItem SEPARATOR
          MenuItem '退出[&X]'                       Client:QuitFromEDAClient
     End
     Popup '编辑[&E] {E}'
     Begin
          MenuItem '复制[&C]\tCtrl+Ins'             Chart:Copy
          MenuItem '粘贴[&P]\tShift+Ins'            Chart:Paste
     End
     Popup '查看[&V] {V}'
     Begin
          MenuItem '设计管理器[&M]'                 Client:ToggleDocumentManager
          MenuItem SEPARATOR                        
          MenuItem '状态栏[&S]'                     Client:ToggleClientStatusBar
          MenuItem '命令状态栏'                     Client:ToggleProcessStatusBar
          MenuItem SEPARATOR
          MenuItem '主工具条[&M]'                   'Client:CustomizeResources(ToggleToolbar=统计图工具|$Description=打开或关闭主工具条)'
          MenuItem '统计图类型工具条[&C]'           'Client:CustomizeResources(ToggleToolbar=统计图类型工具|$Description=打开或关闭统计图类型工具条)'
     End
     Popup 'Fo&rmat {R}'
     Begin
          MenuItem '图表区[&C]...'                  Chart:SetupChart
          MenuItem '绘图区[&P]...'                  Chart:SetupPlot
          MenuItem SEPARATOR
          Popup '轴[&A]... {A}'
          Begin
               MenuItem '轴[&A]...'                 Chart:SetupAxis
               MenuItem '标签[&L]...'               Chart:SetupAxisLabel
               MenuItem '标题[&T]...'               Chart:SetupAxisTitle
          End
          Popup '序列[&I]...{S}'
          Begin
               MenuItem '序列[&S]...'               Chart:SetupSeries
               MenuItem '标记[&L]...'               Chart:SetupSeriesLabel
               MenuItem '数据点[&P]...'             Chart:SetupSeriesPoints
               MenuItem '数据点标记[&D]... '        Chart:SetupSeriesPointsLabel
          End
          MenuItem SEPARATOR
          MenuItem '标题[&T]...'                    Chart:SetupTitle
          MenuItem '图例[&L]...'                    Chart:SetupLegend
          MenuItem '脚注[&F]...'                    Chart:SetupFootnote
          MenuItem SEPARATOR                        
          MenuItem '统计图向导[&Z]...'              Chart:RunChartWizard
          Popup '2D 统计图[&2] {2}'                 
          Begin                                     
              MenuItem '直线图[&S]'                 'Chart:SetupPlot(ChartType=2DLine|$Description=设置统计图类型为 2D Line)'
              MenuItem '条形图[&S]'                 'Chart:SetupPlot(ChartType=2DBar|$Description=设置统计图类型为 2D Bar)'
              MenuItem '选区[&A]'                   'Chart:SetupPlot(ChartType=2DArea|$Description=设置统计图类型为 2D Area)'
              MenuItem '饼图[&P]'                   'Chart:SetupPlot(ChartType=2DPie|$Description=设置统计图类型为 2D Pie)'
              MenuItem '阶梯图[&S]'                 'Chart:SetupPlot(ChartType=2DStep|$Description=设置统计图类型为 2D Step)'
              MenuItem '甘特图[&G]'                 'Chart:SetupPlot(ChartType=2DGantt|$Description=设置统计图类型为 2D Gantt)'
              MenuItem 'XY轴[&X]'                   'Chart:SetupPlot(ChartType=2DXY|$Description=设置统计图类型为 2D XY)'
              MenuItem '两极图[&O]'                 'Chart:SetupPlot(ChartType=2DPolar|$Description=设置统计图类型为 2D Polar)'
              MenuItem '雷达图[&R]'                 'Chart:SetupPlot(ChartType=2DRadar|$Description=设置统计图类型为 2D Radar)'
              MenuItem '汽泡图[&U]'                 'Chart:SetupPlot(ChartType=2DBubble|$Description=设置统计图类型为 2D Bubble)'
              MenuItem '高低图[&I]'                 'Chart:SetupPlot(ChartType=2DHiLo|$Description=设置统计图类型为 2D HiLo)'
              MenuItem '组合图[&C]'                 'Chart:SetupPlot(ChartType=2DCombination|$Description=设置统计图类型为 2D Combination)'
              MenuItem '水平条状图[&H]'             'Chart:SetupPlot(ChartType=2DHorizontalBar|$Description=设置统计图类型为 2D Horizontal Bar)'
              MenuItem '轮廓图[&N]'                 'Chart:SetupPlot(ChartType=2DContour|$Description=设置统计图类型为 2D Contour)'
          End
          Popup '3D 统计图[&3] {3}'
          Begin
              MenuItem '直线图[&S]'                 'Chart:SetupPlot(ChartType=3DLine|$Description=设置统计图类型为 3D Line)'
              MenuItem '条形图[&S]'                 'Chart:SetupPlot(ChartType=3DBar|$Description=设置统计图类型为 3D Bar)'
              MenuItem '选区[&A]'                   'Chart:SetupPlot(ChartType=3DArea|$Description=设置统计图类型为 3D Area)'
              MenuItem '饼图[&P]'                   'Chart:SetupPlot(ChartType=3DPie|$Description=设置统计图类型为 3D Pie)'
              MenuItem '阶梯图[&S]'                 'Chart:SetupPlot(ChartType=3DStep|$Description=设置统计图类型为 3D Step)'
              MenuItem '甘特图[&G]'                 'Chart:SetupPlot(ChartType=3DGantt|$Description=设置统计图类型为 3D Gantt)'
              MenuItem '圆环图[&D]'                 'Chart:SetupPlot(ChartType=3DDoughnut|$Description=设置统计图类型为 3D Doughnut)'
              MenuItem '组合图[&C]'                 'Chart:SetupPlot(ChartType=3DCombination|$Description=设置统计图类型为 3D Combination)'
              MenuItem 'Clustered Bar[&U]'          'Chart:SetupPlot(ChartType=3DClusteredBar|$Description=设置统计图类型为 3D Clustered Bar)'
              MenuItem '水平条状图[&H]'             'Chart:SetupPlot(ChartType=3DHorizontalBar|$Description=设置统计图类型为 3D Horizontal Bar)'
              MenuItem '平面图[&R]'                 'Chart:SetupPlot(ChartType=3DSurface|$Description=设置统计图类型为 3D Surface)'
          End
     End
     Popup '窗口[&W] {W}'
     Begin
          MenuItem '平铺[&T]\tShift+F4'             Client:TileAllOpenDocuments
          MenuItem '层叠[&C]\tShift+F5'             Client:CascadeAllOpenDocuments
          MenuItem SEPARATOR                        
          MenuItem '水平平铺[&H]'                   'Client:TileAllOpenDocuments(Mode=Horizontal)'
          MenuItem '垂直平铺[&V]'                   'Client:TileAllOpenDocuments(Mode=Vertical)'
          MenuItem SEPARATOR                        
          MenuItem '排列为图标[&I]'                 Client:WindowArrangeIcons
          MenuItem '关闭全部[&A]'                   Client:CloseAllOpenDocuments
     End
     Popup '帮助[&H] {H}'
     Begin
          MenuItem '内容[&C]'                       'Client:RunHelpTopic(FileName=\Help\Protel.hlp|Topic=contents)'
          MenuItem SEPARATOR                        
          MenuItem '工作在统计图[&W]'               'Client:RunHelpTopic(FileName=\help\vcfiu.hlp|Topic=chart_terminology)'
          MenuItem '参考[&R]'                       'Client:RunHelpTopic(FileName=\help\Chart.hlp|Topic=Contents)'
          MenuItem SEPARATOR
          Popup '鼠标右键[&R] {Right_Click}'
          Begin
               MenuItem '图表区[&C]...'             Chart:SetupChart
               MenuItem '绘图区[&P]...'             Chart:SetupPlot
               MenuItem SEPARATOR                   
               Popup '轴[&A]... {A}'                
               Begin                                
                    MenuItem '轴[&A]...'            Chart:SetupAxis
                    MenuItem '标签[&L]...'          Chart:SetupAxisLabel
                    MenuItem '标题[&T]...'          Chart:SetupAxisTitle
               End
               Popup '序列[&I]...{S}'
               Begin
                    MenuItem '序列[&S]...'          Chart:SetupSeries
                    MenuItem '标记[&L]...'          Chart:SetupSeriesLabel
                    MenuItem '数据点[&P]...'        Chart:SetupSeriesPoints
                    MenuItem '数据点标记[&D]... '   Chart:SetupSeriesPointsLabel
               End
               MenuItem SEPARATOR
               MenuItem '标题[&T]...'               Chart:SetupTitle
               MenuItem '图例[&L]...'               Chart:SetupLegend
               MenuItem '脚注[&F]...'               Chart:SetupFootnote
               MenuItem SEPARATOR                   
               MenuItem '统计图向导[&Z]...'         Chart:RunChartWizard
               Popup '2D 统计图[&2] {2}'
               Begin
                    MenuItem '直线图[&S]'           'Chart:SetupPlot(ChartType=2DLine|$Description=设置统计图类型为 2D Line)'
                    MenuItem '条形图[&S]'           'Chart:SetupPlot(ChartType=2DBar|$Description=设置统计图类型为 2D Bar)'
                    MenuItem '选区[&A]'             'Chart:SetupPlot(ChartType=2DArea|$Description=设置统计图类型为 2D Area)'
                    MenuItem '饼图[&P]'             'Chart:SetupPlot(ChartType=2DPie|$Description=设置统计图类型为 2D Pie)'
                    MenuItem '阶梯图[&S]'           'Chart:SetupPlot(ChartType=2DStep|$Description=设置统计图类型为 2D Step)'
                    MenuItem '甘特图[&G]'           'Chart:SetupPlot(ChartType=2DGantt|$Description=设置统计图类型为 2D Gantt)'
                    MenuItem 'XY轴[&X]'             'Chart:SetupPlot(ChartType=2DXY|$Description=设置统计图类型为 2D XY)'
                    MenuItem '两极图[&O]'           'Chart:SetupPlot(ChartType=2DPolar|$Description=设置统计图类型为 2D Polar)'
                    MenuItem '雷达图[&R]'           'Chart:SetupPlot(ChartType=2DRadar|$Description=设置统计图类型为 2D Radar)'
                    MenuItem '汽泡图[&U]'           'Chart:SetupPlot(ChartType=2DBubble|$Description=设置统计图类型为 2D Bubble)'
                    MenuItem '高低图[&I]'           'Chart:SetupPlot(ChartType=2DHiLo|$Description=设置统计图类型为 2D HiLo)'
                    MenuItem '组合图[&C]'           'Chart:SetupPlot(ChartType=2DCombination|$Description=设置统计图类型为 2D Combination)'
                    MenuItem '水平条状图[&H]'       'Chart:SetupPlot(ChartType=2DHorizontalBar|$Description=设置统计图类型为 2D Horizontal Bar)'
                    MenuItem '轮廓图[&N]'           'Chart:SetupPlot(ChartType=2DContour|$Description=设置统计图类型为 2D Contour)'
               End
               Popup '3D 统计图[&3] {3}'
               Begin
                    MenuItem '直线图[&S]'            'Chart:SetupPlot(ChartType=3DLine|$Description=设置统计图类型为 3D Line)'
                    MenuItem '条形图[&S]'            'Chart:SetupPlot(ChartType=3DBar|$Description=设置统计图类型为 3D Bar)'
                    MenuItem '选区[&A]'              'Chart:SetupPlot(ChartType=3DArea|$Description=设置统计图类型为 3D Area)'
                    MenuItem '饼图[&P]'              'Chart:SetupPlot(ChartType=3DPie|$Description=设置统计图类型为 3D Pie)'
                    MenuItem '阶梯图[&S]'            'Chart:SetupPlot(ChartType=3DStep|$Description=设置统计图类型为 3D Step)'
                    MenuItem '甘特图[&G]'            'Chart:SetupPlot(ChartType=3DGantt|$Description=设置统计图类型为 3D Gantt)'
                    MenuItem '圆环图[&D]'            'Chart:SetupPlot(ChartType=3DDoughnut|$Description=设置统计图类型为 3D Doughnut)'
                    MenuItem '组合图[&C]'            'Chart:SetupPlot(ChartType=3DCombination|$Description=设置统计图类型为 3D Combination)'
                    MenuItem 'Clustered Bar[&U]'     'Chart:SetupPlot(ChartType=3DClusteredBar|$Description=设置统计图类型为 3D Clustered Bar)'
                    MenuItem '水平条状图[&H]'        'Chart:SetupPlot(ChartType=3DHorizontalBar|$Description=设置统计图类型为 3D Horizontal Bar)'
                    MenuItem '平面图[&R]'            'Chart:SetupPlot(ChartType=3DSurface|$Description=设置统计图类型为 3D Surface)'
               End
          End
          MenuItem '关于[&S]'  Client:HelpAbout
     End
End

HotKeyTable ChartHotKeys
Begin
     Key Chart:Redo                              Backspace  Ctrl                EndKey
     Key Chart:Undo                              Backspace  Alt                 EndKey
     Key Chart:Paste                             Insert     Shift               EndKey
     Key Chart:Copy                              Insert     Ctrl                EndKey
     Key Chart:Cut                               Delete     Shift               EndKey
     Key Chart:Paste                             V          Ctrl                EndKey
     Key Chart:Copy                              C          Ctrl                EndKey
     Key Chart:Cut                               X          Ctrl                EndKey
     Key Chart:Clear                             Delete     Ctrl                EndKey
     Key 'Client:RunHelpTopic(FileName=\Help\Protel.hlp|Topic=contents)'   F1         EndKey
     Key Client:TileAllOpenDocuments              F4         Shift              EndKey
     Key Client:CascadeAllOpenDocuments           F5         Shift              EndKey
End

Toolbar ChartTools 'Fixed Top' 1 1
Begin
     Button 'PROJMAN.BMP'  Client:ToggleDocumentManager
     Separator
     Button 'FILEOPEN.BMP' Client:OpenDocument
     Button 'FILESAVE.BMP' Client:SaveDocument
     Button 'PRINT.BMP'    Chart:SetupPrinter
     Separator
     Button 'COPY.BMP'     Chart:Copy
     Button 'PASTE.BMP'    Chart:Paste
     Separator
     Button 'HELP.BMP'     'Client:RunHelpTopic(FileName=\help\Protel.hlp|Topic=contents)'
End

Toolbar ChartTypeTools 'Floating' 100 300
Begin
     Button 'ChartLnk.bmp' 'Chart:RunChartWizard($Description=Run Chart Wizard)'
     Button 'LINE2D.BMP' 'Chart:SetupPlot(ChartType=2DLine|$Description=2D Line)'
     Button 'BAR2D.BMP' 'Chart:SetupPlot(ChartType=2DBar|$Description=2D Bar)'
     Button 'HORBAR2D.BMP' 'Chart:SetupPlot(ChartType=2DHorizontalBar|$Description=2D Horizontal Bar)'
     Button 'STEP2D.BMP' 'Chart:SetupPlot(ChartType=2DStep|$Description=2D Step)'
     Button 'AREA2D.BMP' 'Chart:SetupPlot(ChartType=2DArea|$Description=2D Area)'
     Button 'PIE2D.BMP' 'Chart:SetupPlot(ChartType=2DPie|$Description=2D Pie)'
     Separator
     Button 'LINE3D.BMP' 'Chart:SetupPlot(ChartType=3DLine|$Description=3D Line)'
     Button 'BAR3D.BMP' 'Chart:SetupPlot(ChartType=3DBar|$Description=3D Bar)'
     Button 'HORBAR3D.BMP' 'Chart:SetupPlot(ChartType=3DHorizontalBar|$Description=3D Horizontal Bar)'
     Button 'STEP3D.BMP' 'Chart:SetupPlot(ChartType=3DStep|$Description=3D Step)'
     Button 'AREA3D.BMP' 'Chart:SetupPlot(ChartType=3DArea|$Description=3D Area)'
     Button 'PIE3D.BMP' 'Chart:SetupPlot(ChartType=3DPie|$Description=3D Pie)'
End

