<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                ## 畫三維圖,就要添加三維類型的序列。 這里我們仍然以折線圖作為范例。右擊控件選擇Properties,在TeeChart Pro Editor選項卡中單擊EditChart,在彈出來的對話框中單擊Add,在3D選項卡中選中Point 3D類型,單擊左下角的倒三角,選擇 No Point風格,如下圖所示。 ![](https://box.kancloud.cn/2016-02-24_56cd85c5dc883.jpg) 下面我們開始添加代碼: ~~~ m_TeeChart.GetAspect().SetView3D(TRUE); //顯示3D效果 for(int i=0; i<20; i++) for(int j=0; j<12; j++) m_TeeChart.Series(0).GetAsPoint3D().AddXYZ(i, j*i, j, NULL, RGB(255,255,0)); //向序列中添加數據,因為這里我們用到Point3D類型的序列,因此用到了GetAsPoint3D這個類數組 ~~~ ![](https://box.kancloud.cn/2016-02-24_56cd85c6012bf.jpg) 顯示Z軸: ~~~ m_TeeChart.GetAspect().SetView3D(TRUE); //顯示3D效果 for(int i=0; i<20; i++) for(int j=0; j<12; j++) m_TeeChart.Series(0).GetAsPoint3D().AddXYZ(i, j*i, j, NULL, RGB(255,255,0)); m_TeeChart.GetLegend().SetVisible(FALSE); //隱藏圖例 m_TeeChart.GetAxis().GetDepth().SetVisible(TRUE); //顯示Z軸 m_TeeChart.GetAxis().GetDepth().GetLabels().SetVisible(TRUE); //顯示Z軸上的坐標 m_TeeChart.GetAxis().GetDepth().GetLabels().SetStyle(0); //設置顯示坐標的風格 ~~~ ![](https://box.kancloud.cn/2016-02-24_56cd85c61ef7b.jpg) Z軸太窄了,我們可以調寬些: ~~~ m_TeeChart.GetAspect().SetChart3DPercent(50); //參數范圍在0~100之間 ~~~ ![](https://box.kancloud.cn/2016-02-24_56cd85c63729a.jpg) 畫柱狀圖與畫折線圖類似,不過添加序列的時候選擇Tower類型序列: ~~~ m_TeeChart.GetAspect().SetView3D(TRUE); for(int i=0; i<5; i++) for(int j=0; j<5; j++) m_TeeChart.Series(0).GetAsTower().AddXYZ(i, j*i, j, NULL, RGB(255,255,0)); //向Tower序列中添加數據 m_TeeChart.GetLegend().SetVisible(FALSE); m_TeeChart.GetAxis().GetDepth().SetVisible(TRUE); m_TeeChart.GetAxis().GetDepth().GetLabels().SetVisible(TRUE); m_TeeChart.GetAxis().GetDepth().GetLabels().SetStyle(0); m_TeeChart.GetAspect().SetChart3DPercent(50); ~~~ ![](https://box.kancloud.cn/2016-02-24_56cd85c65e4b4.jpg)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看