作者aska13 (闲云野鹤)
看板PHP
标题[心得] PHP/SWF Charts ---好用图表工具
时间Wed Sep 21 14:14:55 2005
最近发现的
http://www.maani.us/
我搜寻了几个PHP相关的图表工具, 还是这一套最好.
可以Free Download, 唯一的限制是点图会连结到官方网站
若要免除这个限制,可以付费买licence
另外中文支援不是很方便.
看起来要稍微修改一下.
有修改成功的朋友别忘了上来告知一下.
给点提示:
1:改font
2:文字部分要转码成UTF-8
官方说明
Fonts
PHP/SWF Charts has the font Arial bold embedded in it.
By setting the above font attribute to Arial, and the bold
attribute to true, the embedded font makes the text look
identical on all machines, regardless of whether the machine
has this font or not. Other advantages of an embedded font is
that it can be rotated, and it can be rendered transparently.
The disadvantage is that it increases the size of the flash
file, the reason why the tool only has one embedded font.
(The gallery only uses this font.)
You may set the above font attribute to any other non-embedded
font. If the local machine doesn't have the exact font, Flash
uses whatever font most closely resembles it. Non-embedded fonts
may look different than expected, but can be sharper and more
legible than embedded fonts at small point sizes (below 10 points.)
When non-embedded fonts are used, any rotation and alpha attributes
are ignored. Text using a non-embedded font is always displayed
horizontally, and fully opaque.
To display special characters or languages other than English, type
unicode text, save the source in UTF-8 or UTF-16, and pick a font that
can display the special characters. The embedded Arial font can display
characters with accents for most of the european languages. If it's not
sufficient, then pick another non-embedded font instead.
One way to display any text without worrying about fonts is by including
it as JPEG images or SWF flash files, using the draw image function.
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 219.84.99.153