Closed matthiaskoenig closed 3 years ago
Wow, that's remarkably different interpretations. I guess this is another reason we require implementations before release ;-)
Having a bar being 'actually' a marker is very unintuitive to me, but if clearly defined in the spec, it's at least unambiguous. I just can't see anyone coming to that conclusion unprompted, meaning that the spec would be misaligned with people's assumptions. Then again, this is supposed to be more for tool authors than the general public, so maybe tool author intuition is different than I expect.
The main reason I saw them as marker is because I also want to encode the edge properties of the bars (linewidth and linecolor). The marker provides the complete set of information in addition to the color, so it made sense for me to just use the marker ;).
I would prefer lucians interpretation of the specification in the example here. For the box plots, the line would represent the outline of it (which is optional, in case you don't want to have one), and the fil represents how the inside is filled (and in case of secondColor shaded). I don't see a use of marker here.
@luciansmith and @fbergmann I am fine with this interpretation. Then I will update my implementation accordingly and we have to add some clarification sentence to the specification how bar plots are styled.
There is some ambiguity in what color to use for the bar plots. It could be either the color of the Marker or the color of the Fill. Also what to do with the line style information is unclear.
Personally I interpret the barplots just as large markers and so the complete Marker style should be applied to style the bar. This has the advantage that all Curves are styled with the identical information (linestyle & marker), the fill information is not used for any Curves. Bar plots only use the marker information (and no linestyle nor fill information). So there is a clear separation of the style information for the different curve types.
There is currently a sentence in the
style
section stating the fill part:A similar sentence should be added to the curve types to clarify the marker part.:
@luciansmith I saw you used a mix of Fill and Line information to style the bars (example
stacked_bar
).In my opinion the correct way to encode the style for the bar is
To get the following result: I added the example as
stacked_bar2.sedml
to the test cases.