# Graphs and Charts 0.2.x (Bar Chart for Glimmer DSL for LibUI)

**URL:** <https://www.ruby-forum.com/t/graphs-and-charts-0-2-x-bar-chart-for-glimmer-dsl-for-libui/264480>\
**Category:** Desktop\
**Created:** [January 2, 2024, 1:59am UTC](https://www.ruby-forum.com/t/graphs-and-charts-0-2-x-bar-chart-for-glimmer-dsl-for-libui/264480 "2024-01-02T01:59:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndyMaleh](https://www.ruby-forum.com/user_avatar/www.ruby-forum.com/andymaleh/32/2475_2.png) [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Post date:** [January 2, 2024, 1:59am UTC](https://www.ruby-forum.com/t/graphs-and-charts-0-2-x-bar-chart-for-glimmer-dsl-for-libui/264480/1 "2024-01-02T01:59:42Z")

</div>

Graphs and Charts 0.2.2 adds a new Bar Chart Custom Control for Glimmer DSL for LibUI (Prerequisite-Free Ruby Desktop Development Cross-Platform Native GUI Library), in addition to the existing [Line Graph](https://www.blogger.com/blog/post/edit/32881756/2276824098236251535#) Custom Control.

[![](https://raw.githubusercontent.com/AndyObtiva/glimmer-libui-cc-graphs_and_charts/master/screenshots/glimmer-libui-cc-graphs_and_charts-mac-basic-bar-chart.png) ](https://raw.githubusercontent.com/AndyObtiva/glimmer-libui-cc-graphs_and_charts/master/screenshots/glimmer-libui-cc-graphs_and_charts-mac-basic-bar-chart.png)

GitHub : [GitHub - AndyObtiva/glimmer-libui-cc-graphs\_and\_charts: Graphs and Charts (Custom Controls) for Glimmer DSL for LibUI](https://github.com/AndyObtiva/glimmer-libui-cc-graphs_and_charts)

RubyGem : [glimmer-libui-cc-graphs\_and\_charts | RubyGems.org | your community gem host](https://rubygems.org/gems/glimmer-libui-cc-graphs_and_charts)

Blog Post Announcement : [Code Master Blog: Graphs and Charts 0.2.2 (Bar Chart for Glimmer DSL for LibUI)](https://andymaleh.blogspot.com/2024/01/graphs-and-charts-02x-bar-chart-for.html)

Change Log:

0.2.2 :

- Display bar\_chart axis labels x\_axis\_label and y\_axis\_label
- Display bar\_chart x-axis values below the chart
- Fix issue with bar\_chart vertical scaling of grid markers when numbers are larger than 1000 and have K in them by disabling K formatting for now (the issue was seeing the same marker number twice because two consecutive markers were calculated with similar shortened values; e.g. both 10K when one is 10100 and the other is 10750).

0.2.1 :

- Fix clipped text of grid markers when they include 1000 displayed as 1K

0.2.0 :

- Initial implementation of bar\_chart custom control
- New examples/graphs\_and\_charts/basic\_bar\_chart.rb

---

<div class="post-metadata">

**Author:** ![robert-b](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/54ee81/32.png) [@robert-b](https://www.ruby-forum.com/u/robert-b)\
**Post date:** [January 2, 2024, 1:59am UTC](https://www.ruby-forum.com/t/graphs-and-charts-0-2-x-bar-chart-for-glimmer-dsl-for-libui/264480/2 "2024-01-02T01:59:45Z")

</div>

Thanks for sharing, Andy! The new bar chart control and fixes in Graphs and Charts 0.2.2 for Glimmer DSL for LibUI sound really useful for developers. Keep up the good work!
