Setting Default Pens in Easy Chart when Opening a window

There’s a simpler way:

  1. Set up the EasyChart with the pens you wish to have present on startup, with the appropriate ones enabled and disabled. Then go to the “tagPens” property and open the dataset editor (next to the binding button). Use the button to copy the dataset to the clipboard.

  2. Create a custom dataset property in some convenient place – I usually use the root container. Open the dataset editor and paste the clipboard’s dataset.

  3. Go back to the EasyChart’s tagPens property and click the binding icon, and bind it to the custom dataset you just created.

Your chart will now start up with that set of pens every time, but allow runtime changes. If you are also using database pens or calculated pens, do the same with their configuration datasets.

2 Likes