newsanti Posted August 1, 2021 Share Posted August 1, 2021 ทดสอบ unitTest พบปัญหาคือ 1.ถ้าสร้าง Series 2 ตัว ไว้ใน Chart ตัวเดียวกัน หรือ ฟอร์มเดียว หรือเฟรมเดียวกัน จะไม่มีการแสดงผลกราฟ (จอขาวว่างๆ ) เลย 2. ถ้าสร้าง Series 2 ตัวใน ฟอร์ม หรือ เฟรม เดียวกัน การเปลี่ยนแปลงผลของ Series ให้เปลี่ยนชนิดกราฟ ต้องใช้คำสั่งพิเศษ javascript ช่วย ทำให้ยุ่งยาก ------------------------------- วิธีแก้ไข: 1. สร้าง Frame + Chart + Series ของกราฟที่ต้องการ เช่น -Frame+Chart + BarSeries -Frame+Chart+ GuageSeries หรืออื่นๆ 2. ใช้วิธีการเปลี่ยนเฟรมแสดงผลแทน ลดความยุ่งยากการจัดการแสดงผล และง่ายขึ้น เปลี่ยนกราฟแบบ Run-Time.mp4 ChartType.zip 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.