rubyvis icon indicating copy to clipboard operation
rubyvis copied to clipboard

Any chance for a way to control the scale, in circle packing?

Open wcray opened this issue 11 years ago • 1 comments

I need some way to make multiple bubble charts where bubbles with the same node_value/size in each, render at the same physical size in the chart. The current implementation scales, so far as I can tell, scales the bubbles so that the entire chart space-fills the enclosing panel, and there doesn't seem to be any way to override this and say "just make them the size I said, and I'll worry about whether that's appropriate myself".

I realize that I could create multiple separate bubble charts and manually scale them as needed, but then I can't use the nice text packing/etc for labels.

Any chance for some help here? I'm on OS X, and I'm having a terrible time getting Nokogiri to install properly, or I'd be hacking on this already myself...

Many thanks for any assistance

wcray avatar Apr 11 '13 20:04 wcray

So, for the record, I have this almost working now. Nokogiri remains a pain in the ***, but patches to pack to enable this are reasonably straightforward. I'll send some in once I finish tweaking

wcray avatar Apr 12 '13 15:04 wcray