iccube-reporting

IcCube - javascript function applied to all reports

末鹿安然 提交于 2020-01-06 02:53:04
问题 It is possible to place javascript code into ic3report-local.js to be used in every report. A function in there can be called in the Javascript of a report. But is it possible, to have a function in there being fired at a specific event (for example after build) in every report automatically? Or do I have to call it in every report? We would like to add a glossary to every report after build. 回答1: You can try attaching to global reporting events: var reporting = ic3.startReport(options);

icCube - How to do Authentication for icCube using an Apache web server

一世执手 提交于 2019-12-20 04:32:55
问题 I am currently in the process of writing a WebApp to access reports from our ICCube-System. The Application page is hosted on a server different to the IcCube-server. The server is currently a local Apache server (xampp) using Basic Auth to authenticate users before they can access my htdocs. I would like my Apache to do the authentication while icCube's internal authorization manages report access, with only a single login being required. My application is based on the live demo for web

How to use a static range and display members according a TOP(x) style query

邮差的信 提交于 2019-12-11 06:11:46
问题 We are trying to add a slider jquery widget, and would like to define a static range, say percentage from 0% to 100%. Then we would like to use the value from the slider in that range as the parameter for the TOP(x), as shown on the picture. Is this possible? Any hints ? 回答1: I've created an example report for you, import it using the default [Sales] schema https://drive.google.com/file/d/0B3kSph_LgXizdk9OdnlTWkxHa1U/view?usp=sharing You could achieve this functionality by using the next

iccube set filter selection from custom widget (JS)

梦想与她 提交于 2019-12-08 05:34:08
问题 Using icCube 5.0, I created a custom widget using google maps, on which I draw polygons representing zones. From the JS code of this widget, I was able to update the selected items of a tree filter containing these zones as well. So that, user could select the wanted zones either by the tree filter OR the Map. Each one updating the other. I was using the following code to do that : Chart.prototype.producedEvents = function () { return [vizEventType.onSelection]; }; self.fireEvent(vizEventType

Can you make the bubble size and color dependend on a MDX measure in icCube amChart widget?

心已入冬 提交于 2019-12-08 01:10:49
问题 I am trying to make a dynamic chart in icCube, in which bubbles are sized and colored in accordance with a specific data field in the MDX result set. Example MDX result set: (the x/y coordinates have been removed for the sake of simplicity): amount color bullet size Swiss 100 #0000FF 10 Spain 120 #FF0000 12 NL 70 #00FF00 7 I do not know how to do this now in the amChart widget in icCube, but I know it is possible to do this in amCharts itself. You can set for example the following attributes

iccube set filter selection from custom widget (JS)

穿精又带淫゛_ 提交于 2019-12-06 14:49:24
Using icCube 5.0, I created a custom widget using google maps, on which I draw polygons representing zones. From the JS code of this widget, I was able to update the selected items of a tree filter containing these zones as well. So that, user could select the wanted zones either by the tree filter OR the Map. Each one updating the other. I was using the following code to do that : Chart.prototype.producedEvents = function () { return [vizEventType.onSelection]; }; self.fireEvent(vizEventType.onSelection, new viz.SetSelectionEvent(SelectedZones)); I upgraded to version 5.1.6, this is not

Can you make the bubble size and color dependend on a MDX measure in icCube amChart widget?

馋奶兔 提交于 2019-12-06 13:33:54
I am trying to make a dynamic chart in icCube, in which bubbles are sized and colored in accordance with a specific data field in the MDX result set. Example MDX result set: (the x/y coordinates have been removed for the sake of simplicity): amount color bullet size Swiss 100 #0000FF 10 Spain 120 #FF0000 12 NL 70 #00FF00 7 I do not know how to do this now in the amChart widget in icCube, but I know it is possible to do this in amCharts itself. You can set for example the following attributes in the amCharts editor: Alpha field, Bullet field, Bullet size field, Description field, Fill colors

icCube - How to do Authentication for icCube using an Apache web server

佐手、 提交于 2019-12-02 07:06:41
I am currently in the process of writing a WebApp to access reports from our ICCube-System. The Application page is hosted on a server different to the IcCube-server. The server is currently a local Apache server (xampp) using Basic Auth to authenticate users before they can access my htdocs. I would like my Apache to do the authentication while icCube's internal authorization manages report access, with only a single login being required. My application is based on the live demo for web reporting provided by IcCube; therefore it's using explicit JavaScript authentication (it's getting the

Google Combo Chart with multiple series, how to add custom HTML Tooltip

谁都会走 提交于 2019-11-28 11:42:20
I've Google combo chart and like to add a Tooltip. The icCube documention has an example how to add a HTML tooltip but this will not work for series, only the last item in the serie gets the tooltip. I found an answer how to do this, see this post . But how can I achieve this in icCube? for google charts, you can reference the Data Format of the specific chart for most, the tooltip follows the series column to have multiple series, each with it's own custom html tooltip , add a column after each series column NOTE : for custom html tooltips to work, the following must be in place... the column

Google Combo Chart with multiple series, how to add custom HTML Tooltip

随声附和 提交于 2019-11-27 06:24:46
问题 I've Google combo chart and like to add a Tooltip. The icCube documention has an example how to add a HTML tooltip but this will not work for series, only the last item in the serie gets the tooltip. I found an answer how to do this, see this post. But how can I achieve this in icCube? 回答1: for google charts, you can reference the Data Format of the specific chart for most, the tooltip follows the series column to have multiple series, each with it's own custom html tooltip , add a column