Table of Contents

Introduction
   Overview
   What this Book includes
   Is This Book for You
   What Do You Need to Use This Book
   How This Book Is Organized
   What Was Left Out
   Conventions
   Using Code Examples
   Customer Support


Chapter 1: C# Graphics Basics
   Coordinate Systems

      Default Coordinates
      Custom Coordinates
      Window and Viewport
         Zooming
         Panning
   Pen and Brush

      Pen Class
      Brush Class
      Basic Graphics Shapes

      Points
      Lines and Curves
      Rectangles, Ellipses, and Arcs
      Polygons
   Color

      System Colors
      Custom Color Map
      Color Shading

Chapter 2: 2D Matrices and Transformations
   Basics of Matrices and Transformations

      Scaling
      Reflection
      Rotation
      Translation
   Homogeneous Coordinates

      Translation in Homogeneous Coordinates
      Scaling in Homogeneous Coordinates
      Rotation in Homogeneous Coordinates.
      Combining Transformations
   Matrix Class and Transformation in C#

      Matrix Definition in C#.
      Matrix Operation in C#
      Basic Matrix Transformations in C#
      Object Transformations in C#
      Basic Transformations.
   Combining Transformation in C#

      Transformation of Multiple Objects in C#
      Text Transformation
      Transformations in Graphics Class

Chapter 3: 2D Line Charts
   Your First Simple Line Chart

      Basic Elements of 2D Line Charts
      Creating a Simple 2D Line Chart Using C#
      How It Works?
      Changing Chart Position
   Creating Line Charts Using ArrayList

      Chart Style
      Data Collection
      Data Series
      Line Style
      Form1 class
      Testing Project
   Gridlines and Labels

      Modifying Form1 Class
      Modifying Chart Style
      Gridlines and Ticks
   Labels and Title

      Testing Project
   Legends

      Legend Class
      Legend Layout.
      Modifying Form1 Class
      Testing Project.
   Symbols

      Defining Symbols
      Symbol Style Class
      Modifying Form1 Class
      Modifying Data Collection
      Modifying Line Style
      Testing Project.
   Line Charts with Two Y Axes

      Why Two Y Axes
      Modifying Chart Style
      Modifying Form1 Class
      Modifying Data Series
      Modifying Data Collection
      Testing Project
   Sub-Charts

      Layout of Sub-charts
      Sub-Chart Class
      Modifying Chart Style
      Modifying Form1 Class
      Testing Project

Chapter 4: Specialized 2D Charts
   Creating Bar Charts

      Implementation
      Bar Charts
      Group Bar Charts
      Overlay Bar Charts.
      Stacked Bar Charts
      Bar Charts with Color Map
   Creating Stair Step Charts

      Implementation
      Testing Project
   Creating Stem Charts

      Implementation
      Testing Project
   Creating Charts with Error Bars

      Implementation
      Testing Project
   Creating Pie Charts

      Implementation.
      Testing Project
   Creating Area Charts

      Implementation
      Testing Project
   Creating Polar Charts

      Implementation
      Testing Project.
   Creating Stock Charts

      Implementation
      Hi-Lo Chart
      Hi-Lo-Open-Close Chart
      Candlestick Chart

Chapter 5: 3D Matrices and Transformations
   Basics of Matrices and Transformations in 3D

      3D Point and Matrix Operation in C#
      Scaling
      Reflection
      Translation.
      Rotation
      Projections
   Parallel Projections

      Orthographic Projections
      Multi-View Projections
      Axonometric Projections.
      Orthographic Projections in C#.
   Oblique Projections

      Cavalier Projections
      Cabinet Projections
      Oblique Projections in C#
   Perspective Projections

      One-Point Perspective Projections
      Two-Point Perspective Projections
      Three-Point Perspective Projections
      Perspective Projection Matrix
       Perspective Projection in C#
   Special Coordinate Systems in 3D

      Cylindrical Coordinates
      Spherical Coordinates
      Euler Angles
      Azimuth and Elevation View

Chapter 6: 3D Charts
   3D Chart Basics

      Point3 and Matrix3 Classes
      Chart Style in 3D
      Coordinate Axes
      Gridlines
      Labels
      Testing Project.
   3D Line Charts

      Implementation
      Testing Project
   3D Chart Package

      Chart Style
      Point4 Class
      Data Series.
      Chart Functions
      DrawChart Class
   Surface Charts

      Mesh Charts
      Curtain Charts
      Water Fall Charts
      Surface Charts
      Color Chart on X-Y Plane
   Contour Charts

      Algorithm
      Implementation
      Test Contour Charts
      Filled Contour Charts
   Combination Charts

      X-Y Charts in 3D
      Contour Charts in 3D
      Mesh-Contour Charts
      Surface-Contour Charts.
      Surface-Filled-Contour Charts
   3D Bar Charts

      Implementation
      Testing 3D Bar Charts
   Slice Charts

      Implementation
      Testing Slice Charts

Chapter 7: Charts and User Controls
   User Control Basics

      Design Time Support
      Event Handling
   User Control for 2D Charts

      Creating User Control
      Using TypeConverter
      ChartStyle Class
      Legend Class
      Chart2D Class
      Testing User Control
   User Control for 3D Charts

      Creating User Control
      ChartStyle Class
      Chart3D Class
      Testing User Control
      3D Line Charts
      Surface Charts
      Contour Charts
      Combination Charts
      3D Bar Charts
      Slice Charts

Chapter 8: DataGridView and Chart User Controls
   DataGridView Basics

      Unbound Mode
      Data Binding
   DataGridView and Chart2D Control

      Creating DataGridView Application
      Runtime Support
   DataGridView and Chart3D Control

      Creating Text Data File
      Creating DataGridView Application
      Runtime Support

Chapter 9: Excel Charts in C# Applications
   Excel and C# Interoperability

   Simple Excel Charts in C# Applications

      Excel Chart Object Model
      Creating Stand-Alone Excel Charts
      Creating Embedded Excel Charts
   More Excel Charts

      Column and Bar Charts
      Pie Charts
      Area Charts
      Doughnut Charts
      Radar Charts
      Stock Charts
      Surface Charts
      Color Map
   Integrating Excel Charts into Windows Form

      Stand-Alone Excel Charts on Forms
      Embedding Excel Charts on Forms

Index