Do you mean you want units on the axis, like this: 
http://jsfiddle.net/asgallant/fWxBF/2/?

On Thursday, October 11, 2012 11:16:49 AM UTC-4, Ram wrote:
>
> Hi,
>    This was not worked for me.Also before adding hAxis: {minValue: 0}, 
> the hAxis scale was not display for me. But for your case,it displayed 
> and shows some different scale.So my problem is,how to display scale in 
> hAxis?
>  
>
> On Thu, Oct 11, 2012 at 7:22 PM, Sergey <[email protected] 
> <javascript:>>wrote:
>
>> Hello, I got your BarChart to work exactly as you specified, but the 
>> horizontal axis was a bit interesting. I fixed it by adding an hAxis: 
>> {minValue: 0} to the options. You can see the result 
>> here<http://jsfiddle.net/blindmonkey/fWxBF/1/>. 
>> Let me know if you need more help.
>>
>>
>> On Thursday, October 11, 2012 7:27:24 AM UTC-4, Ram wrote:
>>>
>>>
>>> I have created a bar Chart in Visulization API with Below coding.*Bar 
>>> Chart not display hAxis scale.*
>>>
>>> *My data columns :* "cols":[{"id":"name","label"**
>>> :"Name","pattern":"","type":"**string"},{"id":"distance","**
>>> label":"Distance(Km)","**pattern":"","type":"number"}]
>>>
>>> *My code :*
>>>
>>>
>>> var myDataTable = new google.visualization.**DataTable(newData);
>>> var rowcount=myDataTable.**getNumberOfRows();
>>> var options1 = {
>>>    'title':'Travel Distance of Sales Reps(Km)',
>>>    'width':'100%',
>>>    'height':rowcount*50,
>>>    'backgroundColor':'**transparent',
>>>    'chartArea':{left:50,top:50},
>>>    'colors':['#109618'],
>>>    'forceIFrame': false,
>>> };
>>>  $('#my_chart').empty();
>>> var finalchart = new google.visualization.BarChart(**
>>> document.getElementById('my_**chart'));
>>> finalchart.draw(myDataTable , options1);
>>>
>>>
>>> -- 
>>> BY
>>>
>>> R.RAMPRASAD
>>>
>>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google Visualization API" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/google-visualization-api/-/GF5CzZk_uu8J.
>> To post to this group, send email to 
>> [email protected]<javascript:>
>> .
>> To unsubscribe from this group, send email to 
>> [email protected] <javascript:>.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-visualization-api?hl=en.
>>
>
>
>
> -- 
> BY
>
> R.RAMPRASAD
>
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/0qFjAFuRQfIJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to