Hi Genevieve
thank you very much for the summary of our discussion. I'm looking
forward seeing your suggestions.
I plan to work on patch-set 4. I hope I can do that before Christmas.
Otherwise early next year.
Best Regards
Bernd
This Communication is Confidential. We only send and receive email on
the basis of the terms set out at www.ericsson.com/email_disclaimer
<http://www.ericsson.com/email_disclaimer>
On 12/13/2013 10:53 AM, Geneviève Bastien wrote:
Thanks to all who participated in the hack-a-thon. It was very
motivating to be able to work and discuss face to face, we'll do that
again!
Here's a summary of a discussion I participated in on the xy charts.
Purpose:
We want to be able to easily generate xy charts (bar charts, line
charts, etc), ie provide the maximum facilities so that the developer
only needs to provide the data and the chart will be generated with
good defaults. The generated charts by default will synchronize with
the trace time range, they can be zoomed in/out and have the same
general behavior as the other views of TMF.
Solution:
An abstract base class will add generic xy charts support with all the
necessary implementation to synchronize with the traces and match the
charts' behavior with that of the other views. For some chart type
(bar charts, line charts for a start), we'll provide another abstract
class, inheriting from the first, giving suitable defaults for a given
chart type. Some example charts will be implemented to show how to
generate one. Only a few methods will need to be overriden to provide
the data to plot and the chart series. Eventually, when data-driven
analysis are available, we will add the possibility to generate charts
from Xml.
Proposed plan:
Patchsets 1-2:
The TMF team at Ericsson already started working on this subject, two
patchsets are available on gerrit: one for the base xy chart classes
(https://git.eclipse.org/r/#/c/15488/), another for a Lttng Ust memory
usage chart (still a draft). I'll work on those 2 patchsets to move as
much code as possible to the abstract classes and leave only the
minimum in the concrete view.
Patchset 3 (depends 1):
Add easy support of multiple series in the base classes, with
different colors, line style, etc.
Patchset 4 (depends 1):
Make sure the behavior matches that of other views: zoom, scroll, pan,
etc.
Patchset 5 (depends 1, data-driven analysis):
Add in the xml analysis plugin the possibility to define data-driven
xy charts.
We'd like to have this feature soon at Polytechnique, so I hope to
push a new version of patchsets 1 and 2 before Christmas and work on 3
and 5 early next year.
Any thoughts?
Thanks,
Geneviève
_______________________________________________
linuxtools-dev mailing list
linuxtools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/linuxtools-dev
_______________________________________________
linuxtools-dev mailing list
linuxtools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/linuxtools-dev