# Draw the multiple points on same label

**URL:** <https://www.ruby-forum.com/t/draw-the-multiple-points-on-same-label/180734>\
**Category:** Rails\
**Created:** [December 28, 2009, 9:20am UTC](https://www.ruby-forum.com/t/draw-the-multiple-points-on-same-label/180734 "2009-12-28T09:20:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gandhi-tush](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/5daacb/32.png) [@gandhi-tush](https://www.ruby-forum.com/u/gandhi-tush)\
**Post date:** [December 28, 2009, 9:20am UTC](https://www.ruby-forum.com/t/draw-the-multiple-points-on-same-label/180734/1 "2009-12-28T09:20:39Z")

</div>

Hi  
I have one problem for gruff. I am able to create the graph by using the  
gruff lib.

I have written the following code for this:-  
g = Gruff::Line.new(600)

```
g.data("Round", [60, 50, 30, 40, 54, 31,75,45,50,54], '#DF0101')
g.labels = {0 => '2009-12-30',1=>'2009-12-29'}
send_data(g.to_blob, :disposition => 'inline', :type => 'image/png',

```

:filename =\> “arbitaryfilename.png”)

My problem is I have multiple values for single x-axis label.  
How should I do that?

Can anyone help me out?

Thanks,  
Tushar
