Adding custom series to the main library

Oystein Bjorke 10 years ago 0
This discussion was imported from CodePlex

Gimly wrote at 2014-03-28 14:07:

Hi,

I was wondering what is the politic behind adding new series types to the main library?

I have created a "ScatterWithErrorBarSeries" that I use in my code. It's heavily inspired by the "CustomSeries" example in the example library but with some added functionalities.

I would be willing to add it to the list of available series in the main code, but don't want to "force" it to the main code without asking first.

What are your opinions? Should the number of built-in series be kept low and leaving people to create their own custom series, or should people be welcome to add other series types so that people can contribute to them?

objo wrote at 2014-03-28 15:23:

Sounds great! It is difficult to define rules, but it should be a series/annotation/axis of general interest. I think the scatter with error bars series could fall within this category. Is it supported in other plotting libraries? Please create some examples showing how to use it and submit a pull request!

Gimly wrote at 2014-03-31 10:32:

Actually, error bars in a lot of charting frameworks are available for line, scatter and bar plots. If you look at PyChart implementation for example, you'll see that the error bar itself has its own "class" and has different visualization possible. For example, it can show simple bars, just the min/max, or display quartile and min/max.

The implementation I made is way simpler for now, I just displays the error bar in the form of min/max representation.

I created a pull request for it.

One question though, I see that I didn't set my username on the commits I made... I have "Xavier" as username instead of Gimly. Is there an option to change this now that the commits are pushed? It's actually the same for the other pull requests I made earlier. It's a bit annoying since the commits are not linked to my username, but if it's too complicated to change, it's no big deal.

I know that GitHub deals with this very easily, but don't know about Codeplex.

Cheers.