# CANVAS Vertical Bar Chart with more than one Y axis

**URL:** <https://discuss.elastic.co/t/canvas-vertical-bar-chart-with-more-than-one-y-axis/255380>\
**Category:** Kibana\
**Created:** [November 13, 2020, 9:13pm UTC](https://discuss.elastic.co/t/canvas-vertical-bar-chart-with-more-than-one-y-axis/255380 "2020-11-13T21:13:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jose-sonicwebdev.com](https://avatars.discourse-cdn.com/v4/letter/j/3da27b/32.png) [@jose-sonicwebdev.com](https://discuss.elastic.co/u/jose-sonicwebdev.com)\
**Post date:** [November 13, 2020, 9:13pm UTC](https://discuss.elastic.co/t/canvas-vertical-bar-chart-with-more-than-one-y-axis/255380/1 "2020-11-13T21:13:34Z")

</div>

Hi I was wondering if CANVAS allowed for more than one Y axis on Bar Charts. I want to use the same input for X Axis but Two Y axis columns . I need to add "Week Total" and "Supplemental Total" to the Y Axis

filters  
| essql  
query="SELECT TOP 10  
SUM("issuedSupplemental") AS "Week Total", "fta" AS "FTA", SUM("uploadSupplementalDiffAmount") as "Supplemental Total"  
FROM "agent\_statistics"  
WHERE"week" = DATE\_PART('week',NOW()) and "fta" is NOT NULL  
group by "fta"  
HAVING  
"Week Total" IS NOT NULL and "Week Total" \<\> 0  
ORDER BY "Week Total" DESC  
"  
| mapColumn "Week Total"  
fn={getCell column="Week Total" | formatnumber "a$0,0[.]0"}  
| pointseries x="FTA" y="Week Total" color="Week Total"  
| sort by="y"  
| plot defaultStyle={seriesStyle bars=0.5 fill=0.3} legend=false seriesStyle={seriesStyle label="Week Total" stack=1 fill=0.3}  
seriesStyle={seriesStyle label="Week Total" stack=1 fill=0.3} palette={palette "#edf8b1" "#7fcdbb" "#2c7fb8" gradient=true}  
font={font family="'Open Sans', Helvetica, Arial, sans-serif" size=14 align="left" color="#FFFFFF" weight="normal" underline=false italic=false}  
| render containerStyle={containerStyle padding="135px"}  
css=".flot-x-axis div {  
white-space: normal;  
transform: rotate(-70deg);  
text-indent: -100%;  
right;  
text-align: Center  
!important;  
top: 310px !important;  
}"

---

<div class="post-metadata">

**Author:** ![Iker](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/iker/32/91708_2.png) [@Iker](https://discuss.elastic.co/u/Iker)\
**Post date:** [November 13, 2020, 10:17pm UTC](https://discuss.elastic.co/t/canvas-vertical-bar-chart-with-more-than-one-y-axis/255380/2 "2020-11-13T22:17:35Z")

</div>

Canvas doesn't support multiple Y Axis, the only way to achieve this is using a visualization, maybe a timelion visualization or vegas could help.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 11, 2020, 10:17pm UTC](https://discuss.elastic.co/t/canvas-vertical-bar-chart-with-more-than-one-y-axis/255380/3 "2020-12-11T22:17:49Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
