Skip to main content
InSource KnowledgeCenter

029855 - How to manipulate Trend activex properties so that only the trend without the tag picker is displayed?

Problem

How to manipulate Trend activex properties so that only the trend without the tag picker is displayed?

Product Version: 9.0

OS: Win 2003

Solution

The script shown below expands the actual chart to fill 100% (width and height) of the available real estate given to the entire graphic. In other words, it is not normally possible to lose the white space around the trend chart where the header and footer and legend is normally displayed, but you can cover it up with the chart itself by using the InnerPlotPosition.Height and Width properties. The following scripting was added to the on show predefined script for the symbol that hosts the iTrend dot net control: aaTrendControl1.Trend.chartImplementation.ChartAreas[0].InnerPlotPosition.Height = 100; aaTrendControl1.Trend.chartImplementation.ChartAreas[0].InnerPlotPosition.Width = 100; The new script was tested and worked. Only the trend chart is displayed.

Close Date: 2009-10-07 15:02:51