`

Pentaho整合FusionCharts的插件pentaho-fc-plugin安装配置

 
阅读更多

原创文章,转载请注明出处:http://qq85609655.iteye.com/blog/2372421

 

参考资料:

https://github.com/xpandit/pentaho-fc-plugin/wiki/Manual

https://github.com/xpandit/pentaho-fc-plugin/wiki/IntegrationCDE

 

 

1. Change the file system/ImportHandlerMimeTypeDefinitions.xml to allow xFusion files. Add this handler at the bottom of file:

 

<ImportHandler class="org.pentaho.platform.plugin.services.importer.RepositoryFileImportFileHandler">

  <MimeTypeDefinitions>

    <MimeTypeDefinition mimeType="text/plain" hidden="false" converter="streamConverter">

      <extension>xfusion</extension>

    </MimeTypeDefinition>

  </MimeTypeDefinitions>

</ImportHandler>

 

2. Change the file system/importExport.xml adding xfusion in 1 places:

 

<bean id="DefaultExportHandler" class="org.pentaho.platform.plugin.services.importexport.DefaultExportHandler">

  <property name="repository" ref="unifiedRepository" />

  <property name="localeExportList">

    <list>

        ...

      <value>.xfusion</value>

    </list>

  </property>

</bean>

 

 

3. Update file system/pentaho-cdf-dd/resources/styles/Clean.html

 

<script type='text/javascript' src="/pentaho/content/xfusion/JSClass/FusionCharts.js"></script>

<script type='text/javascript' src="/pentaho/content/xfusion/JSClass/fusioncharts.charts.js"></script>

<script type="text/javascript" src="/pentaho/content/xfusion/js/XPCharts.js"></script>

<script type="text/javascript" src="/pentaho/content/xfusion/js/XDashFusionChartComponent.js"></script>

<script type="text/javascript" src="/pentaho/content/xfusion/js/CDE.js"></script>

 

4. Installing FusionCharts XT

 

Use the FusionCharts XT installation available in Tools -> FusionCharts Manager to install the zip.

 

Key C68735E691AE95

 

 

整合过程中遇到一些问题,特别记录下:

1. 拥有参数的情况下

FusionCharts 无法传递参数

XDashFusionChartComponent.js

doCDAQuery方法

1269行:

queryData[prefix.concat(parameters[i][0])]=Dashboards.getParameterValue(parameters[i][0]);

2. 雷达图

Categories CDA Path 的数据源,需要输出字段名称为label,需要通过Calculated Columns重新命名

lable =[name]

3. 无法显示

0
1
分享到:
评论

相关推荐

    maven编译pentaho-big-data-plugin遇到的所有问题解决

    maven编译pentaho-big-data-plugin遇到的所有问题解决,pentaho6.0

    pentaho-aggdesigner-algorithm-5.1.5-jhyde-API文档-中文版.zip

    赠送jar包:pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar; 赠送原API文档:pentaho-aggdesigner-algorithm-5.1.5-jhyde-javadoc.jar; 赠送源代码:pentaho-aggdesigner-algorithm-5.1.5-jhyde-sources.jar; ...

    (Hive输出)pentaho-big-data-kettle-plugins-hive-6.1.0.1-196

    (Hive输出)ETLDesigner\common\system\karaf\system\pentaho\pentaho-big-data-kettle-plugins-hive\6.1.0.1-196\下的文件。 (Hive输出)pentaho-big-data-kettle-plugins-hive-6.1.0.1-196。

    pentaho-aggdesigner-algorithm-5.1.5-jhyde.tar

    解决 Cannot resolve org.pentaho:pentaho-aggdesigner-algorithm:5.1.5-jhyde jar放入D根目录执行: 以下命令加入本地maven库 mvn install:install-file -DgroupId=org.pentaho -DartifactId=pentaho-aggdesigner-...

    pentaho-aggdesigner-algorithm-5.1.5-jhyde.zip

    org / pentaho / pentaho-aggdesigner-algorithm / 5.1.5-jhyde / pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar,解决maven引入hive的jar包时依赖报错Could not find artifact org.pentaho:pentaho-aggdesigner-...

    pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar.zip

    解决maven引入hive的jar包时依赖报错Could not find artifact org.pentaho:pentaho-aggdesigner-algorithm:pom:5.1.5-jhyde in xxx的问题,maven路径org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho...

    java maven 仓库包 pentaho-aggdesigner-algorithm-5.1.3-jhyde.jar

    java maven 仓库包 pentaho-aggdesigner-algorithm-5.1.3-jhyde.jar

    pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar

    在本例中,pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar包含了所有必要的类和元数据,使得开发者能在他们的Java应用程序或服务器中使用AggDesigner的算法功能。 ._pentaho-aggdesigner-algorithm-5.1.5-jhyde....

    pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar.7z

    "pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar"正是为了解决这个问题而提供的文件。 Pentaho Data Integration(简称PDI,又称Kettle)是一个开源的数据集成工具,它允许用户从各种不同的数据源抽取、转换和加载...

    pentaho-kafka-producer.zip

    2. **解压插件**:下载`pentaho-kafka-producer.zip`文件后,使用解压缩工具将其解压。这将包含插件的各类文件,如Java类、配置文件等。 3. **复制到steps文件夹**:将解压后的所有文件和文件夹复制到`安装目录&gt;/...

    在Linux上安装pentaho bi-server

    base.dir=../../pentaho-solutions/system/GettingStartedDB tcp.port=9093 ``` 同时还需要编辑`/etc/hosts`文件,为机器分配一个IP地址,例如: ```bash 127.0.0.1 localhost template 127.0.0.1 &lt;机器名称&gt; ``` ...

    pentaho-kettle9.5版本pdi-ce-9.5.0.1-261

    pentaho-kettle是开源的etl工具,这个是自编译的kettle9.5版本pdi-ce-9.5.0.1-261,请使用JDK17运行,支持macos m1芯片 win,linux,解压就能用。如果有条件也可以自己编译,具体可以看我的csdn博客,kettle 从9.4 ...

    pentaho-kettle-8.2.zip

    这个名为“pentaho-kettle-8.2.zip”的压缩包文件包含了Pentaho Data Integration(Kettle)的第8.2版本。Pentaho Kettle通过图形化的界面提供了一套全面的数据集成解决方案,使得数据的抽取、清洗、转换和加载过程...

    Pentaho-Data-Integration-完全自学手册.2016.12.11

    ### Pentaho Data Integration (Kettle) 完全自学手册知识点概览 #### 一、Kettle基础介绍 - **Kettle概述**:Pentaho Data Integration(简称PDI),也称为Kettle,是一款开源的数据集成工具,主要用于企业级的...

Global site tag (gtag.js) - Google Analytics