gruff icon indicating copy to clipboard operation
gruff copied to clipboard

In line graph dots with same value show only one dot

Open umeshduggal opened this issue 11 years ago • 4 comments

How to distinguish overlapping point so we display or get to know all dots at one point. please find attached screenshot

gruff_line

umeshduggal avatar Mar 22 '13 13:03 umeshduggal

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.

j-engert avatar Apr 27 '13 15:04 j-engert

Pull requests are welcome :)

donv avatar Apr 27 '13 15:04 donv

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?

j-engert avatar Apr 28 '13 00:04 j-engert

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.

donv avatar Jul 31 '13 10:07 donv