Trend and Data Analysis Style Properties

The Trend/Data Analysis Style properties are used to set their key graphical and functional style configurations.  

To access and edit these Style properties, select the object on screen to open the Movicon "Properties Window".

 

 

Border

The "Border" property is described in the paragraph on  "Style properties common to Draws and Controls".

 

Trend/Data Analysis Area Gap

The "Gap" property is used to set the gap between the data and its border in pixels.

 

Trend Type

This selection box is used to set the trace scroll type:

 

 

Trend/Data Analysis Title

This option box allows you to display or hide the object's title which can be entered in the objects'  "Title"  property. The title is displayed on the top border or the Trend/Data Analysis objects.

 

Show Break Lines Values Area

This option box allows any breaks that occurred while recording data to be displayed.  Enabling this option, will allow you to see when and for how long the Data Logger did not record. When this property is disabled,  the data will be displayed without any breaks even though in reality the curves show discontinuity.

These Break lines are never shown visible in the Trend at runtime because the Break Line Area's position and size can only be calculated with precision when the Trend loads the data from the Data Logger, therefore, only when switching from run to stop mode, and not the other way round.

 

The Break Lines are shown only when the Trend is in "Stop" mode.

 

Trend Mode

This selection box is used for setting the Trends operating mode type:

 

 

Quality Freeze Mode

This property gives you the option to stop the Trend object's Pen Area from being scrolled in run mode when the quality of one or all the variables linked to the Pens change to the "Bad" quality.

Specifically:

Note: The Pen Quality mode is skipped when Trend's enabling variable is present.  Therefore, the Trend will only be frozen when the Enabling variables obtains the zero value regardless of the quality of the pens' variables and with which Quality Freeze Mode has been set.

 

 

 This property is not available for the Data Analysis object.

 

 

 Invert Draw Direction

This property set in development mode will reverse the direction of the Chart’s composition and the position of the Trend’s Pens while being plotted at runtime. It is also possible to apply this setting at runtime by using the

 "InvertDrawDirection"  property from the "TrendCmdTarget" VBA interface.

 

This property is not available for the "Data Analysis" object.

 

Edit Pens

Enabling this will open the settings window of the  "Pen Properties" assigned to the Trend/Data Analysis.

 

Border

This option box is used to show the border of the Trend/Data Analysis's area where the curves are displayed.

 

Raised Border

This option box is used to show the border of the Trend/Data Analysis's area, where the curves are displayed, with a raised 3D effect.

 

Brush Style

This property allows you to select which brush style to apply to the background of the Trend/Data Analysis's area where the curves are displayed. The list offers various 'hatched' styles.

 

Color

This property allows you to select the background color to apply to the Trend/Data Analysis area where the curves are dislayed.

For further information on selecting colors, please refer to the paragraph on "Color Selections".

 

Data Logger Link

This selection box is used to specify which Data Logger object to link to the Trend/Data Analysis by selecting one from those proposed on the list of Data Loggers inserted in the project.

 

Once the DataLogger has been selected from the list and confirmed, Movicon will automatically add the pens to the Trend in function with the variables associated to the DataLogger.

 

Refresh Pens from DataLogger Link

This refreshes the trend's pen list by retrieving them from the linked DataLogger.

 

Label Data Source

This property is available when a 'Basic Chart' or 'Advanced Chart' from the "Toolbox Window" is inserted in a Movicon "Embedded Report". In this case, the Trend's X axis can be selected from any recordset column resulted from the applied data extraction query. In this way, the X axis may represent a time base or any discrete value set. If this field is left empty, the"LocalCol" column, which is the Date and Time column from the table linked to the Trend, will be used for the X axis for default with  milliseconds as well.  The list of selectable fields for this property will be the list of fields resulted by the applied data extraction "query" associated to the Report.  If no query has been defined in the Report, this list will be populated with a list of columns from the linked table.  Any query set in the Trend's  "Query Default" property will not have any effect on  generating the list of fields shown in the X Axis Data Source property.

 

Page Prev. Button

This selection provides the command button for scrolling the previous Trend page. The command is only available when the Trend is in Pause mode.

This command changes its role in the Data Analysis object according to the display interval type selected.

The same command can be executed with the "PagDown" key.

 

Prev. Button

This selection provides the command button which is used to scroll the Trend's previous recording.

This command changes its role  in the Data Analysis object according to the display interval type selected.

This command is only available when the Trend is in Pause mode.

 

Pause-Run Button

This selection provides the command button which is used to switch over from Run mode to Pause mode and viceversa.

The same command can be executed with the "S" key.

 

Next Button

This selection provides the command button which is used to scroll the Trend's next recording.

This command changes its role in the Data Analysis object according to the displayed range type selected.

This command is only available when the Trend is in Pause mode.

 

Page Next Button

This selection provides the command button which is used to scroll to the next page in the Trend. This command is only available when the Trend is in Pause mode.

This command changes its role in the Data Analysis object according to the selected and displayed range type.

The same command can be executed with the "PagUp" key.

 

Expand Button

This selection provides the command button used to expand the Trend/Data Analysis area to its maximum size. This command hides the scale, the pen area, legend area, and buttons etc., and expands the display area of the curves to its maximum size. To return back to the original size, use the "F2" key or double click the mouse on the Trend/Data Analysis area. The same command can be executed with the "F" key.

 

The Trend area can also be expanded/compressed by double clicking on it.  This command is NOT available when the project is running on touch screen systems or when the Trend/Data Analysis is in Zoom or data Measuring mode.

 

Zoom Button

Selecting this option will make the Zoom command button available for zooming in and out of the Trend/Data Analysis area.  This can also be done by using the "Z" key.

The Zoom command works in this way:

Once pressing the button, the mouse can be used together with the arrow keys to enlarge the Trend/Data Analysis area.  If at this point, you wish to enlarge the curve even further, simply select the part to be enlarged again.  To exist from Zoom mode in order to analyse data by using the cursor, simply press the Zoom button again, or press the "ESC" key.  In this situation, where the zoom is no longer active, press the "ESC" key to restore the curve to its original size.  

For further information about the Zoom functionality and the zoom commands which can be used, please refer to the paragraph on: "Zoom Management".

 

Activating the zoom command for the  Data Analysis object will automatically deactivate the  "<<", "<", ">", ">>" buttons.  To reactivate these  buttons, simply select the time range you wish to display.

 

Measure Button

Selecting this option will make the Measure Button available for performing measuring operations in the Data Analysis object. This command can also be executed by using the "M" key.

The measure mode allows you to to select a pair of points in the same curve, or different curves, and view the delta X  and delta Y values on a ruler. The delta X value corresponds to the time ratio/difference between one point and the next, while the delta Y delta corresponds to value difference of the two points.

In order to select the two points after having activated the measure function, you must click on the first point of the curve and keep the mouse key pressed down and move to the second point and then release. The two horizontal and vertical lines will remain visible showing the horizontal and vertical delta ratios between the two points.

 

First Point Button

Selecting this option will make the command button move the Data Analysis object's cursor to the first point of the selected time range.

For further information, please refer to pargraph: "Moving The Cursor Around The Chart".

 

Last Point Button

Selecting this option will make the command button move the Data Analysis object's cursor to the last point of the selected time range.

For further information, please refer to pargraph: "Moving The Cursor Around The Chart".

 

Next Point Button

Selecting this option will make the command button move the Data Analysis object's cursor to the next point in respect to the one selected.

For further information, please refer to pargraph: "Moving The Cursor Around The Chart".

 

Previous Point Button

Selecting this option will make the command button move the Data Analysis object's cursor to the previous point in respect to the one selected.

For further information, please refer to paragraph: "Moving The Cursor Around The Chart".

 

Print Button

Selecting this option will provide the command button for printing the Trend/Data Analysis area. The same command can be executed with the "P" key.

 

Show Date Range Buttons

Selecting this option will provide the command buttons which are used to select time ranges to be displayed in the Data Analysis object.  These buttons are:  all, (min.), (hour), (day), (week), (month), (year).

 

Date Range Button Color

This property allows you to select the color to be applied to the Data Analysis object's Date Range Buttons.

For further information on the color selections, please refer to the "Color Selection" paragraph.

 

Show Compare Date Range Buttons

Selecting this option will provide the command buttons which are used to select the date and time ranges to be compared in the Data Analysis object.  These buttons are: none, (min.), (hour), (day), (week), (month), (year).

 

Compare Date Range Button Color

This property allows you to select the color to be applied to the Compare Data Range buttons in the Data Analysis object.

For further information on color selections, please refer to the "Color Selection" paragraph.

 

Measure Text Color

This property allows you to assign a color to the text that indicates the measure value once this feature has been enabled through the "Measure" button.

Take note that the measure text color settings can be retained when public symbols are updated by using the "Preserve Colors" property from the "General" properties group.

 

Date Range

This property allows you to select a date range to display for default when loading the Data Analysis object.  The possible selections are: all,  (min.), (hour), (day), (week), (month), (year).

 

Button Size

The 'Button Size' property is described in the paragraph on "Style Proprieties common to Drawings and Controls".

 

Align Buttons

The 'Align Buttons' property is described in the paragraph on "Style Proprieties common to Drawings and Controls".

 

Pause-Run Button Text

The text you wish to display on the 'Pause-Run Button' is entered here. The default text will be used if left blank.

 

None Button Text

The text you wish to display on the "None Button", which is located on the button bar for selecting the comparison time ranges, is entered here.  If this field is left empty, the text for default will be used instead.

 

All Button Text

The text you wish to display on the "All Button", which is located on the button bar for selecting the comparison time ranges, is entered here. If this field is left empty, the text for default will be used instead.

 

Sec. Button Text

The text you wish to display on the scroll buttons when 'Minute' is selected as the time range, is entered here. If this field is left empty, the text for default will be used instead.

 

Min. Button Text

The text you wish to display on the "Min. Button", which is located on the button bar for selecting the comparison time ranges, is entered here. If this field is left empty, the text for default will be used instead.

 

Hour Button Text

The text you wish to display on the "Hour Button ", which is located on the button bar for selecting the comparison time ranges, is entered here. If this field is left empty, the text for default will be used instead.

 

Day Button Text

The text you wish to display on the "Day Button ", which is located on the button bar for selecting the comparison time ranges, is entered here. If this field is left empty, the text for default will be used instead.

 

Week Button Text

The text you wish to display on the "Week Button ", which is located on the button bar for selecting the comparison time ranges, is entered here. If this field is left empty, the text for default will be used instead.

 

Month Button Text

The text you wish to display on the "Month Button ", which is located on the button bar for selecting the comparison time ranges, is entered here. If this field is left empty, the text for default will be used instead.

 

Year Button Text

The text you wish to display on the "Year Button ", which is located on the button bar for selecting the comparison time ranges, is entered here. If this field is left empty, the text for default will be used instead.

 

Page Prev. Button Text

The text you wish to display on the 'Page Prev. Button' is entered here. The default text will be used if left blank.

When the Data Analysis is used, the text of this button will change according to the time range selected.  If nothing is inserted in this property, Movicon will use string ID that has been inserted in the time range selection button texts properties ("Second Button Text", "Minute Button Text", "Hour Button Text", etc.) to show as this button's text that will change automatically according to time range selected.  If you wish to use custom text for this button, you should insert text by composing it in two parts in this property:  the custom text and the  "%s" parameter which is needed to automatically add the time base to be displayed according to the time ranges selected on the chart.  The "%s" parameter can be inserted either before or after the custom text, depending on where you want it to be positioned.  If you want the custom text to support language changes as well, you will need to insert the text in a String ID.  In this case, the "%s" parameter will have to also be inserted within the strng of each language.

For instance, if you insert the following texts in these properties:

 

Minute Button Text = Minute

Hour Button Text  = Hour

Prev. Page Button Text = Prev. %s

 

and then select  the "minute", time range by using the predisposed button at runtime, the texts that display on the "Minute Button", "Hour Button", and "Prev. Page Button" will be :

 

Minute Button Text = Minute

Hour Button Text  = Hour

Prev. Page Button Text = Prev. Minute

 

and then select the "hour" range by using the predisposed button in runtime, the texts that display on the  "Minute Button", "Hour Button", and "Prev. Page Button" will be:

 

Minute Button Text = Minute

Hour Button Text  = Hour

Prev. Page Button Text = Prev. Hour

 

When a  "Multiplier Factor" is applied to the scroll buttons, this will automatically add the  %dx syntax at the end of the buttons' texts.  For example, if a multiple factor of 5 is applied in the example above, the Prev. Page Button's text will become:

 

Prev. Page Button Text = Prev. Hour 5x

 

Prev. Button Text

The text which is to appear on the 'Prev. Button Text' is entered in this edit box. The default text will be used if left blank.

When the Data Analysis is used, the text of this button will change according to the time range selected.  If nothing is inserted in this property, Movicon will use any string ID that has been inserted in the time range selection button texts properties ("Second Button Text", "Minute Button Text", "Hour Button Text", etc.) to show as this button's text which will change automatically according to time range selected.  If you wish to use custom text for this button, you can insert text composed of two parts in this property:  the custom text and the  "%s" parameter which is needed to automatically add the time base to be displayed according to the time ranges selected on the chart.  The "%s" parameter can be inserted either before or after the custom text, depending on where you want it to be positioned.   If you want the custom text to support language changes as well, you will need to insert the text in a String ID.   In this case, the "%s" parameter will have to also be inserted within the strng of each language.

For instance, if you insert the following texts in these properties:

 

Minute Button Text = Minute

Hour Button Text  = Hour

Prev. Page Button Text = Prev. %s

 

and then select the "minute", time range by using the predisposed button at runtime, the texts that display on the "Minute Button" and "Prev. Page Button" will be:

 

Minute Button Text = Minute

Prev. Page Button Text = Prev. Second

 

and then select the "hour" range by using the predisposed button at runtime, the texts that display on the  "Minute Button", and "Prev. Page Button" will be:

 

Minute Button Text = Minute

Prev. Page Button Text = Prev.  Minute

 

When a  "Multiplier Factor" is applied to the scroll buttons, this will automatically add the  %dx syntax at the end of the buttons' texts.  For example, if the multiple of 5 factor is applied in the example above, the Prev. Page Button's text will become:

 

Prev. Page Button Text = Prev. Minute 5x

 

 

Next Button Text

The text which is to appear on the 'Next Button' is entered in this edit box. The default text will be used if left blank.

When the Data Analysis is used, the text of this button will change according to the time range selected.  If nothing is inserted in this property, Movicon will use any string ID that has been inserted in the time range selection button texts properties ("Second Button Text", "Minute Button Text", "Hour Button Text", etc.) to show as this button's text which will change automatically according to time range selected.  If you wish to use custom text for this button, you can insert text composed of two parts in this property:  the custom text and the  "%s" parameter which is needed to automatically add the time base to be displayed according to the time ranges selected on the chart.  The "%s" parameter can be inserted either before or after the custom text, depending on where you want it to be positioned.   If you want the custom text to support language changes as well, you will need to insert the text in a String ID.  In this case, the "%s" parameter will have to also be inserted within the strng of each language.

For instance, if you insert the following texts in these properties:

 

Second Button Text = Second

Minute Button Text = Minute

Next Button Text = Next %s

 

and then in runtime the "minute", time range is selected using the predisposed button , the texts that will display on the "Minute Button" and "Next Button" are:

 

Minute Button Text = Minute

Next Button Text = Next Second

 

and then in runtime the "hour", time range is selected using the predisposed button , the texts that will display on the "Minute Button" and "Next Button" are:

 

Minute Button Text = Minute

Next Button Text =  Next Minute

 

When a  "Multiplier Factor" is applied to the scroll buttons, this will automatically add the  %dx syntax at the end of the buttons' texts.  For example, if a multiple of 5 factor is applied in the example above, the "Next Button" text will become:

 

Next Button Text =  Next Minute 5x

 

Page Next Button Text

The text which is to appear on the 'Page Next Button' is entered in this edit box. The default text will be used if left blank.

When the Data Analysis is used, the text of this button will change according to the time range selected.  If nothing is inserted in this property, Movicon will use any string ID that has been inserted in the time range selection button texts properties ("Second Button Text", "Minute Button Text", "Hour Button Text", etc.) to show as this button's text which will change automatically according to time range selected.  If you wish to use custom text for this button, you can insert text composed of two parts in this property:  the custom text and the  "%s" parameter which is needed to automatically add the time base to be displayed according to the time ranges selected on the chart.  The "%s" parameter can be inserted either before or after the custom text, depending on where you want it to be positioned.   If you want the custom text to support language changes as well, you will need to insert the text in a String ID.  In this case, the "%s" parameter will have to also be inserted within the strng of each language.

For instance, if you insert the following texts in these properties:

 

Minute Button Text = Minute

Hour Button Text  = Hour

Page Next Button Text = Next %s

 

and then select the "minute", time range byusing the predisposed button at runtime, the texts that display on the "Minute Button", "Hour Button" and "Page Next Button" will be:

 

Minute Button Text = Minute

Hour Button Text  = Hour

Page Next Button Text = Next Minute

 

and then select "hour", time range by using the predisposed button at runtime, the texts that display on the "Minute Button", "Hour Button" and "Page Next Button" will be:

 

Minute Button Text = Minute

Hour Button Text  = Hour

Page Next Button Text = Next Hour

 

When a  "Multiplier Factor" is applied to the scroll buttons, this will automatically add the  %dx syntax at the end of the buttons' texts.  For example, if the multiple of 5 factor is applied in the example above, the "Page Next Button" text will become:

 

Page Next Button Text = Next Hour 5x

 

Expand Button Text

The text you wish to display on the 'Expand Button' is entered in this edit box. The default text will be used if left blank.

 

Zoom Button Text

The text you wish to display on the "Zoom Button" is entered in this edit box. The default text is used when this field is left blank.

 

Measure Button Text

TThe text you wish to display on the "Measure Button" is entered in this edit box. The default text is used when this field is left blank.

 

Print Button Text

The text you wish to display on the 'Print Button' is entered in this edit box. The default text will be used if left blank.

 

First Point Button Text

The text you wish to display on the "First Point Button" is entered in this editbox. The default text will be used if this field is left empty.

 

Last Point Button Text

The text you wish to display on the "Last Point Button" is entered in this editbox. The default text will be used if this field is left empty.

 

Next Point Button Text

The text you wish to display on the "Next Point Button" is entered in this editbox. The default text will be used if this field is left empty

 

Previous Point Button Text

The text you wish to display on the "Previous Point Button" is entered in this editbox. The default text will be used if this field is left empty

 

Default Filter

This edit box is used to enter a text string containing the data filter function in the standard SQL language on data to be selected from the Database.  For further information, please refer to the section on   "Default Filter".

 

Default Sort

This edit box is used to enter a text string containing the sort function in the standard SQL language on data to be selected from the Database.  For further information, please refer to the section on   "Default Filter".

Default Query

This edit box is used to enter a text string containing the query in the standard SQL language on data to be selected from the Database.  For further information, please refer to the section on   "Default Filter".

 

See Also