☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Example for Bar charts in Bokeh-scala

Community Support
birdsarah_continuum
birdsarah_continuum

I’m don’t think
bokeh-s cala has a port of the
bokeh.charts function ality - which is a set of
python convenience functions.

···

On 9/4/16 1:29 PM,
wrote:

sathishvprao@gmail.com

    Its so easy to build and display bar charts in

python-bokeh.

      Could you please assist us with an example for the

barchart/pi graph in bokeh-scala

–

  You received this message because you are subscribed to the Google

Groups “Bokeh Discussion - Public” group.

  To unsubscribe from this group and stop receiving emails from it,

send an email to bokeh+unsubscribe@continuum.io.

  To post to this group, send email to bokeh@continuum.io.

  To view this discussion on the web visit [https://groups.google.com/a/continuum.io/d/msgid/bokeh/b65c0335-a4cf-418d-a07d-21493cdc27f7%40continuum.io](https://groups.google.com/a/continuum.io/d/msgid/bokeh/b65c0335-a4cf-418d-a07d-21493cdc27f7%40continuum.io?utm_medium=email&utm_source=footer).

  For more options, visit [https://groups.google.com/a/continuum.io/d/optout](https://groups.google.com/a/continuum.io/d/optout).

–
Sarah Bird
Developer, Bokeh

    [
      ![Continuum Analytics](http://docs.continuum.io/_static/img/ContinuumWordmark.png)
    ](http://continuum.io)
⌁   Link to post
Satheesha_V_P
Satheesha_V_P

Thanks for the reply sarah. Is there any alternative way that i can make bar graphs.

···

On Monday, 5 September 2016 10:00:58 UTC+5:30, Sarah Bird wrote:

I’m don’t think
bokeh-s cala has a port of the
bokeh.charts function ality - which is a set of
python convenience functions.

  On 9/4/16 1:29 PM, > sathis...@gmail.com wrote:
    Its so easy to build and display bar charts in

python-bokeh.

      Could you please assist us with an example for the

barchart/pi graph in bokeh-scala

–

  You received this message because you are subscribed to the Google

Groups “Bokeh Discussion - Public” group.

  To unsubscribe from this group and stop receiving emails from it,

send an email to bokeh+un...@continuum.io.

  To post to this group, send email to bo...@continuum.io.

  To view this discussion on the web visit [https://groups.google.com/a/continuum.io/d/msgid/bokeh/b65c0335-a4cf-418d-a07d-21493cdc27f7%40continuum.io](https://groups.google.com/a/continuum.io/d/msgid/bokeh/b65c0335-a4cf-418d-a07d-21493cdc27f7%40continuum.io?utm_medium=email&utm_source=footer).

  For more options, visit [https://groups.google.com/a/continuum.io/d/optout](https://groups.google.com/a/continuum.io/d/optout).

–
Sarah Bird
Developer, Bokeh

    [
      <img alt="Continuum Analytics" src="https://lh6.googleusercontent.com/proxy/VYgVjggTk1hCXSN9wFkffE3I6kxTvJ51tT4KvDXOuKbs1WyFG66k7kt2-vkDimbyxfWtP-d1paJmstMYhPPnDYSUF4rLPoYM2GM2QFM=w5000-h5000" height="30px" width="150px">
    ](http://continuum.io)
⌁   Link to post
Bryan
Bryan

Hi,

The only API bokeh-scala has is basically a straight port of the low-level Python bokeh.models API. So you can certainly draw a bar chart, but you'll have to build everything up "from scratch". You can find various examples of using glyphs here:

  https://github.com/bokeh/bokeh-scala/tree/master/examples/src/main/scala

For a bar chart, you'd probably want to use Rect or Quad glyphs.

In the main repo we strongly discourage general support questions in the issue tracker, however, for bokeh-scala, at this point in time it might make sense for you to reach out with questions on GitHub:

  Issues · bokeh/bokeh-scala · GitHub

I don't know Scala, and AFAIK neither does Sarah. The bokeh-scala author does not monitor this mailing list regularly, so GitHub is probably your best bet for reaching someone who can actually provide detailed answers. Additionally, if you have scala experience and would like to help make bokeh-scala better, by working on a higher lever API for charting, GitHub is a good place to connect about potentially becoming a contributor.

Thanks,

Bryan

···

On Sep 5, 2016, at 12:40 PM, sathishvprao@gmail.com wrote:

Thanks for the reply sarah. Is there any alternative way that i can make bar graphs.

On Monday, 5 September 2016 10:00:58 UTC+5:30, Sarah Bird wrote:
I'm don't think bokeh-scala has a port of the bokeh.charts functionality - which is a set of python convenience functions.

On 9/4/16 1:29 PM, sathis...@gmail.com wrote:

Its so easy to build and display bar charts in python-bokeh.

Could you please assist us with an example for the barchart/pi graph in bokeh-scala

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.
To post to this group, send email to bo...@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/b65c0335-a4cf-418d-a07d-21493cdc27f7%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

--
Sarah Bird
Developer, Bokeh

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/46bfed87-d762-4e48-8ef0-e8138d4bb32a%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post
Satheesha_V_P
Satheesha_V_P

Thanks a lot Bryan for the detailed answer.

···

On Tue, Sep 6, 2016 at 12:24 AM, Bryan Van de Ven bryan@bokeh.org wrote:

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Hi,

The only API bokeh-scala has is basically a straight port of the low-level Python bokeh.models API. So you can certainly draw a bar chart, but you’ll have to build everything up “from scratch”. You can find various examples of using glyphs here:

    [https://github.com/bokeh/bokeh-scala/tree/master/examples/src/main/scala](https://github.com/bokeh/bokeh-scala/tree/master/examples/src/main/scala)

For a bar chart, you’d probably want to use Rect or Quad glyphs.

In the main repo we strongly discourage general support questions in the issue tracker, however, for bokeh-scala, at this point in time it might make sense for you to reach out with questions on GitHub:

    [https://github.com/bokeh/bokeh-scala/issues](https://github.com/bokeh/bokeh-scala/issues)

I don’t know Scala, and AFAIK neither does Sarah. The bokeh-scala author does not monitor this mailing list regularly, so GitHub is probably your best bet for reaching someone who can actually provide detailed answers. Additionally, if you have scala experience and would like to help make bokeh-scala better, by working on a higher lever API for charting, GitHub is a good place to connect about potentially becoming a contributor.

Thanks,

Bryan

On Sep 5, 2016, at 12:40 PM, sathishvprao@gmail.com wrote:

Thanks for the reply sarah. Is there any alternative way that i can make bar graphs.

On Monday, 5 September 2016 10:00:58 UTC+5:30, Sarah Bird wrote:

I’m don’t think bokeh-scala has a port of the bokeh.charts functionality - which is a set of python convenience functions.

On 9/4/16 1:29 PM, sathis...@gmail.com wrote:

Its so easy to build and display bar charts in python-bokeh.

Could you please assist us with an example for the barchart/pi graph in bokeh-scala

–

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.

To post to this group, send email to bo...@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/b65c0335-a4cf-418d-a07d-21493cdc27f7%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

–

Sarah Bird

Developer, Bokeh

–

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/46bfed87-d762-4e48-8ef0-e8138d4bb32a%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

–

You received this message because you are subscribed to a topic in the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this topic, visit https://groups.google.com/a/continuum.io/d/topic/bokeh/FQMMGlS1is4/unsubscribe.

To unsubscribe from this group and all its topics, send an email to bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/8C53C612-4A4E-40C2-8D98-F2D110C0F014%40continuum.io.

⌁   Link to post

End of archived discussion · Replies are disabled