#22 pie labels font-size ,last release

version-1
open
nobody
5
2008-06-11
2008-01-30
iago
No

The font size of the pie labels is too small now.

If I run this code with the open-flash-chart.swf of release 1.9.6
font size is normal

but if I run it with the last swf object from release 1.9.7
the font size is unreadable.

This is the code from data file example. 3.html

<script type="text/javascript" src="../js/swfobject.js"></script>

<div id="my_chart"></div>

<script type="text/javascript">
var so = new SWFObject("../actionscript/open-flash-chart.swf", "ofc", "250", "200", "9", "#FFFFFF");
//so.addVariable("data", "../data-files/data-20.txt");

so.addVariable("variables","true");

so.addVariable("title","中文,{font-size:30px; color:#000000}");
so.addVariable("pie","60,#9933CC,#000000");
so.addVariable("values","15,25,60");
so.addVariable("colours","#d01f3c,#356aa0,#C79810");
so.addVariable("links","javascript:alert('15%25'),javascript:alert('25%25'),javascript:alert('60%25')");
so.addVariable("pie_labels","January,Feb,March,April,May,June,July,August,Sept");
so.addVariable("tool_tip","#x_label#<br>Value: #val#%25");

so.addParam("allowScriptAccess", "always" );//"sameDomain");
so.write("my_chart");
</script>

<div>boo</div>

</body>
</html>

Thanks.

Sorry for my english and also for not being able to locate the bug, I have no idea about actionscript :(

Regards.

Discussion

  • iago
    iago
    2008-01-30

    An example of the error with the posted code

     
    • milestone: --> version-1