Hi,
Thanks for helping me. Actually there is no title.I used following code.
google.load('visualization', '1', {'packages':['motionchart']});
google.setOnLoadCallback(drawChart);
function drawChart() {
var data = new google.visualization.DataTable();
data.addColumn('string', 'Effort');
data.addColumn('date','Date');
data.addColumn('number', 'Days');
data.addColumn('number', 'Share');
data.addColumn('number', 'CustomColor');
#following values are loop for one month
data.addRows([
['Job Share',new Date(2010,2,11),11,10,1],
['Applied',nnew Date(2010,2,11),11,10,2],
['Interested',new Date(2010,2,11),11,10,3.4],
['Refer',new Date(2010,2,11),11,10,4]
]);
var chart = new
google.visualization.MotionChart(document.getElementById('chart_div'));
var options = {};
options['state'] =
'{"iconKeySettings":[{"key":{"dim0":"Job
Share"}},{"key":{"dim0":"Applied"}},{"key":{"dim0":"Interested"}},{"key":{"dim0":"Refer"}}],"stateVersion":3,"time":"notime","xAxisOption":"_NOTHING","playDuration":15,"iconType":"LINE","sizeOption":"_NOTHING","xZoomedDataMin":null,"xZoomedIn":false,"duration":{"multiplier":1,"timeUnit":"none"},"yZoomedDataMin":null,"xLambda":1,"colorOption":"4","nonSelectedAlpha":0.4,"dimensions":{"iconDimensions":[]},"yZoomedIn":false,"yAxisOption":"_NOTHING","yLambda":1,"yZoomedDataMax":null,"showTrails":true,"xZoomedDataMax":null};';
options['width'] = 750;
options['height'] = 300;
chart.draw(data, options);
}
Thanks and Regard
Felix
hireplug.com team
On Thu, Oct 28, 2010 at 10:10 PM, Michael Schaefer <[email protected]>wrote:
> Hi,
>
> We've been experimenting with putting the title outside our graph into our
> containing DIV to give us more options (hyperlinks, for example). But it
> appears that the graph api will not reclaim that space in the graph if
> there's no title specified. Is that the expected behavior?
>
> Michael
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-visualization-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-visualization-api?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
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.