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

Stacked bar chart #9

Open
Jacob-Kroeze opened this issue Jun 29, 2015 · 1 comment
Open

Stacked bar chart #9

Jacob-Kroeze opened this issue Jun 29, 2015 · 1 comment

Comments

@Jacob-Kroeze
Copy link

I would like to use a stacked bar chart. What is left to do to implement that feature?

@dimitri
Copy link
Owner

dimitri commented Jun 29, 2015

Mostly Javascript I would presume, see https://github.com/dimitri/pgcharts/blob/master/web/js/query.js

Beware that if you use the command line version of pgcharts, it's caching the whole static file set in the binary's memory, so you will have to recompile each time you edit the javascript, which is a poor developer's environment.

That's because when using the lisp developer environment (Emacs, SLIME and Quicklisp) you can just edit the files and recompile lisp code on the fly and change things as you will.

It would be possible to add a configuration or CLI parameter to stop serving from cache in case you want to hack only on the web parts of pgcharts, without touching the embedded server code itself (URL mapping, processing, and unfortunately most HTML templates too). It doesn't make much sense to me because I just use the Lisp environment, feel free to comment about that option if you feel it's needed and welcome, but first have a look at how the HTML is produced currently...

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

No branches or pull requests

2 participants