(ats3-plat09) advanced reporting customizations and applications

28
(ATS3-PLAT09) Advanced Reporting Customizations and Applications Andrew LeBeau Advisory Product Manager, Product Management [email protected]

Upload: accelrys

Post on 11-Jan-2015

655 views

Category:

Technology


2 download

DESCRIPTION

The Reporting Collection offers many opportunities to provide rich and highly interactive reports, and “mini-web applications”. This session will cover a wide range of topics, illustrated with examples, including: Data Connector, Expression-readiness, Nested Reporting Elements, JavaScript examples, protocol linking, HTML Template, and Rich Tooltips.

TRANSCRIPT

Page 1: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

(ATS3-PLAT09) Advanced Reporting Customizations and Applications

Andrew LeBeauAdvisory Product Manager, Product Management

[email protected]

Page 2: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

The information on the roadmap and future software development efforts are intended to outline general product direction and should not be relied on in making a purchasing decision.

Page 3: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

Topics

• Data Connector• Expression Readiness in Reporting• Nested Reporting Elements• Protocol Links / Form & Work protocols / Protocol Function• JavaScript / Startup Function / Include / Data to & from JSON• Rich Tooltips• Canvas Components

Page 4: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

Data Connector

• Basic operation• Simple demo• As a form element• Scriptable• In SharePoint

Works with Data Connector-enabled components

Page 5: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

Basic Data Connector Operation

Autowatch window Report: Full interactivity

Page 6: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

Data Connector: As a Form Element

• Example Protocol: Data Connector Select and Submit

Page 7: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

Using the Scriptable Data Connector API (JavaScript API)

• Example protocol: Scriptable Data Connector

Page 8: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

Joining Data Streams: e.g., Across Web Parts in SharePoint

• Use Component ID and Data Record ID• “join” operation on data streams• Across multiple Data Connectors

Page 9: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

“Expression-readiness” in Reporting Components

• Change some parameters to “ExpressionType”

• Use PilotScript expressions to add functionality

• e.g., Add symbol coloring and sizing to XY Chart

Page 10: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

Nested Reporting Elements: Example

• Nested Tile

Page 11: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

Nested Reporting Elements

Page 12: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

Linking Protocols: Building Interactive Reports and Apps

• Three ways to link the first (calling) protocol to the second (work) protocol– Protocol Links: Work protocol execution is parameterized by user-clicks on

the calling protocol report• e.g., clicking a point on a chart, or link in table

– Form / Work protocols: Work protocol execution parameterized by user entering information in a calling (form) protocol• e.g., custom forms in Web Port

– Protocol Function: AJAX version of a protocol link• More flexibility in how results of work protocol are returned to calling protocol report• Uses the Protocol Function and Dynamic Content Container components• See “Update Chart Axis” example protocols from Reporting Collection

Page 13: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

JavaScript Components

• Add JavaScript to a report

• Call JavaScript functions after page load

• Include JavaScript libraries or CSS

• Convert Pipeline Pilot Reporting data records to JSON

• Convert JSON to Pipeline Pilot Reporting data records

Page 14: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

Example: Interactively Fit Curve To Data

Example protocol

Page 15: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

Example: Interactively Fit Curve To Data

Fit Curve Excluding User Points

Page 16: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

Example: Dependent List Boxes

Page 17: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

Rich Tooltips (and JavaScript)

Persistent and Repositionable Popups - Imaging

Page 18: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

Rich Tooltip Example

Page 19: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

Canvas Components

• Set of drawing primitives

• Can be used in conjunctions with XY chart

Waterfall Chart

Page 20: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

Why canvas?

• Create new visualizations• Interact with images• Add content to XY Chart

Page 21: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

Canvas components

1. Draw 2. Transform 3. Aggregate

Draw visual elements Transform their coordinatesAggregate elements, define coordinate system, define dimensions of view

ArcLabelLine/PolylineOvalPolygonRectangleSliceSymbol

General TransformationRotationScalingShearingTranslation

CanvasXY Chart

Page 22: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

Image to Canvas Example (Nuclei and Vesicles)

Data ConnectorWhen selections are made (canvas enabled charts, images, or tables), the corresponding elements on the other canvas are also selectedImage Statistics Computes cell nuclei bounding boxes

Page 23: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

• Reporting Collection provides rich capabilities for creating interactive reports and web apps– Targeted for both scientific protocol authors– Developers (especially JavaScript)

• Resources– Product documentation– Example protocols– Forum– “Masterclasses”

• Contact: [email protected]

Summary

Page 24: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

Extras

Page 25: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

HTML Template Component

Page 26: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

HTML Template: Example

• Google Maps With HTML Template

Page 27: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

HTML Template uses Apache Velocity, with Extensions

http://velocity.apache.org/engine/index.html

foreachDataRecord

Page 28: (ATS3-PLAT09) Advanced Reporting Customizations and Applications

The information on the roadmap and future software development efforts are intended to outline general product direction and should not be relied on in making a purchasing decision.

For more information on the Accelrys Tech Summits and other IT & Developer information, please visit:https://community.accelrys.com/groups/it-dev