Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Pentaho 5.0.1 CE。我的要求是将一种图表(仪表板)转换为另一种,
例如:当用户在现有图表中放置图像时,饼图到条形图。
我是 Pentaho 的新手。我经历了这个,但没有运气。
您不能即时切换图表类型。解决方案是创建多个图表,每种类型之一,并根据参数值启用/禁用图表,在组件的 preExec 上使用类似这样的内容:
function(){ return chartType == "Pie" }
如果 chartType 变量是 Pie preExec 返回 true 并且组件被执行。否则不是。