Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I increase the number of points in CWGraph for Chart drawing?

I am drawing a chart with ChartY method in CWGraph. I am C# user and using C++ components. If I draw points in the chart, it starts to flow after drawing 200 points.

I guess there should be property that controls the number of points in the chart. However, I could not find it. Please teach me.
0 Kudos
Message 1 of 4
(3,869 Views)
You can configure this with the CWGraph.ChartLength property. This is settable in the property pages via the Graph tab, check Fixed in the chart history box (notice that the default is 200, which is consistent with the results that you were seeing), then set it to whatever you like.

Since you're developing with C#, you should consider using the native .NET Windows Forms graph controls that are available in Measurement Studio 7.0 and higher. With the .NET graphs, you can configure this on a plot-by-plot basis via the HistoryCapacity property. See the following links for more information on the Measurement Studio Windows Forms controls:



- Elton
0 Kudos
Message 2 of 4
(3,868 Views)
Thank you very much for your kind answer. I succeeded in increaing the number of points.

By the way, I gave up to use the native .NET Windows Forms graph controls due to the following three reasons. (I am using Version 7.0).

1. Korean characters as Y-Axis caption is displayed in incorrect way. It is rotated in 180 degree.
2. Update rate seems to be low compared to C++ components at least in my application.
3. If I configure Y-Axis, "Log, Fixed, Min: 0.0000001, Max 0.001", than the display form gives error in my application.

Althogh above errors may occur due to my mistakes in my program, but I had no time to follow up. Anyway, until now, C++ components are not bad for my application.

Thank you for your suggestion, and I hope my experience also
helps you.

Youngkey
0 Kudos
Message 3 of 4
(3,868 Views)
Thanks for the response - your feedback is helpful. I do not know Korean, so I can not verify the first issue, but I will file a report to investigate this further. The second issue has been significantly improved in Measurement Studio 7.1, and the third issue has been fixed in Measurement Studio 7.1.

Hopefully you will find your next experience with the Measurement Studio .NET Windows Forms controls to be better. Please continue to post any questions or issues that you have as you've done here and we will either provide you with a workaround or file a report to ensure that it's fixed in a future release. Thanks again.

- Elton
0 Kudos
Message 4 of 4
(3,869 Views)