Jump to content

วิธีเปลี่ยนกราฟแสดงผลขณะ Run-Time


newsanti

Recommended Posts

ทดสอบ unitTest พบปัญหาคือ
1.ถ้าสร้าง Series 2 ตัว ไว้ใน Chart ตัวเดียวกัน หรือ ฟอร์มเดียว หรือเฟรมเดียวกัน
จะไม่มีการแสดงผลกราฟ (จอขาวว่างๆ ) เลย
2. ถ้าสร้าง Series 2 ตัวใน ฟอร์ม หรือ เฟรม เดียวกัน
การเปลี่ยนแปลงผลของ Series ให้เปลี่ยนชนิดกราฟ
ต้องใช้คำสั่งพิเศษ javascript ช่วย ทำให้ยุ่งยาก
-------------------------------
วิธีแก้ไข:
1. สร้าง Frame + Chart + Series ของกราฟที่ต้องการ
เช่น 
-Frame+Chart + BarSeries
-Frame+Chart+ GuageSeries
หรืออื่นๆ
2. ใช้วิธีการเปลี่ยนเฟรมแสดงผลแทน
ลดความยุ่งยากการจัดการแสดงผล และง่ายขึ้น

ChartType.zip

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...