Hi,
* i want to show border around legend in pie chart*.
Here is an sample of my code
function drawVisualization() {
// Create and populate the data table.
var data = google.visualization.arrayToDataTable([
['Task', 'Hours per Day'],
['Work', 11],
['Eat', 2]
]);
var options = {
'hAxis': {
'title':"So, how was your day?",
titleTextStyle: { color:'black',
'fontName':'Arial',
'fontSize':'12',
'bold':true
}
,textStyle:
{ color:'black',
'fontName':'Arial',
'fontSize':'10',
'bold':true
}
},
'height':300,
'width':300,
'is3D': true,
'legend':{'position':'bottom'
,'textStyle':
{
color:'black',
'fontName':'Arial',
'fontSize':'12',
'bold':true
}
},
'vAxis': {
textStyle:{ color:'black',
'fontName':'Arial',
'fontSize':'10',
'bold':true
}}
};
// Create and draw the visualization.
new google.visualization.PieChart(document.getElementById('visualization')
).
draw(data,options);
*Here in this code i want to add border around Legend*.
Thanks & regards
Ashish Sharma
On Tuesday, May 6, 2014 7:44:19 PM UTC+5:30, Jeremy Faller wrote:
>
> Can you post some code? What chart type? What options are you specifying,
> what behaviour would you like to see?
>
> Your question is really unclear, and we'd love to help you.
>
> On Tuesday, May 6, 2014 5:20:35 AM UTC-4, Ashish Sharma wrote:
>>
>> Hi,
>> I want to show a legend box in my chart which contains all Legend title
>> and legend
>>
>> Thanks & regards
>> Ashish sharma
>>
>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.