javascript - Google Chart setAction: how to change TextStyle? -
screenshot playing around google chart (pie), , have setaction written below. code adds button on tooltip. knows how change textstyle of button? not copying format of tooltip itself.
chart.setaction({ id: 'sample', text: 'drill down', action: function() { selection = chart.getselection(); switch (selection[0].row) { case 0: alert('downdrill a'); break; case 1: alert('downdrill b'); break; case 2: alert('downdrill c'); break; } } });
Comments
Post a Comment