gruff
gruff copied to clipboard
In line graph dots with same value show only one dot
How to distinguish overlapping point so we display or get to know all dots at one point. please find attached screenshot
It sounds like there needs to be a setting for dot size and shape that can be set in the object data I'd like to +1 this feature request! Maybe even write the code. I am looking at base.rb to see how hard that would be.
Pull requests are welcome :)
I started writing the changes;
quick question though; I would like to change data from name, data_points [], color = nil to name, data_points [], attributes = nil the last thing past is color. attributes would be a hash containing color, dot_shape, dot_size, line_width, etc. This will break anything that was written with it as a string. Do you have a better idea? should I check to see if it is of type hash or type string so the code is backwards compatible?
What are your thoughts?
Setting this for version 0.4. I think it it is a nice feature. I see at least three visual solutions:
- Make a kind of "pie" of the point that shows an equal part of the point for each data set that has a point in the given position.
- Draw the points in different sizes, largest to smallest, to allow both to be shown. This can be done automatically or by setting individual dot sizes for each data set.
- Allow having different shapes for marking data points for each data set like o, +, x, square, triangle etc.
I think handling this automatically would be best.