This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-01-17
Channels
- # aleph (3)
- # announcements (12)
- # beginners (80)
- # boot (3)
- # braveandtrue (16)
- # calva (3)
- # cider (82)
- # clojure (100)
- # clojure-art (3)
- # clojure-dev (79)
- # clojure-estonia (1)
- # clojure-europe (4)
- # clojure-finland (15)
- # clojure-indonesia (1)
- # clojure-italy (20)
- # clojure-nl (4)
- # clojure-spec (24)
- # clojure-sweden (2)
- # clojure-switzerland (1)
- # clojure-uk (99)
- # clojurescript (145)
- # cursive (8)
- # data-science (7)
- # datomic (26)
- # emacs (4)
- # figwheel-main (20)
- # fulcro (8)
- # graphql (3)
- # hoplon (2)
- # jobs (1)
- # kaocha (5)
- # leiningen (2)
- # liberator (19)
- # off-topic (16)
- # pathom (9)
- # perun (1)
- # portkey (2)
- # re-frame (17)
- # reitit (1)
- # shadow-cljs (26)
- # spacemacs (7)
- # vim (49)
@daslu I’m in. Right now I’m building a dashboard web app for monitoring system: 4 line plots, 4-5 controllers etc. and would love to build it in Clojure(script) if I find some guidance at the beginning, although I’m building it in Python(Bokeh).
@jsa-aerial is there a way to render a static chart into jpg/png file just from data and description from clojure using Saite or Hanami?
Yes. Simplest is to use Saite. The defaults Saite uses support saving as either png or svg. When you render a chart (either via the modal popup using the client editor pane, or the hmi/sv! function on server side) the visualization will also have a circle with three dots (...) in the upper right (it is 'dim' until you mouse over it). Click that and the options are displayed.
thank you! I'll give it a try soon. I plan to generate a bunch of charts for documentation.
That's definitely doable - I've done it. But it is not super convenient when you are talking a lot of charts/plots. The capability is directly from Vega-Embed and does not offer an option to give a specific name. If this is something that you would tend to do on a regular basis, you might want to weigh in on https://github.com/jsa-aerial/saite/issues/2