CONTENTS
Developing with the SDK
About This Document
What Is in This Document
Related Documentation
Introducing the Main Classes
Data Model Classes
Data Projection Classes
Chart Axis
Chart Projector
Data Display Classes
Composite Renderers
Single Renderers
Simple Renderers
Binding a Data Model and Graphical Representation
Interactors Classes
Creating a Chart
Creating a Basic Chart
Creating a Basic Cartesian Chart
Creating the Data Model
Creating a Cartesian Chart
Creating and Adding the Renderers
Customizing the Abscissa Scale
Customizing the Ordinate Scale
Adding a Legend
Creating a Basic Polar Chart
Creating the Data Model
Creating a Polar Chart
Creating and Adding the Renderers
Customizing the Abscissa Scale
Customizing the Ordinate Scale
Adding a Legend
Creating a Basic Treemap Chart
Creating the Data Model
Creating a Treemap Chart with Renderers
Customizing the Treemap Chart
Adding a Legend
Customizing a Chart
Adding a Title at the End of the Ordinate Scale
Adding a Label Displaying the Temperature of Each Data Point
Decorating the Chart
Adding a Title
Using the Data Model
Structure of the Data Model
The IlvDataSet Interface
The IlvDataSource Interface
Additional Information About Data Sets and Data Sources
Predefined Data Classes
Data Set Classes
Data Source Classes
Connecting to the Data Model
Connecting to a Chart
Events and Listeners
Extending the Data Model
Structure of the Extended Data Model
Choosing the Data Model to Implement
Predefined Extended Data Model Classes
Transforming Data Models
Connecting to the IlvTreeTableDataSource
Choosing Model Adapters
Configuring the Data Projection
Configuring the Axis
Axis Properties
Changing the Axis Ranges
Setting the Axis Transformer
Listening to Axis Events
Handling Chart Resizing
Configuring the Projector
Projector Properties
Projecting Points
Projecting Rectangular Areas
Projecting a Set of Data Points
Handling Chart Renderers
Introducing the Chart Renderers
Using Chart Renderers
Polyline Charts
Area Charts
Bar Charts
Bubble Charts
High/Low Charts
Pie Charts
Scatter Charts
Stair Charts
Treemap Charts
Customizing Chart Renderers
Annotations
Changing Locally the Rendering Style
Handling Notifications From Data Model
Connecting a Legend
Using Scales
Setting General Properties
Axis Representation Stroke
Position of a Scale
Title of a Scale
Visibility of a Scale
Size of the Major and Minor Ticks
Position of the Ticks relative to the Axis
Computing Scale Graduation
Displaying Standard Numerical Values
Displaying Time Values
Displaying Categories
Displaying Logarithmic Scales
The Shorthand Methods
Computing Scale Steps
Translating Steps Values into a Label
Handling Scale Labels
Setting General Properties
Adding Scale Annotations
Drawing and Writing Decorations
Writing a New Decoration
Displaying and Writing a Grid
Setting General Properties
Grid Visibility
Drawing Order
Default Gridline Color
Writing a New Grid
Extending IlvGrid
Displaying Data Indicator
Setting General Properties
Indicator Type
Data Represented by the Indicator
Optional Label
Drawing Order
Displaying an Image
Setting General Properties
Drawing Mode
Image Anchor
Drawing Order
Interacting With Charts
Using Predefined Interactors
Zoom Interactor
X-Scroll Interactor
Y-Scroll Interactor
Pan Interactor
Action Interactor
Local Pan Interactor
Local Reshape Interactor
Local Zoom Interactor
Edit-Point Interactor
Highlight-Point Interactor
Information-View Interactor
Pick-Data-Points Interactor
Treemap Focus Interactor
Setting an Interactor on an IlvChart
Handling Interactions
The Event Dispatching Process
Handling Events at Interactor Level
Example: Writing Your Own Interactor
Configuring 3-D Rendering
Switching to 3-D
3-D View Properties
Interactive Control of the 3-D View Orientation
Supported Features
Available Chart Renderers
Available Chart Decorations
Available Chart Interactions
Unsupported Operations
Using CSS Syntax in the Style Sheet
The Origins of CSS
The CSS Syntax
Style Rule
Selector
Declaration
Priority
Cascading
Inheritance
Applying CSS To Java Objects
The CSS Engine
The Data Model
CSS Recursion
Expressions
Divergences from CSS2
Styling
Two Kinds of Rules
Introducing Styles
Applying Styles
Disabling Styling
Styling the Chart Component
Styling the Chart
Styling the Chart Area
Styling the Chart Legend
Styling Chart 3-D View
Styling the Chart Grids
Styling the Chart Scale
The Chart Renderers
Scales and Grids
Styling the Data Series
Selector Patterns
Properties
Styling the Data Objects
Selector Patterns
Properties
Integrating a Chart Customizer into Your Application
Creating a Chart Customizer
Main Classes of the Chart Customizer
The Chart Customizer Panel
The Chart CSS Adapter
The IlvRuleCustomizerLogic Class
Integrating Undo into the Chart Customizer
Customizing the Chart Customizer
XML Specification of the Chart Customizer
Property Editors
Using Load-On-Demand
Framework Structure
How Load-On-Demand Works
How to Listen to Events
How to Use LOD with Your Data
Using JViews Charts JavaBeans
The IlvChart Bean
General Properties
Legend Properties
Axis Properties
Scale Properties
Graphical Representation Properties
Interaction Properties
Data Properties
Data Source Beans
The IlvXMLDataSource Bean
The IlvJDBCDataSource Bean
The IlvSwingTableDataSource
Using the JavaBeans with an IDE
Step 1: Loading the Data Model
Step 2: Creating the Chart
Step 3: Connecting the Data Source
Step 4: Configuring the Chart
Using JViews Charts in SWT Applications
Using the Bridge
Multithreading Modes
Printing
Printing a Chart in a Flow
Flow
The IlvChartFlowObject Class
Printing a Chart with a Custom Document Structure
The Classes Involved
How it Works
Generating PDF
Index