Skip to content
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

Write CPBarPlot class #16

Closed
GoogleCodeExporter opened this issue Apr 22, 2016 · 4 comments
Closed

Write CPBarPlot class #16

GoogleCodeExporter opened this issue Apr 22, 2016 · 4 comments

Comments

@GoogleCodeExporter
Copy link

The CPBarPlot class is for plotting bar and histogram plots. It should support 
bindings and the data 
source pattern, and have APIs similar to the CPScatterPlot class.

It should be possible to plot multiple data sets in a single bar graph (eg with 
different colored bars 
for each set). Multiple data sets could probably be handled as multiple 
instances of CPBarPlot, each 
with some drawing offset. 

The data source should only need to supply the height of the bars, not the x 
values. The CPBarPlot 
class should have properties that can be used to determine the location of the 
bars in x (eg location 
of first bar and separation of bars). 

Original issue reported on code.google.com by drewmcco...@mac.com on 12 May 2009 at 7:15

@GoogleCodeExporter
Copy link
Author

It would be good to have an optional 'overlay' fill for bar plots. This would 
enable people to use images and 
gradients to make shiny bars, and the like.

Original comment by drewmcco...@mac.com on 9 Jun 2009 at 4:51

@GoogleCodeExporter
Copy link
Author

I'm working on this now.

Original comment by drewmcco...@mac.com on 27 Jun 2009 at 5:56

@GoogleCodeExporter
Copy link
Author

Just use a CPFill for the interior of the bars. That way you can use any color 
(including patterns), gradient, or 
image you want.

Original comment by eskr...@mac.com on 27 Jun 2009 at 9:07

@GoogleCodeExporter
Copy link
Author

Done.

Original comment by drewmcco...@mac.com on 28 Jun 2009 at 2:02

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant