The API is interesting. As I see it, this will be limited to things like bar, plots or line graphs. For example, a spider chart will not work with this one, but it will use a builder of its own, right?
Yes. Currently, spider chart shares very little from what we have. This is why it deserves its own builder. Maybe this will change in the future, but for now it works well.
But the way, we call Kiviat what you call Spider chart. Just have a look at RTKiviatBuilder.
Here is a screenshot for people who do not understand what we are talking about :-)
Some feedback:
- I would rename Plugin to Decorator. From your statement, "The plugin framework exposes to a plugin all the necessary to define a whole range of decorations" it seems to me that "Decorator" fits better.
Yes!
Done!
- I would just call the class RTGrapher
Yes, done!
- I do not quite understand how to distinguish the difference between DataSet and StackedDataSet.
Yeah, not easy to grasp. Consider an histogram and a scatter plot.
You will define an histogram as a list of values, e.g,. 4, 5, 6, 7
You will define a scatterplot as a list of points, e.g., 2 @ 3, 5 @ 6, …
An histogram is obtained from a list of objects, and a function Y to obtain the values.
A scatter plot is obtained from a list of objects, and _two_ functions X and Y to obtain the points.
When you do not need to specify an X, e.g., an histogram, then you need a RTStackedDataSet.
When you need to specify an X, e.g., a scatter plot, then you need a RTDataSet.
Is it clear? Maybe the vocabulary we use is not obvious.
Cheers,
Alexandre
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev