Presentation is loading. Please wait.

Presentation is loading. Please wait.

Click to add text © 2012 IBM Corporation 1 Visualization of View Data Susan L. Cline SWS Visualization.

Similar presentations


Presentation on theme: "Click to add text © 2012 IBM Corporation 1 Visualization of View Data Susan L. Cline SWS Visualization."— Presentation transcript:

1 Click to add text © 2012 IBM Corporation 1 Visualization of View Data Susan L. Cline SWS Visualization

2 © 2012 IBM Corporation 2 Important Disclaimer THE INFORMATION CONTAINED IN THIS PRESENTATION IS PROVIDED FOR INFORMATIONAL PURPOSES ONLY. WHILE EFFORTS WERE MADE TO VERIFY THE COMPLETENESS AND ACCURACY OF THE INFORMATION CONTAINED IN THIS PRESENTATION, IT IS PROVIDED “ AS IS ”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. IN ADDITION, THIS INFORMATION IS BASED ON IBM ’ S CURRENT PRODUCT PLANS AND STRATEGY, WHICH ARE SUBJECT TO CHANGE BY IBM WITHOUT NOTICE. IBM SHALL NOT BE RESPONSIBLE FOR ANY DAMAGES ARISING OUT OF THE USE OF, OR OTHERWISE RELATED TO, THIS PRESENTATION OR ANY OTHER DOCUMENTATION. NOTHING CONTAINED IN THIS PRESENTATION IS INTENDED TO, OR SHALL HAVE THE EFFECT OF: CREATING ANY WARRANTY OR REPRESENTATION FROM IBM (OR ITS AFFILIATES OR ITS OR THEIR SUPPLIERS AND/OR LICENSORS); OR ALTERING THE TERMS AND CONDITIONS OF THE APPLICABLE LICENSE AGREEMENT GOVERNING THE USE OF IBM SOFTWARE. The information on the new product is intended to outline our general product direction and it should not be relied on in making a purchasing decision. The information on the new product is for informational purposes only and may not be incorporated into any contract. The information on the new product is not a commitment, promise, or legal obligation to deliver any material, code or functionality. The development, release, and timing of any features or functionality described for our products remains at our sole discretion. THIS INFORMATION IS BASED ON IBM’S CURRENT PRODUCT PLANS AND STRATEGY, WHICH ARE SUBJECT TO CHANGE BY IBM WITHOUT NOTICE. IBM SHALL NOT BE RESPONSIBLE FOR ANY DAMAGES ARISING OUT OF THE USE OF, OR OTHERWISE RELATED TO, THIS PRESENTATION OR ANY OTHER DOCUMENTATION.

3 © 2012 IBM Corporation 3 Agenda  What is the visualization / charting feature?  Terminology  What is a View?  Prerequisites to create a chart  Anatomy of a chart  Chart types  Demo – creating a view, a bar chart, and the effect of changing chart settings  Creating a view  Creating a chart  Effect of application data type and plot event type on chart output  Summary

4 © 2012 IBM Corporation 4 Visualization / Charting  Allows users to see the attributes of an operator's output port stream graphically  Bar charts, line charts, and tables of stream attributes  Other users can be given permissions on charts  Charts can be “detached” from the console and appear standalone  Charts are rendered in svg in Firefox and Internet Explorer  Charts are dependent on a view for tuple data

5 © 2012 IBM Corporation 5 Terminology  Tuple – an individual piece of data in a stream  Attribute – the name of a field in a tuple  Data stream – a running sequence of tuples  Operator – manipulates the tuple data from the incoming stream and produces an output stream  Job – The SPL application is compiled into an Application Description Language (ADL) file that is used to run the job  Viewable stream - a data stream produced by an output port in a running job that produces tuples  View – an in-memory buffer in SWS that contains tuple data from the output port. Only those attributes defined for the view are contained in the buffer.  Chart – a visual representation of the selected attributes in the tuples for the view associated with the chart.

6 © 2012 IBM Corporation 6 What is a View? JobSWSBrowser Line chart Bar chart Table View  In a running job tuples are sent from the output port of one operator to the input port of the next operator  If a view is defined on an output port, tuples are also sent to the view  The view buffers the tuples in memory in SWS  Each chart that uses a view retrieves data from the view's buffer  To create a chart...

7 © 2012 IBM Corporation 7 Prerequisites to create a Chart  An instance with a running job  The data stream produced by the job must be viewable –A “viewable stream”  The job must contain at least one operator that produces tuples  A view must be created prior to chart creation –Views are created using the SWS console  Most importantly: –Understand the attributes and their data type in the application. –Determine the number of events to plot: “summary” or “scrolling window”

8 © 2012 IBM Corporation 8 Anatomy of a Chart – Bar Chart Plot of Latest Event Title X Axis labels Y AxisAttribute value Legend (Y Axis labels) Modify config Open in new window Select job Refresh state and interval

9 © 2012 IBM Corporation 9 Chart Types Stacked Bar Chart Table

10 © 2012 IBM Corporation 10 Demo – creating a view and a bar chart on the view  Create a view, and add attributes to the view  Create a bar chart over the view  Show how changing the settings impacts the chart

11 © 2012 IBM Corporation 11 Example – Create a view  Start the job and navigate to the Views item  Click the Add.. button in the Views pane  Name the View  Select the job  Select the stream –Operator and Port  Select the attributes to include in the view  Specify a filter on the tuple data –Optional

12 © 2012 IBM Corporation 12 Creating a View  Select the job  Select the stream –Operator and Port

13 © 2012 IBM Corporation 13 Creating a View  Select the attributes to include in the view  Specify a filter on the tuple data –Optional  Click “Finish”

14 © 2012 IBM Corporation 14 Example – Create a simple summary bar chart  Start the job and create the view  Click Add Chart button in the Charts Nav item –Name the chart –Select the view  Y- Axis Settings –Select the attributes to plot - SouthAmerica –Modify label value (optional) – left as the attribute name –Manually set the data range (optional) –Add or remove tick marks (optional) –Set chart refresh off or on and interval rate  X- Axis Settings –Events to plot – scrolling events or latest event –Labels – none or source and orientation  Appearance –Chart theme, grid lines –Orientation, grouping (clustered or stacked) and gap between bars –Display legend

15 © 2012 IBM Corporation 15 Chart Wizard – Title, Type and View

16 © 2012 IBM Corporation 16 Y Axis: Title, Attributes, Data range, tick marks, refresh 0 - 200,000

17 © 2012 IBM Corporation 17 X Axis: Title, Event type, Label source and orientation

18 © 2012 IBM Corporation 18 Appearance: Theme, grid lines and properties

19 © 2012 IBM Corporation 19 Summary Line Chart  The Chart Type is “Line”  The Chart Title is on the bottom  Y- Axis Settings –Selected 3 list attributes to plot –The label attribute is the attribute's values

20 © 2012 IBM Corporation 20 Effect of Application Data Type and Event Type on Charts  Event type is “latest event” - only the most recent event is shown  Data type of the single attribute to plot on the Y-Axis is “list” –The attribute, “negative”, has 12 values in one list item  Data type of the attribute used for the X-axis labels is list  One to one relationship between # of items plotted and # of labels –The attribute, “brands”, also has 12 values in one list item

21 © 2012 IBM Corporation 21 Effect of Application Data Type and Event Type on Charts  Event type is “scrolling” - 10 events appear in a “window”  Each event shows one “negative” list item with 12 values – Each event's label is the “brands” list item, with 12 brand names  The legend shows a marker for each “negative” entity in one list item  The Y-axis attribute and the X-axis label attribute are the same as in the previous chart.  This is confusing... how could we make the chart more understandable?

22 © 2012 IBM Corporation 22 Effect of Application Data Type and Event Type on Charts  Y-Axis label is now the attribute “brands”  X-Axis label is now event time

23 © 2012 IBM Corporation 23 Summary  Suggestions when creating charts –Experiment with the chart settings to become familiar with their affect –Know your application data types, it's possible the application may need to be modified to produce the chart you want –Determine if you want a summary (latest event) or scrolling chart –Create a table chart in addition to a bar or line chart to more easily examine data Thank you!


Download ppt "Click to add text © 2012 IBM Corporation 1 Visualization of View Data Susan L. Cline SWS Visualization."

Similar presentations


Ads by Google