MainPage MembersCPCSilverlight - An implementation of Continuous Parallel Coordinates using Silverlight

The MainPage type exposes the following members.
Constructors

  NameDescription
Public methodMainPage
Initializes a MainPage-instance.
Back to Top
Methods

  NameDescription
Public methodArrow_MouseLeftButtonUp
Handles the MouseLeftButtonUp-event for an Arrow-Image drawn below a parallel coordinate axe. This highlights the selected axe, by giving the axe as well as the arrow another color.
Public methodAxis_MouseLeftButtonUp
Handles the MouseLeftButtonUp-event for a OnlineLine object that represents a parallel coordinate axe. This highlights the selected axe, by giving the axe as well as the arrow another color.
Public methodbtnOpenFile_Click
Handles the opening of a file and passes the relevant info to the DataLoader-class.
Public methodbtnRedraw_Click
Forces a redraw of the interface. Necessary if you changed the Axe-Height and Axe-Spacing sliders.
Public methodbtnSwitch_Click
Starts the switching of axes by calling the relevant functions (SwitchAxes ).
Public methodColorMap_SelectionChanged
Handles the SelectionChanged-event of the ComboBox which is used to apply another colormap to the CPC-effect.
Public methodCpcActivated_Checked
This Checkbox-Checked-Event handles the enabling of the Continuous Parallel Coordinates effect. It changes the line-colors of all OnlinePolylines to OnlineTransparent so they do not hide the CPC-effect. The scatter lines are hidden and a clip-region is defined for the ImageCanvas so only the relevant area of the CPC-image is displayed.
Public methodCpcActivated_Unchecked
This Checkbox-Unchecked-Event handles the disabling of the Continuous Parallel Coordinates effect. It resets the Colors of all PolyLines to the standard color, as well as the display of the Scatter-Lines.
Public methodDrawAxes
This function sets up the parallel coordinate axes themselves, including the possibility to select axes to switch them by registering event-handlers.
Public methodDrawData
This function draws the Polylines that represent the whole parallel coordinate dataset, as well as the scattered lines that are used to generate the Continuous Parallel Coordinate effect.
Public methodInitializeComponent
InitializeComponent
Public methodLabelAxes
This function creates and draws the labels that represent the respective axes name.
Public methodLabelAxesMinMax
This function creates and draws the labels that are rendered above and below the coordinate system which represent the minimum and maximum values of their respective axes.
Public methodParCoords_MouseEnter
This function is called when the user enters an actual data-OnlinePolyline with the mouse cursor. It alters the appearance of the selected Polyline by changing its color and thickness as well as displaying the actual datapoint values.
Public methodParCoords_MouseLeave
This is function is called when the user leaves an actual data-OnlinePolyline with the mouse cursor. It changes its appearance back to normal.
Public methodRender
Capsules the two most important drawing functions, which in turn render the coordinate system as well as the data.
Public methodRenderToBitmap
This function renders the contents of the Canvas to a bitmap in order to apply the CpcEffect.
Public methodSwitchAxes
This function switches the relevant Data-Vectors of the two selected axes and then redraws the entire parallel coordinate system.
Back to Top
Properties

  NameDescription
Public propertyActiveLineEllipses
Gets or sets the currently highlighted Line's ellipses.
Public propertyActiveLineTexts
Gets or sets the currently highlighted Line's textblocks.
Public propertyAxeHeight
Gets or sets the vertical height of the entire parallel coordinate system.
Public propertyAxes
Gets or sets the Axis lines.
Public propertyAxeSpacing
Gets or sets the horizontal spacing between adjacent axes.
Public propertyAxisLabels
Gets or sets the Axis labels.
Public propertyAxisNames
Gets or sets the Axis names.
Public propertyData
Gets or sets the real (unnormalized) data.
Public propertyDataVectors
Gets or sets the number of datarows.
Public propertyFeatureDimensions
Gets or sets the number of dimensions in the multi-variate data domain.
Public propertyMaxAxisLabels
Gets or sets the Maximum-Axis-Value labels.
Public propertyMinAxisLabels
Gets or sets the Minimum-Axis-Value labels.
Public propertyNormalizedData
Gets or sets the normalized data.
Public propertyPCData
Gets or sets the base dataset. This holds all the relevant data read from a data-file.
Public propertyPolylines
Gets or sets the Polylines.
Public propertyScatterLines
Gets or sets the scattered lines.
Back to Top
See Also