我在网上下载的open flash chart,版本是:open-flash-chart-2-Lug-Wyrm-Charmer我运行自带的例子为什么不显示图表?而是显示的这些东西呢?原代码如下:
<?php
/**
* PHP Integration of Open Flash Chart
* Copyright (C) 2008 John Glazebrook <[email protected]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/require_once('../lib/OFC/OFC_Chart.php');$title = new OFC_Elements_Title( date("D M d Y") );$bar = new OFC_Charts_Bar_Glass();
$bar->set_values( array(9,8,7,6,5,4,3,2,1) );$chart = new OFC_Chart();
$chart->set_title( $title );
$chart->add_element( $bar );echo $chart->toString();
?>显示结果:{"title":{"text":"Tue Apr 17 2012"},"elements":[{"type":"bar_glass","values":[9,8,7,6,5,4,3,2,1]}]}
请问有大虾知道吗?急,在线等。谢谢!
<?php
/**
* PHP Integration of Open Flash Chart
* Copyright (C) 2008 John Glazebrook <[email protected]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/require_once('../lib/OFC/OFC_Chart.php');$title = new OFC_Elements_Title( date("D M d Y") );$bar = new OFC_Charts_Bar_Glass();
$bar->set_values( array(9,8,7,6,5,4,3,2,1) );$chart = new OFC_Chart();
$chart->set_title( $title );
$chart->add_element( $bar );echo $chart->toString();
?>显示结果:{"title":{"text":"Tue Apr 17 2012"},"elements":[{"type":"bar_glass","values":[9,8,7,6,5,4,3,2,1]}]}
请问有大虾知道吗?急,在线等。谢谢!
nyMap是AnyChart Flash图表的扩展AnyMap互动地图是一个独特的功能。它可以使地理信息相关数据可视化。
下面是AnyMap的一些解决方案1, 可用于创建Drilldown Maps2, 创建相关的地理组合图3, 用于房地产、销售统计、人口统计等4, 可用于数学统计、报表数据等5, 可视的市场调研报表6, 为Web站点创建区域选择器。
AnyChart Flash地图特点 支持在地图里绘制自定义ers, bubbles, lines and connectors等
使用SHP文件创建自定义地图,如果有SHP文件包含你需要的地图,你可以联系AnyChart,他们将转换它为AnyMap兼容的格式
支持以地图投影的十分之一显示任何地图
使用地图坐标(经度,纬度)在地图上添加自定义点
根据你数据库里存储的数据,自动控制每个地图的颜色
支持为地图添加legend, labels and tooltips
为任何地图区域附上自定义操作,使你可以创建出交互式的Web应用程序
您的服务器不需要传输任何图片,不需要安装任何ActiveX插件,所有的图表及图片都会在客户端运行。全球有超过97%的PC都安装了Flash播放器
AnyMap为您提供多个属性选项,例如设置透明度、颜色、URL链接、标题等等。您也可以通过XML文件进行自定义设置,无需修改Flash源代码。