Kindly help me

1,001 views
Skip to first unread message

mohan rath

unread,
Jan 9, 2012, 2:16:45 AM1/9/12
to Google Visualization API
Dear all,

Kindly tell me how to set strictFirstColumnType option to 'true' in my
line chart .

MC Get Vizzy

unread,
Jan 9, 2012, 7:08:48 AM1/9/12
to google-visua...@googlegroups.com
new google.visualization.LineChart(container).draw(data, {strictFirstColumnType: true});


--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.


mohan rath

unread,
Jan 10, 2012, 1:19:33 PM1/10/12
to google-visua...@googlegroups.com
Dear sir,

Thank u for your coporation.

kindly tell me why hAxis related option is not work inside below in my
program, and how to make the axis Continuous in line chart. Kindly
tell me

var options = {

hAxis.baseline: 10 ,
hAxis.gridlines.color: '#CCC'

};

--
Thanks and Regards

Mohan Chand Rath

asgallant

unread,
Jan 10, 2012, 1:31:29 PM1/10/12
to google-visua...@googlegroups.com
It should be:

var options = {
    hAxis: {
        baseline: 10,
        gridlines: {
            color: '#CCC'
        }
    }
};

mohan rath

unread,
Jan 10, 2012, 1:45:47 PM1/10/12
to google-visua...@googlegroups.com
Dear sir,

Thank u very much for co-portion.

Kindly tell me how to change axis Discrete to Continuous in line
chart. Very necessary. kindly tell how to change the data type of
time.

asgallant

unread,
Jan 10, 2012, 1:54:30 PM1/10/12
to google-visua...@googlegroups.com
If the first column in your DataTable is of type 'number' or type 'date' and you have the 'strictFirstColumnType' option set to true, you will have a continuous axis for your line chart:

var data = new google.visualization.DataTable();
data.addColumn('date', 'Date');
data.addColumn('number', 'Value');
data.addRow(new Date(1, 5, 2011), 100);
.
.
.
chart.draw(data, {
    strictFirstColumnType: true
});

mohan rath

unread,
Jan 10, 2012, 2:00:52 PM1/10/12
to google-visua...@googlegroups.com
thank u sir . after implementing i will tell you.

mohan rath

unread,
Jan 11, 2012, 6:28:16 AM1/11/12
to google-visua...@googlegroups.com
Dear Sir,
 kindly help me.I am changing count no 10. But the no of gridlines are
not changed. Its constant in 5 lines. How can it change

var options = {
    hAxis: {  gridlines: {count: 10  }    }};

Jinji

unread,
Jan 11, 2012, 9:34:00 AM1/11/12
to google-visua...@googlegroups.com
Gridline count is implemented only for 'number' axis, not date/datetime. We should fix the documentation...

mohan rath

unread,
Jan 11, 2012, 12:44:55 PM1/11/12
to google-visua...@googlegroups.com
Dear Sir,

including origin there are 5 gridlines in hAxis. How con i change in line graph

Jinji

unread,
Jan 12, 2012, 7:42:11 AM1/12/12
to google-visua...@googlegroups.com
I don't understand the question. Can elaborate please? Posting an example of what you mean would be very helpful.

mohan rath

unread,
Feb 16, 2012, 1:48:21 AM2/16/12
to google-visua...@googlegroups.com
Dear Sir,

Kindly tell me how to make highlighted point on the highest point in line chart.


--

Reply all
Reply to author
Forward
0 new messages