Question:
How can I change the color of an E3Chart’s pens at run time?
Solution:
To do so, you must create a script using E3 Viewer’s ShowPickColor method to set the value of the pen’s Color property. For example:
Application.ShowPickColor color if RowData = 0 then 'passes the selected color to the pen Screen.Item("E3Chart1").Pens.Item("Pen1").Color = color else Screen.Item("E3Chart1").Pens.Item("Pen2").Color = color end if
For more details, check the attached demor application developed on E3 version 3.2 build 260.