survey-analytics 1.9.102 → 1.9.104
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/survey-analytics.types/visualizationPanel.d.ts +0 -7
- package/survey-analytics.types/visualizerBase.d.ts +1 -0
- package/survey-analytics.types/visualizerFactory.d.ts +13 -1
- package/survey.analytics.css +1 -1
- package/survey.analytics.datatables.css +1 -1
- package/survey.analytics.datatables.js +1 -1
- package/survey.analytics.datatables.min.css +1 -1
- package/survey.analytics.datatables.min.js +1 -1
- package/survey.analytics.js +23 -3
- package/survey.analytics.min.css +1 -1
- package/survey.analytics.min.js +2 -2
- package/survey.analytics.tabulator.css +1 -1
- package/survey.analytics.tabulator.js +1 -1
- package/survey.analytics.tabulator.min.css +1 -1
- package/survey.analytics.tabulator.min.js +1 -1
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"lint": "eslint ./src --quiet",
|
|
21
21
|
"pre-push-check": "npm run lint && npm run test"
|
|
22
22
|
},
|
|
23
|
-
"version": "1.9.
|
|
23
|
+
"version": "1.9.104",
|
|
24
24
|
"name": "survey-analytics",
|
|
25
25
|
"description": "SurveyJS analytics Library.",
|
|
26
26
|
"main": "survey.analytics.js",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"jquery": "3.5.0",
|
|
59
59
|
"muuri": "^0.8.0",
|
|
60
60
|
"plotly.js-dist-min": "^2.11.1",
|
|
61
|
-
"survey-core": "1.9.
|
|
61
|
+
"survey-core": "1.9.104",
|
|
62
62
|
"tabulator-tables": "4.8.4",
|
|
63
63
|
"wordcloud": "^1.2.2"
|
|
64
64
|
},
|
|
@@ -121,13 +121,6 @@ export interface IVisualizationPanelOptions {
|
|
|
121
121
|
* @see showOnlyPercentages
|
|
122
122
|
*/
|
|
123
123
|
percentagePrecision?: number;
|
|
124
|
-
/**
|
|
125
|
-
* Removes the Free Trial bar.
|
|
126
|
-
*
|
|
127
|
-
* Default value: `false`
|
|
128
|
-
*
|
|
129
|
-
* > You can enable this property only if you have a SurveyJS Dashboard commercial license. It is illegal to enable this property without a license.
|
|
130
|
-
*/
|
|
131
124
|
haveCommercialLicense?: boolean;
|
|
132
125
|
/**
|
|
133
126
|
* Allows users to sort answers by answer count. Applies only to bar and scatter charts.
|
|
@@ -154,6 +154,7 @@ export declare class VisualizerBase implements IDataInfo {
|
|
|
154
154
|
* @param creator A function that accepts the toolbar and should return an `HTMLElement` with the toolbar item.
|
|
155
155
|
*/
|
|
156
156
|
registerToolbarItem(name: string, creator: (toolbar?: HTMLDivElement) => HTMLElement): void;
|
|
157
|
+
unregisterToolbarItem(name: string): (toolbar?: HTMLDivElement) => HTMLElement;
|
|
157
158
|
/**
|
|
158
159
|
* Returns the visualizer's type.
|
|
159
160
|
*/
|
|
@@ -5,7 +5,19 @@ import { VisualizerBase } from "./visualizerBase";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class VisualizerFactory {
|
|
7
7
|
/**
|
|
8
|
-
* Creates a visualizer for a
|
|
8
|
+
* Creates a visualizer for a single question.
|
|
9
|
+
*
|
|
10
|
+
* ```js
|
|
11
|
+
* import { VisualizerFactory } from "survey-analytics";
|
|
12
|
+
*
|
|
13
|
+
* const visualizer = new VisualizerFactory.createVisualizer(
|
|
14
|
+
* question,
|
|
15
|
+
* data,
|
|
16
|
+
* options
|
|
17
|
+
* );
|
|
18
|
+
*
|
|
19
|
+
* visualizer.render("containerId")
|
|
20
|
+
* ```
|
|
9
21
|
*
|
|
10
22
|
* If a question has more than one [registered](https://surveyjs.io/dashboard/documentation/api-reference/visualizationmanager#registerVisualizer) visualizer, users can switch between them using a drop-down menu.
|
|
11
23
|
* @param question A question for which to create a visualizer.
|
package/survey.analytics.css
CHANGED