-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add categorical data #340
Comments
We need to add images of examples about what we would like to achieve as final plots. One thing could be to have numerical values on the X axis and a callback that converts this numerical value to a string There may be some other problem as well like where to place the label. In this case it is between the major tics. |
I used it in this story |
we're not sure we want to support categorical data in this project. this would add a lot of complexity |
I would like to evaluate all the problems that would appear creating CategorySeries (HistogramSeries ?) and if does make sense to add this in the project (meaning not make hacks everywhere). We should expect for this kind of series a lot of data and it could be the base to add box plots (another kind of CategorySeries). <Plot width={300} height={300}>
<Heading title="Fruit producers" />
<CategorySeries
data={{ banana: 4, apple: 5, kiwi: 0 }}
label="Colombia"
/>
<CategorySeries data={{ banana: 0, apple: 3, orange: 2 }} label="Spain" />
<CategorySeries
data={{ apple: 8}}
label="Switzerland"
/>
</Plot> We would need a
When many bar series are present on the same axis the axis could have a property What about annotations ?Currently we have 3 kinds of units to place annotations:
Superimposition of SeriesWe could have 2 axis, one with CategoryAxis and the other one 'normal'. @targos @stropitek we could discuss this during next Thursday meeting to define if we close those issues or continue to explore. I was just working on histograms to display pellet hardness this week-end ... |
it will be great if on of axis data can be string
The text was updated successfully, but these errors were encountered: