Currently, there is no way to format the tooltip, though we might allow such flexibilty in the future
Badtnik On Mon, Aug 2, 2010 at 3:45 PM, mic <[email protected]> wrote: > Is there a way to format the content of the tooltip when onmouseover > Event? > > Here's the code > function drawChart() { > var d = { > cols: [ > > {id:'percentage',label:'Percentage',type:'string'}, > > {id:'salary',label:'Salary',type:'number'} > ], > rows: [ > {c:[{v: '25%'}, {v: 3000, f: > '$3,000'}]}, > {c:[{v: '50%'}, {v: 5055, f: > '$5,055'}]}, > {c:[{v: '75%'}, {v: 6665, f: > '$6,665'}]} > ] > } > var data = new google.visualization.DataTable(d); > var chart = new > google.visualization.LineChart(document.getElementById('chartdiv')); > chart.draw(data, > { > 'focusBorderColor': {'stroke' : 'yellow', > 'strokeSize': 20}, > width: 580, > height: 300, > title: 'Salary Percentile Graph', > legend: 'south', > legendTextColor:'#eee', > hAxis: { > title:'Salaries', > textColor:'orange' > }, > tooltipFontSize: 14, > legend:"none", > titleY:"$" > } > ); > } > > -- > 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.
