survey-analytics 1.9.38 → 1.9.41
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 +1 -1
- package/survey.analytics.css +1 -1
- package/survey.analytics.d.ts +19 -4
- package/survey.analytics.datatables.css +1 -1
- package/survey.analytics.datatables.js +5 -3
- package/survey.analytics.datatables.min.css +1 -1
- package/survey.analytics.datatables.min.js +2 -2
- package/survey.analytics.js +21 -6
- 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 +19 -3
- package/survey.analytics.tabulator.min.css +1 -1
- package/survey.analytics.tabulator.min.js +2 -2
package/package.json
CHANGED
package/survey.analytics.css
CHANGED
package/survey.analytics.d.ts
CHANGED
|
@@ -1022,6 +1022,7 @@ declare module "histogram" {
|
|
|
1022
1022
|
continious: number;
|
|
1023
1023
|
}[];
|
|
1024
1024
|
protected isSupportMissingAnswers(): boolean;
|
|
1025
|
+
protected get needUseRateValues(): boolean;
|
|
1025
1026
|
getValues(): Array<any>;
|
|
1026
1027
|
getLabels(): Array<string>;
|
|
1027
1028
|
get hasCustomIntervals(): boolean;
|
|
@@ -1139,6 +1140,7 @@ declare module "visualizationPanel" {
|
|
|
1139
1140
|
export interface IVisualizationPanelOptions {
|
|
1140
1141
|
/**
|
|
1141
1142
|
* The number of label characters after which truncation starts.
|
|
1143
|
+
*
|
|
1142
1144
|
* Set this property to -1 to disable truncation.
|
|
1143
1145
|
*
|
|
1144
1146
|
* Default value: 27
|
|
@@ -1158,6 +1160,7 @@ declare module "visualizationPanel" {
|
|
|
1158
1160
|
dataProvider?: DataProvider;
|
|
1159
1161
|
/**
|
|
1160
1162
|
* Allows users to change the visibility of individual charts.
|
|
1163
|
+
*
|
|
1161
1164
|
* This property adds a Hide button to each chart.
|
|
1162
1165
|
*
|
|
1163
1166
|
* Default value: `true`
|
|
@@ -1165,7 +1168,8 @@ declare module "visualizationPanel" {
|
|
|
1165
1168
|
allowHideQuestions?: boolean;
|
|
1166
1169
|
/**
|
|
1167
1170
|
* Specifies whether to arrange charts based on the available screen space and allow users to reorder them via drag and drop.
|
|
1168
|
-
*
|
|
1171
|
+
*
|
|
1172
|
+
* If this property is disabled, charts are displayed one under the other and users cannot reorder them.
|
|
1169
1173
|
*
|
|
1170
1174
|
* Default value: `true`
|
|
1171
1175
|
*
|
|
@@ -1176,6 +1180,7 @@ declare module "visualizationPanel" {
|
|
|
1176
1180
|
allowDynamicLayout?: boolean;
|
|
1177
1181
|
/**
|
|
1178
1182
|
* A layout engine used to arrange charts on the Visualization Panel.
|
|
1183
|
+
*
|
|
1179
1184
|
* You can use this property to integrate a third-party layout engine with SurveyJS Analytics.
|
|
1180
1185
|
*
|
|
1181
1186
|
* @see allowDynamicLayout
|
|
@@ -1183,6 +1188,7 @@ declare module "visualizationPanel" {
|
|
|
1183
1188
|
layoutEngine?: LayoutEngine;
|
|
1184
1189
|
/**
|
|
1185
1190
|
* Allows users to switch between absolute and percentage values in bar charts.
|
|
1191
|
+
*
|
|
1186
1192
|
* This property adds a Show Percentages button to each bar chart.
|
|
1187
1193
|
*
|
|
1188
1194
|
* Default value: `false`
|
|
@@ -1194,6 +1200,7 @@ declare module "visualizationPanel" {
|
|
|
1194
1200
|
allowShowPercentages?: boolean;
|
|
1195
1201
|
/**
|
|
1196
1202
|
* Specifies whether bar charts display percentages in addition to absolute values.
|
|
1203
|
+
*
|
|
1197
1204
|
* Users can change this property value if you enable the `allowShowPercentages` property.
|
|
1198
1205
|
*
|
|
1199
1206
|
* Default value: `false`
|
|
@@ -1205,7 +1212,8 @@ declare module "visualizationPanel" {
|
|
|
1205
1212
|
showPercentages?: boolean;
|
|
1206
1213
|
/**
|
|
1207
1214
|
* Specifies whether bar charts display only percentages, without absolute values.
|
|
1208
|
-
*
|
|
1215
|
+
*
|
|
1216
|
+
* Applies only if the `allowShowPercentages` or `showPercentages` property is enabled.
|
|
1209
1217
|
*
|
|
1210
1218
|
* Default value: `false`
|
|
1211
1219
|
*
|
|
@@ -1234,6 +1242,7 @@ declare module "visualizationPanel" {
|
|
|
1234
1242
|
haveCommercialLicense?: boolean;
|
|
1235
1243
|
/**
|
|
1236
1244
|
* Allows users to sort answers by answer count. Applies only to bar and scatter charts.
|
|
1245
|
+
*
|
|
1237
1246
|
* This property adds a Sorting dropdown to each bar and scatter chart.
|
|
1238
1247
|
*
|
|
1239
1248
|
* Default value: `true`
|
|
@@ -1256,6 +1265,7 @@ declare module "visualizationPanel" {
|
|
|
1256
1265
|
answersOrder?: "default" | "asc" | "desc";
|
|
1257
1266
|
/**
|
|
1258
1267
|
* Allows users to hide answers with zero count in bar and scatter charts.
|
|
1268
|
+
*
|
|
1259
1269
|
* This property adds a Hide Empty Answers button to each bar and scatter chart.
|
|
1260
1270
|
*
|
|
1261
1271
|
* Default value: `false`
|
|
@@ -1263,6 +1273,7 @@ declare module "visualizationPanel" {
|
|
|
1263
1273
|
allowHideEmptyAnswers?: boolean;
|
|
1264
1274
|
/**
|
|
1265
1275
|
* Hides answers with zero count in bar and scatter charts.
|
|
1276
|
+
*
|
|
1266
1277
|
* Users can change this property value if you enable the `allowHideEmptyAnswers` property.
|
|
1267
1278
|
*
|
|
1268
1279
|
* Default value: `false`
|
|
@@ -1272,6 +1283,7 @@ declare module "visualizationPanel" {
|
|
|
1272
1283
|
hideEmptyAnswers?: boolean;
|
|
1273
1284
|
/**
|
|
1274
1285
|
* Allows users to select whether to show top 5, 10, or 20 answers by answer count.
|
|
1286
|
+
*
|
|
1275
1287
|
* This property adds a Top N Answers dropdown to each chart.
|
|
1276
1288
|
*
|
|
1277
1289
|
* Default value: `false`
|
|
@@ -1279,6 +1291,7 @@ declare module "visualizationPanel" {
|
|
|
1279
1291
|
allowTopNAnswers?: boolean;
|
|
1280
1292
|
/**
|
|
1281
1293
|
* Allows users to show the number of respondents who did not answer a particular question.
|
|
1294
|
+
*
|
|
1282
1295
|
* This property adds a Show Missing Answers button to each chart.
|
|
1283
1296
|
*
|
|
1284
1297
|
* Default value: `false`
|
|
@@ -1307,13 +1320,14 @@ declare module "visualizationPanel" {
|
|
|
1307
1320
|
defaultChartType?: string;
|
|
1308
1321
|
/**
|
|
1309
1322
|
* Allows users to transpose a visualized matrix question.
|
|
1310
|
-
*
|
|
1323
|
+
*
|
|
1324
|
+
* This property adds a Transpose button to charts that visualize matrixes. When users select Per Values, matrix rows go to chart arguments and matrix columns form chart series. When users select Per Columns, matrix rows form chart series and matrix columns go to chart arguments.
|
|
1311
1325
|
*
|
|
1312
1326
|
* Default value: `false`
|
|
1313
1327
|
*/
|
|
1314
1328
|
allowTransposeData?: boolean;
|
|
1315
1329
|
/**
|
|
1316
|
-
* Allows users to cross-filter charts. The filter applies when users
|
|
1330
|
+
* Allows users to cross-filter charts. The filter applies when users select a series point.
|
|
1317
1331
|
*
|
|
1318
1332
|
* Default value: `true`
|
|
1319
1333
|
*/
|
|
@@ -1322,6 +1336,7 @@ declare module "visualizationPanel" {
|
|
|
1322
1336
|
destroyContent?: Function;
|
|
1323
1337
|
/**
|
|
1324
1338
|
* Removes HTML tags from survey element titles.
|
|
1339
|
+
*
|
|
1325
1340
|
* Survey element titles can contain HTML markup and are specified by users. An attacker can inject malicious code into the titles. To guard against it, keep this property set to `true`.
|
|
1326
1341
|
*
|
|
1327
1342
|
* Default value: `true`
|