Ren Jhang
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee
  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    --- tags: 《研華 Advantech》 --- ![](https://i.imgur.com/JORnn3y.png =150x) # WISE-PaaS 操作實驗手冊(02) --- :::spoiler **Guide Links 點擊展開目錄** [TOC] ::: --- --- # :seedling:此次目標 用Dashboard把上傳的資料顯示出來。 ![](https://i.imgur.com/VdC5zM2.png) ![](https://i.imgur.com/jibsJLC.png) --- --- # :seedling:在Dashboard完成視覺化的設置 1. 了解Dashboard: WISE-PaaS的Dashboard僅作為顯示資料數據而使用,因此不會有數據後處理的部分;如需簡單的數據後處理,在DataHub建立Tag時即可設置 2. 進入[Dashboard](dashboard-ruiguang-ews.education.wise-paas.com) 3. 依照下方說明依序完成設置 ## 新增/設定好Dashboard要用到的Data Source <font color="#f00">(請先確認你的DataHub有上傳過上週範例給予的數據)</font> + 新增設置&確認Data Source ![](https://i.imgur.com/C5sv3FS.png =x330) ![](https://i.imgur.com/5Ld5ZEq.png) ![](https://i.imgur.com/1W6g3cF.png) 這邊要導入的數據是從DataHub來的,因此輸入的網址是DataHub的網址 URL是`https://portal-datahub-ruiguang-ews.education.wise-paas.com` ![](https://i.imgur.com/Ji0uBMb.png) + 創建Folder <font color="#f00">命名規則為"`Student_學號`"</font> ![](https://i.imgur.com/PNwdhXf.png) + 在Folder內創建Dashboard ![](https://i.imgur.com/H6t8Cz4.png) \ <font color="#f00">**不要忘記儲存、命名、把Dashboard放在你自己的資料夾裡**</font> **命名請打學號** ![](https://i.imgur.com/mVE5cDU.png) --- ## 設定好Advanced Datatable: Data History (即圖中的白色框框區塊) ![](https://i.imgur.com/xZMFMTz.png) ### 先訂好Query ![](https://i.imgur.com/OBQ7xwH.png) ※不是用自己的資料源的話,就先選Teaching ![](https://i.imgur.com/JhwrWNv.png) 新增好要顯示的欄位 ![](https://i.imgur.com/coAVqLT.png) ### 然後訂好Visualization 找到<mark>Advanced Datatable</mark>,點兩下 ![](https://i.imgur.com/ql2K0UV.png) - <mark>**基礎設定**</mark> 在Visualization這邊,最上方第一區塊基礎設定 (即包含 Data, Paging, Search, Math的這一區塊) ![](https://i.imgur.com/Qd5jUc4.png) 打開Search Control ![](https://i.imgur.com/x9TdFL4.png) - <mark>**Display設定**</mark> 在Visualization這邊,第二區塊 (包含Font, Color, Display, Setting, Separate, Merging) * **Color** & **Display** : 選擇Color中Font Color和Title Background的顏色 打開Display中的Row Numbers ![](https://i.imgur.com/NdaBTYd.png) * **Setting** : 關上Setting中的Row Borders 打開Setting中的Cell Borders 打開Setting中的Compact Rows ![](https://i.imgur.com/BXvEbQl.png) * **Merging** : ![](https://i.imgur.com/Q0bfZzL.png) 1. 找到Display 2. 找到Merging 3. 點擊Add Name,會看到下圖 ![](https://i.imgur.com/cPpMahE.png) 4. 在Start選擇Cold Water Consumption 5. 在End選擇Total Water Consumption 6. 在Name輸入WaterConsumption 7. 點擊Merging - <mark>**Column Styles設定**</mark> 在Visualization這邊,第三區塊 (藉由新增欄位設定的方式一一修改該欄位的外觀 ex.Options/Styles/Type/Thresholds) ![](https://i.imgur.com/XwBYN1D.png) 1. 到Column Style這個頁面 2. 點擊Add 3. 選擇要變更Style的欄位 4. 讓標題與數字置中(選Center) 5. 選擇顏色(冷→藍, 溫→橘, 熱→紅) - <mark>**Status設定**</mark> 在Visualization這邊,最下方的那一個區塊 (藉由新增方式增加欄位,並設定此一新增欄位之外觀) 新增一欄 Status 選定好作為判斷對象的欄位 設定好條件 然後按ADD ![](https://i.imgur.com/4COf9Qy.png) 之後就會長這樣, 記得把Status Name取為Status Alert, ![](https://i.imgur.com/clEGuL0.png) 接下來再回到Visualization的第三個區塊:Column Styles 新增Status此一欄位的設定 ![](https://i.imgur.com/vszJYhH.png) ### 再來訂好General,取好該圖表的標題名稱 * 進入General,在第一個區塊修改此圖表的標題名稱 ![](https://i.imgur.com/RK7xPtU.png) * 儲存你目前的進度 ### 最後回到你的這一個Dashboard主頁,調整此圖表的位置與大小 回到其所屬的Dashboard主頁 ![](https://i.imgur.com/jI82f9Y.png) 調整圖表位置(將滑鼠移到該圖表的標題直接拖曳即可) ![](https://i.imgur.com/B6SOR3e.png) 調整圖表大小(將滑鼠移到該圖表的右下角即可進行調整) ![](https://i.imgur.com/QASnmaq.png) <font color="#f00">**※ 到這裡請務必記得儲存你目前的進度**</font> ### 如果想新增下一個圖表 回到其所屬的Dashboard主頁 ![](https://i.imgur.com/jI82f9Y.png) 按下Add panel就可新增下一個圖表 ![](https://i.imgur.com/g2nVuW9.png) --- ## 設定好Singlestat: Cold Temp/ Warm Temp/ Hot Temp ### 設定好Query (以Cold Temp為例) 由於Singlestat只會顯示一個欄位的值,因此這裡Query只需要設這一個就好 ![](https://i.imgur.com/X4Z60lr.png) ### 外觀等細節設定 - Value ![](https://i.imgur.com/dmxuSfM.png) 1. 到Value 2. Show 選擇Current 3. Unit 選擇Celsius 4. Value打開 5. Thresholds設為 10,20 ![](https://i.imgur.com/MhGNkYu.png) 6. Spark lines 和 Gauge 的show開關打開(打開後下面選項才會跑出來) 7. Min和Max設為溫度(ex:冷水:0-30 溫水31-60) 8. Threshold markers的開關打開 ### 去General取好該圖表的標題名稱 ![](https://i.imgur.com/Gt71w2L.png =x180) <font color="#f00">**※ 到這裡請務必記得儲存你目前的進度**</font> --- ## 設定好Graph: Temp History ### 設定好Query 把需要顯示的這三個溫度加進Query就好 ![](https://i.imgur.com/1hOf70t.png) ### 外觀等細節設定 - 設定折線圖顏色 1.點擊說明文字左側顏色去更改線的顏色 ![](https://i.imgur.com/X0dnlSY.png) - Axes ![](https://i.imgur.com/KJXPukJ.png) 1. 找到Axes 2. 將Y-Min設為0 Y-Max設為100(因為溫度範圍為0-100度) 3. 打開Enable Custom Scale 4. Custom Scale 設為10 minute(用second的話時間會重疊) ### 去General取好該圖表的標題名稱 ![](https://i.imgur.com/Gt71w2L.png =x180) <font color="#f00">**※ 到這裡請務必記得儲存你目前的進度**</font> --- ## 設定好Grouped Bar Chart Panel: Water Usage History ### 設定好Query 把需要顯示的這三個數值加進Query就好 ![](https://i.imgur.com/d3KCRth.png) ### 外觀等細節設定 - Axis ![](https://i.imgur.com/4Hnu6UO.png) 1. 將X Axis 的 Bar Width 改成40 2. Left Y的name設為ml 3. 將Left Y的Auto Interval打開 4. 將Left Y的Decimals設為3 - Style Setting ![](https://i.imgur.com/xttKOKN.png) 1. 找到Style setting 2. Data Name 選擇要改變style之資料 3. 冷溫熱水的Type選擇bar,總和的Type選擇Line 5. Color選擇顏色 6. 填完一個Style若要繼續增加其他資料的Style則點擊Add Style 7. 完成圖 ![](https://i.imgur.com/0M3iLYt.png) ### 去General取好該圖表的標題名稱 ![](https://i.imgur.com/Gt71w2L.png =x180) <font color="#f00">**※ 到這裡請務必記得儲存你目前的進度**</font> --- ## 設定好Pie Chart: Percentage of water ### 設定好Query 把需要顯示的這三個數值加進Query就好 ![](https://i.imgur.com/OU6cFA3.png) ### 外觀等細節設定 - 更改圓餅圖顏色 ![](https://i.imgur.com/YBcRDKn.png) - General ![](https://i.imgur.com/7FttUFD.png) 1. Unit 選擇mL 2. Position 選擇On graph(選了這個才會跑出其他選項) 3. Values Decimals 填 3 4. 打開Show Percentage 5. Percentage Decimals 填 2 ### 去General取好該圖表的標題名稱 ![](https://i.imgur.com/Gt71w2L.png =x180) <font color="#f00">**※ 到這裡請務必記得儲存你目前的進度**</font> --- # :seedling: 驗收 請完成此次授課之步驟與內容。

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully