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 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.102",
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.102",
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 specified question.
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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v1.9.102
2
+ * surveyjs - SurveyJS Dashboard library v1.9.104
3
3
  * Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v1.9.102
2
+ * surveyjs - SurveyJS Dashboard library v1.9.104
3
3
  * Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v1.9.102
2
+ * surveyjs - SurveyJS Dashboard library v1.9.104
3
3
  * Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v1.9.102
2
+ * surveyjs - SurveyJS Dashboard library v1.9.104
3
3
  * Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v1.9.102
2
+ * surveyjs - SurveyJS Dashboard library v1.9.104
3
3
  * Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */