Presentation is loading. Please wait.

Presentation is loading. Please wait.

Charting Everywhere. Charting Everywhere, © 2008 by Philippe Coucaud, made available under EPL 1.0 2 Short-Talk In order to analyze and compare size of.

Similar presentations


Presentation on theme: "Charting Everywhere. Charting Everywhere, © 2008 by Philippe Coucaud, made available under EPL 1.0 2 Short-Talk In order to analyze and compare size of."— Presentation transcript:

1 Charting Everywhere

2 Charting Everywhere, © 2008 by Philippe Coucaud, made available under EPL 1.0 2 Short-Talk In order to analyze and compare size of embedded applications we developed a framework on top of BIRT‘s charting APIs. During this talk we present this generic framework (chart viewer, data set providers,...) and how, as an experiment, we were able to re-target it to enhance the whole Eclipse platform with charts : property pages for IBinary (CDT), IContainer (core resources) and some more. The goal of this talk is to advocate that BIRT Charts can be used almost anywhere to enhance the Eclipse user experience. Also see CDT short talk „Because Size Matters“

3 Charting Everywhere, © 2008 by Philippe Coucaud, made available under EPL 1.0 3 Initial Use Case Binary files are composed of multiple sections (text, data,...). –Use charts to graphically visualize size of sections Chart Engine API generated from EMF model –Very rich –Maybe too heavy when one only has to handle simple charts (bar/pie- chart) with very simple series ( String[] x int[] ) Chart Engine builds a Chart that can be rendered in a GC –Needs a reusable Chart viewer

4 Charting Everywhere, © 2008 by Philippe Coucaud, made available under EPL 1.0 4 : a viewer, configurable with style bits : an IContentProvider providing simple chart data : a thin abstraction layer on top of the Chart API b Overview of the Framework b0b0 b1b1 a0a0 a1a1 a y x0x0 x1x1 getX() = {x 0,x 1 } getY() = {a,b} getYLabel() = y getYValues = {{a 0,a 1 }, {b 0,b 1 }} ( PIE_CHART, STACKED_BAR_CHART, TWO_D, THREE_D, … )

5 Charting Everywhere, © 2008 by Philippe Coucaud, made available under EPL 1.0 5 A Property Page for IBinary

6 Charting Everywhere, © 2008 by Philippe Coucaud, made available under EPL 1.0 6 Binary Object Size Property Page (PIE_CHART) (STACKED_BAR_CHART) ChartViewer

7 Charting Everywhere, © 2008 by Philippe Coucaud, made available under EPL 1.0 7 Metrics View A view displaying LOC/method distribution –Java (IMethod) –C (IFunction) Underlying chart updated on Workspace selection

8 Charting Everywhere, © 2008 by Philippe Coucaud, made available under EPL 1.0 8 Heap Status versus Heap History View Heap Status (org.eclipse.ui.internal) –Composite, instantaneous memory consumption Heap History View –Memory consumption over a time frame –Chart updated every ‘n’ seconds

9 Charting Everywhere, © 2008 by Philippe Coucaud, made available under EPL 1.0 9 Conclusion Because almost every Eclipse plug-in directly or indirectly manipulates numerical data the number of potential chart users is large Need a layer on top of BIRT Charting APIs to make the Chart Engine more accessible to the community

10


Download ppt "Charting Everywhere. Charting Everywhere, © 2008 by Philippe Coucaud, made available under EPL 1.0 2 Short-Talk In order to analyze and compare size of."

Similar presentations


Ads by Google