@splunk/visualizations 24.7.0 → 25.0.0

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.
Files changed (285) hide show
  1. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_Tooltip_ChoroplethTooltip.png +0 -0
  2. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_Tooltip_ChoroplethTooltip_with_additional_fields.png +0 -0
  3. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_choropleth_layer.png +0 -0
  4. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Area_Editor.png +0 -0
  5. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bar_Editor.png +0 -0
  6. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bubble_Editor.png +0 -0
  7. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_ChoroplethSvg_Editor.png +0 -0
  8. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Column_Editor.png +0 -0
  9. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Ellipse_Editor.png +0 -0
  10. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_FillerGauge_Editor.png +0 -0
  11. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Image_Editor.png +0 -0
  12. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Line_Editor.png +0 -0
  13. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_LinkGraph_Editor.png +0 -0
  14. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Map_Editor.png +0 -0
  15. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Markdown_Editor.png +0 -0
  16. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_MarkerGauge_Editor.png +0 -0
  17. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Parallel_Coordinates_Editor.png +0 -0
  18. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Pie_Editor.png +0 -0
  19. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Punchcard_Editor.png +0 -0
  20. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Rectangle_Editor.png +0 -0
  21. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Sankey_Editor.png +0 -0
  22. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Scatter_Editor.png +0 -0
  23. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Editor.png +0 -0
  24. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Icon_Editor.png +0 -0
  25. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Radial_Editor.png +0 -0
  26. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Table_Editor.png +0 -0
  27. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Background_Color_grey.png +0 -0
  28. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Basic_Bubble.png +0 -0
  29. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Bubble_Size_Max_90.png +0 -0
  30. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Bubble_Size_Method_area_default.png +0 -0
  31. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Bubble_Size_Method_diameter.png +0 -0
  32. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Bubble_Size_Min_40.png +0 -0
  33. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Result_Limit_0_Number_of_Results_30.png +0 -0
  34. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Result_Limit_10_Number_of_Results_30.png +0 -0
  35. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Result_Limit_3a_invalid_Number_of_Results_30.png +0 -0
  36. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Result_Limit_50_Number_of_Results_30.png +0 -0
  37. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_X_Axis_Extend_Range_false.png +0 -0
  38. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_X_Axis_Extend_Range_true_default.png +0 -0
  39. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_X_Axis_Minor_Grid_true.png +0 -0
  40. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_X_Axis_With_Zero_false_default.png +0 -0
  41. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_X_Axis_With_Zero_true.png +0 -0
  42. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_Y_Axis_Extend_Range_false.png +0 -0
  43. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_Y_Axis_Extend_Range_true_default.png +0 -0
  44. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_Y_Axis_Major_Grid_false.png +0 -0
  45. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_Y_Axis_Minor_Grid_true.png +0 -0
  46. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_Y_Axis_With_Zero_false_default.png +0 -0
  47. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_Y_Axis_With_Zero_true.png +0 -0
  48. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Label_Rotation_45.png +0 -0
  49. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Label_Rotation_90.png +0 -0
  50. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Label_Rotation_negative_45.png +0 -0
  51. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Label_Rotation_negative_90.png +0 -0
  52. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Label_Visibility_and_Y_Axis_Label_Visibility_hide.png +0 -0
  53. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Line_Visibility_hide_default.png +0 -0
  54. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Line_Visibility_show.png +0 -0
  55. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Major_Tick_Interval_6.png +0 -0
  56. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Major_Tick_Size_15_Minor_Tick_Size_10.png +0 -0
  57. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Major_Tick_Visibility_hide.png +0 -0
  58. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Major_Tick_Visibility_show.png +0 -0
  59. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Maximum_Number_14.png +0 -0
  60. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Minimum_Number_10.png +0 -0
  61. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Minor_Tick_Visibility_hide.png +0 -0
  62. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Minor_Tick_Visibility_show.png +0 -0
  63. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Scale_log.png +0 -0
  64. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Abbreviation_auto_default.png +0 -0
  65. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Abbreviation_off.png +0 -0
  66. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Line_Visibility_show.png +0 -0
  67. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Major_Tick_Interval_150.png +0 -0
  68. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Major_Tick_Size_15_Minor_Tick_Size_10.png +0 -0
  69. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Major_Tick_Visibility_hide.png +0 -0
  70. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Major_Tick_Visibility_show.png +0 -0
  71. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Maximum_Number_1500.png +0 -0
  72. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Minimum_Number_500.png +0 -0
  73. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Minor_Tick_Visibility_hide.png +0 -0
  74. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Minor_Tick_Visibility_show.png +0 -0
  75. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Scale_log.png +0 -0
  76. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_and_X_Axis_Title_Text_hide.png +0 -0
  77. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_and_X_Axis_Title_Text_specified.png +0 -0
  78. package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Multiple_Overlay_Fields_with_space_specified.png +0 -0
  79. package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Overlay_Field_with_space_specified.png +0 -0
  80. package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y2_Axis_Mapped_Field_With_Space_specified.png +0 -0
  81. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer.png +0 -0
  82. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_Opacities_scaled_to_be_less_than_max_of_0_8.png +0 -0
  83. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_Result_Limit_Set_To_1.png +0 -0
  84. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_String_GeoJson_Data.png +0 -0
  85. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_With_additional_fields.png +0 -0
  86. package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Background_Color_af575a.png +0 -0
  87. package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Basic_Markdown.png +0 -0
  88. package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Begin_with_Text_Instead_of_Header.png +0 -0
  89. package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Color_purple.png +0 -0
  90. package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Size_extraLarge.png +0 -0
  91. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Background_Color_grey.png +0 -0
  92. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Basic_Scatter.png +0 -0
  93. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Marker_Size_7.png +0 -0
  94. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_X_Axis_Extend_Range_false.png +0 -0
  95. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_X_Axis_Extend_Range_true_default.png +0 -0
  96. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_X_Axis_Minor_Grid_true.png +0 -0
  97. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_X_Axis_With_Zero_false_default.png +0 -0
  98. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_X_Axis_With_Zero_true.png +0 -0
  99. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_Y_Axis_Extend_Range_false.png +0 -0
  100. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_Y_Axis_Extend_Range_true_default.png +0 -0
  101. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_Y_Axis_Major_Grid_false.png +0 -0
  102. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_Y_Axis_Minor_Grid_true.png +0 -0
  103. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_Y_Axis_With_Zero_false_default.png +0 -0
  104. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_Y_Axis_With_Zero_true.png +0 -0
  105. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Label_Rotation_45.png +0 -0
  106. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Label_Rotation_90.png +0 -0
  107. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Label_Rotation_negative_45.png +0 -0
  108. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Label_Rotation_negative_90.png +0 -0
  109. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Label_Visibility_and_Y_Axis_Label_Visibility_hide.png +0 -0
  110. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Line_Visibility_hide_default.png +0 -0
  111. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Line_Visibility_show.png +0 -0
  112. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Major_Tick_Interval_6.png +0 -0
  113. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Major_Tick_Size_15_X_Axis_Minor_Tick_Size_10.png +0 -0
  114. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Major_Tick_Visibility_hide.png +0 -0
  115. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Major_Tick_Visibility_show.png +0 -0
  116. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Maximum_Number_14.png +0 -0
  117. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Minimum_Number_10.png +0 -0
  118. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Minor_Tick_Visibility_hide.png +0 -0
  119. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Minor_Tick_Visibility_show.png +0 -0
  120. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Scale_log.png +0 -0
  121. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Title_Text_and_Y_Axis_Title_Text_hide.png +0 -0
  122. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Title_Text_and_Y_Axis_Title_Text_specified.png +0 -0
  123. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Line_Visibility_show.png +0 -0
  124. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Major_Tick_Interval_150.png +0 -0
  125. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Major_Tick_Size_15_Y_Axis_Minor_Tick_Size_10.png +0 -0
  126. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Major_Tick_Visibility_hide.png +0 -0
  127. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Major_Tick_Visibility_show.png +0 -0
  128. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Maximum_Number_1000.png +0 -0
  129. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Minimum_Number_500.png +0 -0
  130. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Minor_Tick_Visibility_hide.png +0 -0
  131. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Minor_Tick_Visibility_show.png +0 -0
  132. package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Scale_log.png +0 -0
  133. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon.png +0 -0
  134. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Change_Icon_Color_For_A_Remote_Icon.png +0 -0
  135. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Set_The_Icon_As_A_Remote_Icon.png +0 -0
  136. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Set_the_backgroundColor_based_on_the_majorValue.png +0 -0
  137. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Set_the_icon_color_based_on_the_majorValue.png +0 -0
  138. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Set_the_majorColor_based_on_the_majorValue.png +0 -0
  139. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Use_Mixed_Type_Series_Data.png +0 -0
  140. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Use_Time_Type_Series_Data.png +0 -0
  141. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Background_From_Major_Value.png +0 -0
  142. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Background_From_Trend_Value.png +0 -0
  143. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial.png +0 -0
  144. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Major_Value_Color.png +0 -0
  145. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Major_Value_Color_By_Trend_Value.png +0 -0
  146. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Max_Value_1000.png +0 -0
  147. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Radial_Color_By_Major_Value.png +0 -0
  148. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value.png +0 -0
  149. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Change_The_Color_Of_Major_Value_Based_On_Its_Value.png +0 -0
  150. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Set_The_Background_Color_Based_On_The_Major_Value.png +0 -0
  151. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Set_The_Background_Color_Based_On_The_Trend_Value.png +0 -0
  152. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Set_The_Color_Of_Major_Value_Based_On_The_Trend_Value.png +0 -0
  153. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Set_The_Color_Of_The_Trend_Indicators_And_Number_Based_On_The_Trend_Value.png +0 -0
  154. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Set_The_Major_Value_Based_On_String_Type_Data.png +0 -0
  155. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Trend_Index_Out_Of_Range.png +0 -0
  156. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Use_Mixed_Type_Series_Data.png +0 -0
  157. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Use_Time_Type_Series_Data.png +0 -0
  158. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_Right.png +0 -0
  159. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Column_Width_Auto_Expand_Last_Column.png +0 -0
  160. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Font_Monospace.png +0 -0
  161. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Format_Number_Adv.png +0 -0
  162. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Show_Internal_Fields_false.png +0 -0
  163. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Show_Internal_Fields_true_default.png +0 -0
  164. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Time_Formatting.png +0 -0
  165. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Time_Zone_Time_Formatting.png +0 -0
  166. package/Area.config.js +1119 -241
  167. package/Area.config.js.map +1 -1
  168. package/Area.js +1241 -402
  169. package/Area.js.map +1 -1
  170. package/Bar.config.js +1089 -153
  171. package/Bar.config.js.map +1 -1
  172. package/Bar.js +1262 -365
  173. package/Bar.js.map +1 -1
  174. package/Bubble.config.js +702 -60
  175. package/Bubble.config.js.map +1 -1
  176. package/Bubble.js +806 -203
  177. package/Bubble.js.map +1 -1
  178. package/ChoroplethSvg.config.js +62 -38
  179. package/ChoroplethSvg.config.js.map +1 -1
  180. package/ChoroplethSvg.js +168 -178
  181. package/ChoroplethSvg.js.map +1 -1
  182. package/Column.config.js +1059 -170
  183. package/Column.config.js.map +1 -1
  184. package/Column.js +1234 -384
  185. package/Column.js.map +1 -1
  186. package/Ellipse.config.js +55 -31
  187. package/Ellipse.config.js.map +1 -1
  188. package/Ellipse.js +135 -145
  189. package/Ellipse.js.map +1 -1
  190. package/FillerGauge.config.js +67 -43
  191. package/FillerGauge.config.js.map +1 -1
  192. package/FillerGauge.js +157 -172
  193. package/FillerGauge.js.map +1 -1
  194. package/Image.config.js +52 -25
  195. package/Image.config.js.map +1 -1
  196. package/Image.js +132 -140
  197. package/Image.js.map +1 -1
  198. package/Line.config.js +1035 -108
  199. package/Line.config.js.map +1 -1
  200. package/Line.js +1199 -311
  201. package/Line.js.map +1 -1
  202. package/LinkGraph.config.js +78 -58
  203. package/LinkGraph.config.js.map +1 -1
  204. package/LinkGraph.js +179 -194
  205. package/LinkGraph.js.map +1 -1
  206. package/Map.config.js +787 -78
  207. package/Map.config.js.map +1 -1
  208. package/Map.js +846 -352
  209. package/Map.js.map +1 -1
  210. package/Markdown.config.js +73 -48
  211. package/Markdown.config.js.map +1 -1
  212. package/Markdown.js +271 -259
  213. package/Markdown.js.map +1 -1
  214. package/MarkerGauge.config.js +77 -50
  215. package/MarkerGauge.config.js.map +1 -1
  216. package/MarkerGauge.js +2079 -1987
  217. package/MarkerGauge.js.map +1 -1
  218. package/ParallelCoordinates.config.js +75 -48
  219. package/ParallelCoordinates.config.js.map +1 -1
  220. package/ParallelCoordinates.js +166 -181
  221. package/ParallelCoordinates.js.map +1 -1
  222. package/Pie.config.js +77 -50
  223. package/Pie.config.js.map +1 -1
  224. package/Pie.js +1139 -1042
  225. package/Pie.js.map +1 -1
  226. package/Punchcard.config.js +76 -49
  227. package/Punchcard.config.js.map +1 -1
  228. package/Punchcard.js +196 -211
  229. package/Punchcard.js.map +1 -1
  230. package/Rectangle.config.js +83 -56
  231. package/Rectangle.config.js.map +1 -1
  232. package/Rectangle.js +256 -264
  233. package/Rectangle.js.map +1 -1
  234. package/Sankey.config.js +82 -55
  235. package/Sankey.config.js.map +1 -1
  236. package/Sankey.js +190 -205
  237. package/Sankey.js.map +1 -1
  238. package/Scatter.config.js +790 -135
  239. package/Scatter.config.js.map +1 -1
  240. package/Scatter.js +1072 -485
  241. package/Scatter.js.map +1 -1
  242. package/SingleValue.config.js +85 -56
  243. package/SingleValue.config.js.map +1 -1
  244. package/SingleValue.js +415 -411
  245. package/SingleValue.js.map +1 -1
  246. package/SingleValueBasic.js +37 -25
  247. package/SingleValueBasic.js.map +1 -1
  248. package/SingleValueIcon.config.js +81 -57
  249. package/SingleValueIcon.config.js.map +1 -1
  250. package/SingleValueIcon.js +195 -211
  251. package/SingleValueIcon.js.map +1 -1
  252. package/SingleValueRadial.config.js +80 -51
  253. package/SingleValueRadial.config.js.map +1 -1
  254. package/SingleValueRadial.js +342 -338
  255. package/SingleValueRadial.js.map +1 -1
  256. package/Table.config.js +56 -36
  257. package/Table.config.js.map +1 -1
  258. package/Table.js +1610 -1553
  259. package/Table.js.map +1 -1
  260. package/common/Charting.js +10 -10
  261. package/common/Charting.js.map +1 -1
  262. package/common/ChartingApi.js +2 -2
  263. package/common/ChartingApi.js.map +1 -1
  264. package/common/EventsDoc.js +3 -3
  265. package/common/EventsDoc.js.map +1 -1
  266. package/common/OptionsDoc.js +49 -21
  267. package/common/OptionsDoc.js.map +1 -1
  268. package/common/SplunkVisualization.js +4 -4
  269. package/common/SplunkVisualization.js.map +1 -1
  270. package/common/ThemesDoc.js +2 -2
  271. package/common/chartingUtils.js +2 -2
  272. package/common/gaugeUtils.js +2 -2
  273. package/common/utils/configUtils.js +30 -4
  274. package/common/utils/configUtils.js.map +1 -1
  275. package/common/utils/hocUtils.js +26 -56
  276. package/common/utils/hocUtils.js.map +1 -1
  277. package/common/utils/singleValueUtils.js +4 -2
  278. package/common/utils/singleValueUtils.js.map +1 -1
  279. package/common/utils/testHelper.js +8 -8
  280. package/common/utils/testHelper.js.map +1 -1
  281. package/common/withDashboardViz.js +32 -68
  282. package/common/withDashboardViz.js.map +1 -1
  283. package/package.json +11 -11
  284. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Maximum_Number_800.png +0 -0
  285. package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Minimum_Number_300.png +0 -0
package/Bar.config.js CHANGED
@@ -87,7 +87,7 @@ module.exports =
87
87
  /******/
88
88
  /******/
89
89
  /******/ // Load entry module and return exports
90
- /******/ return __webpack_require__(__webpack_require__.s = 39);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 38);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ([
@@ -103,6 +103,8 @@ module.exports = require("@splunk/ui-utils/i18n");
103
103
  "use strict";
104
104
 
105
105
 
106
+ var _toConsumableArray = __webpack_require__(2);
107
+
106
108
  var _defineProperty = __webpack_require__(6);
107
109
 
108
110
  var __rest = this && this.__rest || function (s, e) {
@@ -121,13 +123,13 @@ var __rest = this && this.__rest || function (s, e) {
121
123
  Object.defineProperty(exports, "__esModule", {
122
124
  value: true
123
125
  });
124
- exports.generatePrecisionValues = exports.getInitialPreset = exports.isDynamicOption = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
126
+ exports.insertLayout = exports.generatePrecisionValues = exports.getInitialPreset = exports.isDynamicOption = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
125
127
 
126
- var lodash_1 = __webpack_require__(4);
128
+ var lodash_1 = __webpack_require__(5);
127
129
 
128
- var schemaUtils_1 = __webpack_require__(3);
130
+ var schemaUtils_1 = __webpack_require__(4);
129
131
 
130
- var VizBehavior_1 = __webpack_require__(2);
132
+ var VizBehavior_1 = __webpack_require__(3);
131
133
 
132
134
  var dynamicOptionsDSLType = {
133
135
  type: 'string',
@@ -286,9 +288,33 @@ function generatePrecisionValues(numPrecisionValues) {
286
288
  }
287
289
 
288
290
  exports.generatePrecisionValues = generatePrecisionValues;
291
+ /**
292
+ * insert layout in layout array, return a new layout array instead of updating the original
293
+ *
294
+ * @param {EditorLayoutConfig[][]} layout - editor layout
295
+ * @param {Number} index - the index to insert layout item(s)
296
+ * @param {EditorLayoutConfig[][]} layoutItems - the item(s) to insert
297
+ * @returns {EditorLayoutConfig[][]} new editor layout with insertion
298
+ */
299
+
300
+ var insertLayout = function insertLayout(layout, index) {
301
+ for (var _len = arguments.length, layoutItems = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
302
+ layoutItems[_key - 2] = arguments[_key];
303
+ }
304
+
305
+ return [].concat(_toConsumableArray(layout.slice(0, index)), layoutItems, _toConsumableArray(layout.slice(index)));
306
+ };
307
+
308
+ exports.insertLayout = insertLayout;
289
309
 
290
310
  /***/ }),
291
311
  /* 2 */
312
+ /***/ (function(module, exports) {
313
+
314
+ module.exports = require("@babel/runtime/helpers/toConsumableArray");
315
+
316
+ /***/ }),
317
+ /* 3 */
292
318
  /***/ (function(module, exports, __webpack_require__) {
293
319
 
294
320
  "use strict";
@@ -325,19 +351,25 @@ var VizBehavior;
325
351
  })(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
326
352
 
327
353
  /***/ }),
328
- /* 3 */
354
+ /* 4 */
329
355
  /***/ (function(module, exports) {
330
356
 
331
357
  module.exports = require("@splunk/visualizations-shared/schemaUtils");
332
358
 
333
359
  /***/ }),
334
- /* 4 */
360
+ /* 5 */
335
361
  /***/ (function(module, exports) {
336
362
 
337
363
  module.exports = require("lodash");
338
364
 
339
365
  /***/ }),
340
- /* 5 */
366
+ /* 6 */
367
+ /***/ (function(module, exports) {
368
+
369
+ module.exports = require("@babel/runtime/helpers/defineProperty");
370
+
371
+ /***/ }),
372
+ /* 7 */
341
373
  /***/ (function(module, exports, __webpack_require__) {
342
374
 
343
375
  "use strict";
@@ -364,18 +396,6 @@ var VizCategory;
364
396
  VizCategory["SPATIAL"] = "Spatial";
365
397
  })(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
366
398
 
367
- /***/ }),
368
- /* 6 */
369
- /***/ (function(module, exports) {
370
-
371
- module.exports = require("@babel/runtime/helpers/defineProperty");
372
-
373
- /***/ }),
374
- /* 7 */
375
- /***/ (function(module, exports) {
376
-
377
- module.exports = require("@splunk/visualization-icons/placeholders");
378
-
379
399
  /***/ }),
380
400
  /* 8 */
381
401
  /***/ (function(module, exports) {
@@ -392,16 +412,22 @@ module.exports = require("@splunk/themes/variables");
392
412
  /* 10 */
393
413
  /***/ (function(module, exports) {
394
414
 
395
- module.exports = require("@splunk/visualization-icons");
415
+ module.exports = require("@splunk/visualization-icons/placeholders");
396
416
 
397
417
  /***/ }),
398
418
  /* 11 */
399
419
  /***/ (function(module, exports) {
400
420
 
401
- module.exports = require("@splunk/visualization-color-palettes");
421
+ module.exports = require("@splunk/visualization-icons");
402
422
 
403
423
  /***/ }),
404
424
  /* 12 */
425
+ /***/ (function(module, exports) {
426
+
427
+ module.exports = require("@splunk/visualization-color-palettes");
428
+
429
+ /***/ }),
430
+ /* 13 */
405
431
  /***/ (function(module, exports, __webpack_require__) {
406
432
 
407
433
  "use strict";
@@ -431,35 +457,107 @@ var background = function background(_ref) {
431
457
  exports.default = background;
432
458
 
433
459
  /***/ }),
434
- /* 13 */,
435
- /* 14 */
460
+ /* 14 */,
461
+ /* 15 */
436
462
  /***/ (function(module, exports, __webpack_require__) {
437
463
 
438
464
  "use strict";
439
465
 
440
466
 
467
+ var _toConsumableArray = __webpack_require__(2);
468
+
441
469
  Object.defineProperty(exports, "__esModule", {
442
470
  value: true
443
471
  });
472
+ exports.AxesChartDataConfigAreaColumnLine = exports.AxesChartDataConfigBubble = exports.AxesChartDataConfigScatter = exports.AxesChartDataConfigBar = void 0;
444
473
 
445
474
  var i18n_1 = __webpack_require__(0);
446
475
 
447
- var axes = {
448
- label: i18n_1._('Axes'),
476
+ var configUtils_1 = __webpack_require__(1);
477
+
478
+ var AxesChartDataConfig = {
479
+ label: i18n_1._('Data configurations'),
449
480
  layout: [[{
450
- label: i18n_1._('X Axis title'),
451
- option: 'xAxisTitleText',
452
- editor: 'editor.text'
481
+ label: i18n_1._('X'),
482
+ option: 'x',
483
+ editor: 'editor.columnSelector',
484
+ editorProps: {
485
+ dataSourceKey: 'primary'
486
+ }
453
487
  }], [{
454
- label: i18n_1._('Y Axis title'),
455
- option: 'yAxisTitleText',
456
- editor: 'editor.text'
488
+ label: i18n_1._('Y'),
489
+ option: 'y',
490
+ editor: 'editor.columnMultiSelector',
491
+ editorProps: {
492
+ dataSourceKey: 'primary'
493
+ }
494
+ }], [{
495
+ label: i18n_1._('Result limit'),
496
+ option: 'resultLimit',
497
+ editor: 'editor.number',
498
+ editorProps: {
499
+ dataSourceKey: 'primary'
500
+ }
457
501
  }]]
458
502
  };
459
- exports.default = axes;
503
+ exports.AxesChartDataConfigBar = {
504
+ label: AxesChartDataConfig.label,
505
+ // insert Y2 after Y
506
+ layout: configUtils_1.insertLayout(AxesChartDataConfig.layout, 2, [{
507
+ label: i18n_1._('Y2'),
508
+ option: 'y2',
509
+ editor: 'editor.columnMultiSelector',
510
+ editorProps: {
511
+ dataSourceKey: 'primary'
512
+ }
513
+ }])
514
+ };
515
+ exports.AxesChartDataConfigScatter = {
516
+ label: AxesChartDataConfig.label,
517
+ // layout: insert Category after Y
518
+ layout: configUtils_1.insertLayout(AxesChartDataConfig.layout, 2, [{
519
+ label: i18n_1._('Category'),
520
+ option: 'category',
521
+ editor: 'editor.columnSelector',
522
+ editorProps: {
523
+ dataSourceKey: 'primary'
524
+ }
525
+ }])
526
+ };
527
+ exports.AxesChartDataConfigBubble = {
528
+ label: exports.AxesChartDataConfigScatter.label,
529
+ // layout: insert Size after Category
530
+ layout: configUtils_1.insertLayout(exports.AxesChartDataConfigScatter.layout, 3, [{
531
+ label: i18n_1._('Size'),
532
+ option: 'size',
533
+ editor: 'editor.columnSelector',
534
+ editorProps: {
535
+ dataSourceKey: 'primary'
536
+ }
537
+ }])
538
+ };
539
+ exports.AxesChartDataConfigAreaColumnLine = {
540
+ label: exports.AxesChartDataConfigBar.label,
541
+ layout: [].concat(_toConsumableArray(exports.AxesChartDataConfigBar.layout), [[{
542
+ label: i18n_1._('Annotation x'),
543
+ option: 'annotationX',
544
+ editor: 'editor.columnSelector',
545
+ editorProps: {
546
+ dataSourceKey: 'annotation'
547
+ }
548
+ }], [{
549
+ label: i18n_1._('Annotation labels'),
550
+ option: 'annotationLabel',
551
+ editor: 'editor.columnSelector',
552
+ editorProps: {
553
+ dataSourceKey: 'annotation'
554
+ }
555
+ }]])
556
+ };
557
+ exports.default = AxesChartDataConfig;
460
558
 
461
559
  /***/ }),
462
- /* 15 */
560
+ /* 16 */
463
561
  /***/ (function(module, exports, __webpack_require__) {
464
562
 
465
563
  "use strict";
@@ -471,10 +569,64 @@ Object.defineProperty(exports, "__esModule", {
471
569
 
472
570
  var i18n_1 = __webpack_require__(0);
473
571
 
474
- var legend = {
572
+ var pick_1 = __webpack_require__(8);
573
+
574
+ var variables_1 = __webpack_require__(9);
575
+
576
+ var BackgroundColor_1 = __webpack_require__(13);
577
+
578
+ var themes = {
579
+ defaultBackgroundColor: function defaultBackgroundColor(props) {
580
+ return pick_1.default({
581
+ enterprise: {
582
+ dark: variables_1.default.black(props),
583
+ light: variables_1.default.backgroundColor(props)
584
+ },
585
+ prisma: variables_1.default.backgroundColorSidebar(props)
586
+ })(props);
587
+ }
588
+ };
589
+ var AxesChartColorAndStyle = {
590
+ label: i18n_1._('Color and style'),
591
+ layout: [BackgroundColor_1.default({
592
+ themes: themes
593
+ }) // Add SeriesColorsEditor when SCP-55658 is done e.g.
594
+ // [
595
+ // {
596
+ // label: _('Series colors'),
597
+ // option: 'seriesColors',
598
+ // editor: 'editor.seriesColors',
599
+ // },
600
+ // ],
601
+ // Add SeriesColorsByFieldEditor here when SCP-55687 is done, e.g.
602
+ // [
603
+ // {
604
+ // label: _('Series colors by field name'),
605
+ // option: 'seriesColorsByField',
606
+ // editor: 'editor.seriesColorsByField',
607
+ // },
608
+ // ],
609
+ ]
610
+ };
611
+ exports.default = AxesChartColorAndStyle;
612
+
613
+ /***/ }),
614
+ /* 17 */
615
+ /***/ (function(module, exports, __webpack_require__) {
616
+
617
+ "use strict";
618
+
619
+
620
+ Object.defineProperty(exports, "__esModule", {
621
+ value: true
622
+ });
623
+
624
+ var i18n_1 = __webpack_require__(0);
625
+
626
+ var AxesChartLegend = {
475
627
  label: i18n_1._('Legend'),
476
628
  layout: [[{
477
- label: i18n_1._('Position'),
629
+ label: i18n_1._('Legend display'),
478
630
  option: 'legendDisplay',
479
631
  editor: 'editor.select',
480
632
  editorProps: {
@@ -496,7 +648,7 @@ var legend = {
496
648
  }]
497
649
  }
498
650
  }], [{
499
- label: i18n_1._('Truncation'),
651
+ label: i18n_1._('Legend truncation'),
500
652
  option: 'legendTruncation',
501
653
  editor: 'editor.radioBar',
502
654
  editorProps: {
@@ -513,34 +665,775 @@ var legend = {
513
665
  label: i18n_1._('Off'),
514
666
  value: 'ellipsisOff'
515
667
  }]
668
+ },
669
+ showEditor: function showEditor(_ref) {
670
+ var options = _ref.options;
671
+ return options.legendDisplay === 'left' || options.legendDisplay === 'right' || options.legendDisplay === 'top' || options.legendDisplay === 'bottom' || options.legendDisplay === undefined;
672
+ }
673
+ }]]
674
+ };
675
+ exports.default = AxesChartLegend;
676
+
677
+ /***/ }),
678
+ /* 18 */
679
+ /***/ (function(module, exports, __webpack_require__) {
680
+
681
+ "use strict";
682
+
683
+
684
+ var _toConsumableArray = __webpack_require__(2);
685
+
686
+ Object.defineProperty(exports, "__esModule", {
687
+ value: true
688
+ });
689
+ exports.AxesChartXGridAndLabelsBubbleScatter = exports.AxesChartXGridAndLabelsCommon = void 0;
690
+
691
+ var i18n_1 = __webpack_require__(0);
692
+
693
+ var configUtils_1 = __webpack_require__(1);
694
+
695
+ exports.AxesChartXGridAndLabelsCommon = {
696
+ label: i18n_1._('X-axis grid and labels'),
697
+ layout: [[{
698
+ label: i18n_1._('Axis title'),
699
+ option: 'xAxisTitleVisibility',
700
+ editor: 'editor.toggle'
701
+ }], [{
702
+ label: i18n_1._('Axis title text'),
703
+ option: 'xAxisTitleText',
704
+ editor: 'editor.text',
705
+ showEditor: function showEditor(_ref) {
706
+ var options = _ref.options;
707
+ return options.xAxisTitleVisibility === 'show' || options.xAxisTitleVisibility === undefined;
708
+ }
709
+ }], [{
710
+ label: i18n_1._('Label visibility'),
711
+ option: 'xAxisLabelVisibility',
712
+ editor: 'editor.radioBar',
713
+ editorProps: {
714
+ values: [{
715
+ label: i18n_1._('Auto'),
716
+ value: 'auto'
717
+ }, {
718
+ label: i18n_1._('Show'),
719
+ value: 'show'
720
+ }, {
721
+ label: i18n_1._('Hide'),
722
+ value: 'hide'
723
+ }]
724
+ }
725
+ }]]
726
+ };
727
+ var AxesChartXGridAndLabels = {
728
+ label: exports.AxesChartXGridAndLabelsCommon.label,
729
+ layout: [].concat(_toConsumableArray(exports.AxesChartXGridAndLabelsCommon.layout), [[{
730
+ label: i18n_1._('Label rotation'),
731
+ option: 'xAxisLabelRotation',
732
+ editor: 'editor.radioBar',
733
+ editorProps: {
734
+ values: [{
735
+ label: i18n_1._('-90'),
736
+ value: -90
737
+ }, {
738
+ label: i18n_1._('-45'),
739
+ value: -45
740
+ }, {
741
+ label: i18n_1._('0'),
742
+ value: 0
743
+ }, {
744
+ label: i18n_1._('45'),
745
+ value: 45
746
+ }, {
747
+ label: i18n_1._('90'),
748
+ value: 90
749
+ }]
750
+ },
751
+ showEditor: function showEditor(_ref2) {
752
+ var options = _ref2.options;
753
+ return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
754
+ }
755
+ }], [{
756
+ label: i18n_1._('Number of time label parts'),
757
+ option: 'xAxisMaxLabelParts',
758
+ editor: 'editor.number',
759
+ editorProps: {
760
+ min: 1,
761
+ max: 3
762
+ },
763
+ showEditor: function showEditor(_ref3) {
764
+ var options = _ref3.options;
765
+ return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
766
+ }
767
+ }], [{
768
+ label: i18n_1._('Axis line visibility'),
769
+ option: 'xAxisLineVisibility',
770
+ editor: 'editor.checkbox'
771
+ }], [{
772
+ label: i18n_1._('Major gridlines'),
773
+ option: 'showXMajorGridLines',
774
+ editor: 'editor.checkbox'
775
+ }], [{
776
+ label: i18n_1._('Major tick visibility'),
777
+ option: 'xAxisMajorTickVisibility',
778
+ editor: 'editor.radioBar',
779
+ editorProps: {
780
+ values: [{
781
+ label: i18n_1._('Auto'),
782
+ value: 'auto'
783
+ }, {
784
+ label: i18n_1._('Show'),
785
+ value: 'show'
786
+ }, {
787
+ label: i18n_1._('Hide'),
788
+ value: 'hide'
789
+ }]
790
+ }
791
+ }], [{
792
+ label: i18n_1._('Major tick size (px)'),
793
+ option: 'xAxisMajorTickSize',
794
+ editor: 'editor.slider',
795
+ editorProps: {
796
+ min: 0,
797
+ max: 10,
798
+ step: 1
799
+ },
800
+ showEditor: function showEditor(_ref4) {
801
+ var options = _ref4.options;
802
+ return options.xAxisMajorTickVisibility === 'show' || options.xAxisMajorTickVisibility === 'auto' || options.xAxisMajorTickVisibility === undefined;
803
+ }
804
+ }]])
805
+ };
806
+ exports.AxesChartXGridAndLabelsBubbleScatter = {
807
+ label: exports.AxesChartXGridAndLabelsCommon.label,
808
+ layout: [].concat(_toConsumableArray(configUtils_1.insertLayout(exports.AxesChartXGridAndLabelsCommon.layout, 2, [{
809
+ label: i18n_1._('Axis scale'),
810
+ option: 'xAxisScale',
811
+ editor: 'editor.radioBar',
812
+ editorProps: {
813
+ values: [{
814
+ label: i18n_1._('Linear'),
815
+ value: 'linear'
816
+ }, {
817
+ label: i18n_1._('Log'),
818
+ value: 'log'
819
+ }]
820
+ }
821
+ }])), [[{
822
+ label: i18n_1._('Label rotation'),
823
+ option: 'xAxisLabelRotation',
824
+ editor: 'editor.radioBar',
825
+ editorProps: {
826
+ values: [{
827
+ label: i18n_1._('-90'),
828
+ value: -90
829
+ }, {
830
+ label: i18n_1._('-45'),
831
+ value: -45
832
+ }, {
833
+ label: i18n_1._('0'),
834
+ value: 0
835
+ }, {
836
+ label: i18n_1._('45'),
837
+ value: 45
838
+ }, {
839
+ label: i18n_1._('90'),
840
+ value: 90
841
+ }]
842
+ },
843
+ showEditor: function showEditor(_ref5) {
844
+ var options = _ref5.options;
845
+ return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
846
+ }
847
+ }], [{
848
+ label: i18n_1._('Round axis labels'),
849
+ option: 'showRoundedXAxisLabels',
850
+ editor: 'editor.checkbox',
851
+ showEditor: function showEditor(_ref6) {
852
+ var options = _ref6.options;
853
+ return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
854
+ }
855
+ }], [{
856
+ label: i18n_1._('SI prefix abbreviation for labels'),
857
+ option: 'xAxisAbbreviation',
858
+ editor: 'editor.checkbox',
859
+ showEditor: function showEditor(_ref7) {
860
+ var options = _ref7.options;
861
+ return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
862
+ }
863
+ }], [{
864
+ label: i18n_1._('Include zero'),
865
+ option: 'showXAxisWithZero',
866
+ editor: 'editor.checkbox'
867
+ }], [{
868
+ label: i18n_1._('Extend to whole grid'),
869
+ option: 'showXAxisExtendedRange',
870
+ editor: 'editor.checkbox'
871
+ }], [{
872
+ label: i18n_1._('Minimum axis value'),
873
+ option: 'xAxisMin',
874
+ editor: 'editor.number'
875
+ }, {
876
+ label: i18n_1._('Maximum axis value'),
877
+ option: 'xAxisMax',
878
+ editor: 'editor.number'
879
+ }], [{
880
+ label: i18n_1._('Axis line visibility'),
881
+ option: 'xAxisLineVisibility',
882
+ editor: 'editor.checkbox'
883
+ }], // this option is disabled for bubble and scatter
884
+ // [
885
+ // {
886
+ // label: _('Major gridlines'),
887
+ // option: 'showXMajorGridLines',
888
+ // editor: 'editor.checkbox',
889
+ // },
890
+ // ],
891
+ [{
892
+ label: i18n_1._('Major tick visibility'),
893
+ option: 'xAxisMajorTickVisibility',
894
+ editor: 'editor.radioBar',
895
+ editorProps: {
896
+ values: [{
897
+ label: i18n_1._('Auto'),
898
+ value: 'auto'
899
+ }, {
900
+ label: i18n_1._('Show'),
901
+ value: 'show'
902
+ }, {
903
+ label: i18n_1._('Hide'),
904
+ value: 'hide'
905
+ }]
906
+ }
907
+ }], [{
908
+ label: i18n_1._('Major tick size (px)'),
909
+ option: 'xAxisMajorTickSize',
910
+ editor: 'editor.slider',
911
+ editorProps: {
912
+ min: 0,
913
+ max: 10,
914
+ step: 1
915
+ },
916
+ showEditor: function showEditor(_ref8) {
917
+ var options = _ref8.options;
918
+ return options.xAxisMajorTickVisibility === 'show' || options.xAxisMajorTickVisibility === 'auto' || options.xAxisMajorTickVisibility === undefined;
919
+ }
920
+ }], [{
921
+ label: i18n_1._('Major tick interval spacing'),
922
+ option: 'xAxisMajorTickInterval',
923
+ editor: 'editor.number',
924
+ showEditor: function showEditor(_ref9) {
925
+ var options = _ref9.options;
926
+ return options.xAxisMajorTickVisibility === 'show' || options.xAxisMajorTickVisibility === 'auto' || options.xAxisMajorTickVisibility === undefined;
927
+ }
928
+ }], [{
929
+ label: i18n_1._('Minor gridlines'),
930
+ option: 'showXMinorGridLines',
931
+ editor: 'editor.checkbox'
932
+ }], [{
933
+ label: i18n_1._('Minor tick visibility'),
934
+ option: 'xAxisMinorTickVisibility',
935
+ editor: 'editor.radioBar',
936
+ editorProps: {
937
+ values: [{
938
+ label: i18n_1._('Auto'),
939
+ value: 'auto'
940
+ }, {
941
+ label: i18n_1._('Show'),
942
+ value: 'show'
943
+ }, {
944
+ label: i18n_1._('Hide'),
945
+ value: 'hide'
946
+ }]
947
+ }
948
+ }], [{
949
+ label: i18n_1._('Minor tick size (px)'),
950
+ option: 'xAxisMinorTickSize',
951
+ editor: 'editor.slider',
952
+ editorProps: {
953
+ min: 0,
954
+ max: 10,
955
+ step: 1
956
+ },
957
+ showEditor: function showEditor(_ref10) {
958
+ var options = _ref10.options;
959
+ return options.xAxisMinorTickVisibility === 'show' || options.xAxisMinorTickVisibility === 'auto' || options.xAxisMinorTickVisibility === undefined;
960
+ }
961
+ }]])
962
+ };
963
+ exports.default = AxesChartXGridAndLabels;
964
+
965
+ /***/ }),
966
+ /* 19 */
967
+ /***/ (function(module, exports, __webpack_require__) {
968
+
969
+ "use strict";
970
+
971
+
972
+ Object.defineProperty(exports, "__esModule", {
973
+ value: true
974
+ });
975
+
976
+ var i18n_1 = __webpack_require__(0);
977
+
978
+ var AxesChartYGridAndLabels = {
979
+ label: i18n_1._('Y-axis grid and labels'),
980
+ layout: [[{
981
+ label: i18n_1._('Axis title'),
982
+ option: 'yAxisTitleVisibility',
983
+ editor: 'editor.toggle'
984
+ }], [{
985
+ label: i18n_1._('Axis title text'),
986
+ option: 'yAxisTitleText',
987
+ editor: 'editor.text',
988
+ showEditor: function showEditor(_ref) {
989
+ var options = _ref.options;
990
+ return options.yAxisTitleVisibility === 'show' || options.yAxisTitleVisibility === undefined;
991
+ }
992
+ }], [{
993
+ label: i18n_1._('Scale'),
994
+ option: 'yAxisScale',
995
+ editor: 'editor.radioBar',
996
+ editorProps: {
997
+ values: [{
998
+ label: i18n_1._('Linear'),
999
+ value: 'linear'
1000
+ }, {
1001
+ label: i18n_1._('Log'),
1002
+ value: 'log'
1003
+ }]
1004
+ }
1005
+ }], [{
1006
+ label: i18n_1._('Label visibility'),
1007
+ option: 'yAxisLabelVisibility',
1008
+ editor: 'editor.radioBar',
1009
+ editorProps: {
1010
+ values: [{
1011
+ label: i18n_1._('Auto'),
1012
+ value: 'auto'
1013
+ }, {
1014
+ label: i18n_1._('Show'),
1015
+ value: 'show'
1016
+ }, {
1017
+ label: i18n_1._('Hide'),
1018
+ value: 'hide'
1019
+ }]
1020
+ }
1021
+ }], [{
1022
+ label: i18n_1._('SI prefix abbreviation for labels'),
1023
+ option: 'yAxisAbbreviation',
1024
+ editor: 'editor.checkbox',
1025
+ showEditor: function showEditor(_ref2) {
1026
+ var options = _ref2.options;
1027
+ return options.yAxisLabelVisibility === 'show' || options.yAxisLabelVisibility === 'auto' || options.yAxisLabelVisibility === undefined;
1028
+ }
1029
+ }], [{
1030
+ label: i18n_1._('Include zero'),
1031
+ option: 'showYAxisWithZero',
1032
+ editor: 'editor.checkbox'
1033
+ }], [{
1034
+ label: i18n_1._('Extend to whole grid'),
1035
+ option: 'showYAxisExtendedRange',
1036
+ editor: 'editor.checkbox'
1037
+ }], [{
1038
+ label: i18n_1._('Minimum axis value'),
1039
+ option: 'yAxisMin',
1040
+ editor: 'editor.number'
1041
+ }, {
1042
+ label: i18n_1._('Maximum axis value'),
1043
+ option: 'yAxisMax',
1044
+ editor: 'editor.number'
1045
+ }], [{
1046
+ label: i18n_1._('Axis line visibility'),
1047
+ option: 'yAxisLineVisibility',
1048
+ editor: 'editor.checkbox'
1049
+ }], [{
1050
+ label: i18n_1._('Major gridlines'),
1051
+ option: 'showYMajorGridLines',
1052
+ editor: 'editor.checkbox'
1053
+ }], [{
1054
+ label: i18n_1._('Major tick visibility'),
1055
+ option: 'yAxisMajorTickVisibility',
1056
+ editor: 'editor.radioBar',
1057
+ editorProps: {
1058
+ values: [{
1059
+ label: i18n_1._('Auto'),
1060
+ value: 'auto'
1061
+ }, {
1062
+ label: i18n_1._('Show'),
1063
+ value: 'show'
1064
+ }, {
1065
+ label: i18n_1._('Hide'),
1066
+ value: 'hide'
1067
+ }]
1068
+ }
1069
+ }], [{
1070
+ label: i18n_1._('Major tick size (px)'),
1071
+ option: 'yAxisMajorTickSize',
1072
+ editor: 'editor.slider',
1073
+ editorProps: {
1074
+ min: 0,
1075
+ max: 10,
1076
+ step: 1
1077
+ },
1078
+ showEditor: function showEditor(_ref3) {
1079
+ var options = _ref3.options;
1080
+ return options.yAxisMajorTickVisibility === 'show' || options.yAxisMajorTickVisibility === 'auto' || options.yAxisMajorTickVisibility === undefined;
1081
+ }
1082
+ }], [{
1083
+ label: i18n_1._('Major tick interval spacing'),
1084
+ option: 'yAxisMajorTickInterval',
1085
+ editor: 'editor.number',
1086
+ showEditor: function showEditor(_ref4) {
1087
+ var options = _ref4.options;
1088
+ return options.yAxisMajorTickVisibility === 'show' || options.yAxisMajorTickVisibility === 'auto' || options.yAxisMajorTickVisibility === undefined;
1089
+ }
1090
+ }], [{
1091
+ label: i18n_1._('Minor gridlines'),
1092
+ option: 'showYMinorGridLines',
1093
+ editor: 'editor.checkbox'
1094
+ }], [{
1095
+ label: i18n_1._('Minor tick visibility'),
1096
+ option: 'yAxisMinorTickVisibility',
1097
+ editor: 'editor.radioBar',
1098
+ editorProps: {
1099
+ values: [{
1100
+ label: i18n_1._('Auto'),
1101
+ value: 'auto'
1102
+ }, {
1103
+ label: i18n_1._('Show'),
1104
+ value: 'show'
1105
+ }, {
1106
+ label: i18n_1._('Hide'),
1107
+ value: 'hide'
1108
+ }]
1109
+ }
1110
+ }], [{
1111
+ label: i18n_1._('Minor tick size (px)'),
1112
+ option: 'yAxisMinorTickSize',
1113
+ editor: 'editor.slider',
1114
+ editorProps: {
1115
+ min: 0,
1116
+ max: 10,
1117
+ step: 1
1118
+ },
1119
+ showEditor: function showEditor(_ref5) {
1120
+ var options = _ref5.options;
1121
+ return options.yAxisMinorTickVisibility === 'show' || options.yAxisMinorTickVisibility === 'auto' || options.yAxisMinorTickVisibility === undefined;
516
1122
  }
517
1123
  }]]
518
1124
  };
519
- exports.default = legend;
1125
+ exports.default = AxesChartYGridAndLabels;
520
1126
 
521
1127
  /***/ }),
522
- /* 16 */,
523
- /* 17 */,
524
- /* 18 */,
525
- /* 19 */,
526
1128
  /* 20 */
527
- /***/ (function(module, exports) {
1129
+ /***/ (function(module, exports, __webpack_require__) {
1130
+
1131
+ "use strict";
1132
+
1133
+
1134
+ var _toConsumableArray = __webpack_require__(2);
1135
+
1136
+ Object.defineProperty(exports, "__esModule", {
1137
+ value: true
1138
+ });
1139
+ exports.AxesChartDataDisplayColumn = exports.AxesChartDataDisplayBar = exports.AxesChartDataDisplayLine = void 0;
528
1140
 
529
- module.exports = require("@splunk/react-icons/BarBeside");
1141
+ var i18n_1 = __webpack_require__(0);
1142
+
1143
+ var lodash_1 = __webpack_require__(5);
1144
+
1145
+ var configUtils_1 = __webpack_require__(1);
1146
+
1147
+ exports.AxesChartDataDisplayLine = {
1148
+ label: i18n_1._('Data display'),
1149
+ layout: [[{
1150
+ label: i18n_1._('Null value display'),
1151
+ option: 'nullValueDisplay',
1152
+ editor: 'editor.radioBar',
1153
+ editorProps: {
1154
+ values: [{
1155
+ label: i18n_1._('Gaps'),
1156
+ value: 'gaps'
1157
+ }, {
1158
+ label: i18n_1._('Zero'),
1159
+ value: 'zero'
1160
+ }, {
1161
+ label: i18n_1._('Connect'),
1162
+ value: 'connect'
1163
+ }]
1164
+ }
1165
+ }], [{
1166
+ label: i18n_1._('Data value display'),
1167
+ option: 'dataValuesDisplay',
1168
+ editor: 'editor.radioBar',
1169
+ editorProps: {
1170
+ values: [{
1171
+ label: i18n_1._('Off'),
1172
+ value: 'off'
1173
+ }, {
1174
+ label: i18n_1._('All'),
1175
+ value: 'all'
1176
+ }, {
1177
+ label: i18n_1._('Min/Max'),
1178
+ value: 'minmax'
1179
+ }]
1180
+ }
1181
+ }], [{
1182
+ label: i18n_1._('Overlay fields'),
1183
+ option: 'overlayFields',
1184
+ editor: 'editor.columnMultiSelector',
1185
+ editorProps: {
1186
+ dataSourceKey: 'primary'
1187
+ }
1188
+ }], [{
1189
+ label: i18n_1._('Split series'),
1190
+ option: 'showSplitSeries',
1191
+ editor: 'editor.toggle'
1192
+ }], [{
1193
+ label: i18n_1._('Independent y-axis for split series'),
1194
+ option: 'showIndependentYRanges',
1195
+ editor: 'editor.checkbox',
1196
+ showEditor: function showEditor(_ref) {
1197
+ var options = _ref.options;
1198
+ return options.showSplitSeries;
1199
+ }
1200
+ }]]
1201
+ };
1202
+ var AxesChartDataDisplay = {
1203
+ label: exports.AxesChartDataDisplayLine.label,
1204
+ layout: [[{
1205
+ label: i18n_1._('Stack mode'),
1206
+ option: 'stackMode',
1207
+ editor: 'editor.radioBar',
1208
+ editorProps: {
1209
+ values: [{
1210
+ label: i18n_1._('Not stacked'),
1211
+ value: 'auto'
1212
+ }, {
1213
+ label: i18n_1._('Stacked'),
1214
+ value: 'stacked'
1215
+ }, {
1216
+ label: i18n_1._('Stacked 100%'),
1217
+ value: 'stacked100'
1218
+ }]
1219
+ }
1220
+ }]].concat(_toConsumableArray(exports.AxesChartDataDisplayLine.layout))
1221
+ };
1222
+ exports.AxesChartDataDisplayBar = {
1223
+ label: exports.AxesChartDataDisplayLine.label,
1224
+ layout: [[{
1225
+ label: i18n_1._('Stack mode'),
1226
+ option: 'stackMode',
1227
+ editor: 'editor.radioBar',
1228
+ editorProps: {
1229
+ values: [{
1230
+ label: i18n_1._('Not stacked'),
1231
+ value: 'auto'
1232
+ }, {
1233
+ label: i18n_1._('Stacked'),
1234
+ value: 'stacked'
1235
+ }, {
1236
+ label: i18n_1._('Stacked 100%'),
1237
+ value: 'stacked100'
1238
+ }]
1239
+ }
1240
+ }]].concat(_toConsumableArray(lodash_1.drop(exports.AxesChartDataDisplayLine.layout)))
1241
+ };
1242
+ exports.AxesChartDataDisplayColumn = {
1243
+ label: exports.AxesChartDataDisplayBar.label,
1244
+ layout: [].concat(_toConsumableArray(configUtils_1.insertLayout(exports.AxesChartDataDisplayBar.layout, 2, [{
1245
+ label: i18n_1._('Show tooltip on hover'),
1246
+ option: 'showTooltip',
1247
+ editor: 'editor.checkbox'
1248
+ }])), [[{
1249
+ label: i18n_1._('Column grouping mode'),
1250
+ option: 'columnGrouping',
1251
+ editor: 'editor.radioBar',
1252
+ editorProps: {
1253
+ values: [{
1254
+ label: i18n_1._('Auto'),
1255
+ value: 'auto'
1256
+ }, {
1257
+ label: i18n_1._('Overlay'),
1258
+ value: 'overlay'
1259
+ }]
1260
+ }
1261
+ }]])
1262
+ };
1263
+ exports.default = AxesChartDataDisplay;
530
1264
 
531
1265
  /***/ }),
532
1266
  /* 21 */
533
- /***/ (function(module, exports) {
1267
+ /***/ (function(module, exports, __webpack_require__) {
534
1268
 
535
- module.exports = require("@splunk/react-icons/BarStacked");
1269
+ "use strict";
536
1270
 
537
- /***/ }),
538
- /* 22 */
539
- /***/ (function(module, exports) {
540
1271
 
541
- module.exports = require("@splunk/react-icons/BarStacked100");
1272
+ Object.defineProperty(exports, "__esModule", {
1273
+ value: true
1274
+ });
1275
+
1276
+ var i18n_1 = __webpack_require__(0);
1277
+
1278
+ var axesChartY2GridAndLabels = {
1279
+ label: i18n_1._('Y2-axis grid and labels'),
1280
+ layout: [[{
1281
+ label: i18n_1._('Axis title'),
1282
+ option: 'y2AxisTitleVisibility',
1283
+ editor: 'editor.toggle'
1284
+ }], [{
1285
+ label: i18n_1._('Axis title text'),
1286
+ option: 'y2AxisTitleText',
1287
+ editor: 'editor.text',
1288
+ showEditor: function showEditor(_ref) {
1289
+ var options = _ref.options;
1290
+ return options.y2AxisTitleVisibility === 'show' || options.y2AxisTitleVisibility === undefined;
1291
+ }
1292
+ }], [{
1293
+ label: i18n_1._('Show overlays on the y2-axis'),
1294
+ option: 'showOverlayY2Axis',
1295
+ editor: 'editor.checkbox'
1296
+ }], [{
1297
+ label: i18n_1._('Scale'),
1298
+ option: 'y2AxisScale',
1299
+ editor: 'editor.radioBar',
1300
+ editorProps: {
1301
+ values: [{
1302
+ label: i18n_1._('Linear'),
1303
+ value: 'linear'
1304
+ }, {
1305
+ label: i18n_1._('Log'),
1306
+ value: 'log'
1307
+ }]
1308
+ }
1309
+ }], [{
1310
+ label: i18n_1._('Label visibility'),
1311
+ option: 'y2AxisLabelVisibility',
1312
+ editor: 'editor.radioBar',
1313
+ editorProps: {
1314
+ values: [{
1315
+ label: i18n_1._('Auto'),
1316
+ value: 'auto'
1317
+ }, {
1318
+ label: i18n_1._('Show'),
1319
+ value: 'show'
1320
+ }, {
1321
+ label: i18n_1._('Hide'),
1322
+ value: 'hide'
1323
+ }]
1324
+ }
1325
+ }], [{
1326
+ label: i18n_1._('Round axis labels'),
1327
+ option: 'showRoundedY2AxisLabels',
1328
+ editor: 'editor.checkbox',
1329
+ showEditor: function showEditor(_ref2) {
1330
+ var options = _ref2.options;
1331
+ return options.y2AxisLabelVisibility === 'show' || options.y2AxisLabelVisibility === 'auto' || options.y2AxisLabelVisibility === undefined;
1332
+ }
1333
+ }], [{
1334
+ label: i18n_1._('SI prefix abbreviation for labels'),
1335
+ option: 'y2AxisAbbreviation',
1336
+ editor: 'editor.checkbox',
1337
+ showEditor: function showEditor(_ref3) {
1338
+ var options = _ref3.options;
1339
+ return options.y2AxisLabelVisibility === 'show' || options.y2AxisLabelVisibility === 'auto' || options.y2AxisLabelVisibility === undefined;
1340
+ }
1341
+ }], [{
1342
+ label: i18n_1._('Include zero'),
1343
+ option: 'showY2AxisWithZero',
1344
+ editor: 'editor.checkbox'
1345
+ }], [{
1346
+ label: i18n_1._('Minimum axis value'),
1347
+ option: 'y2AxisMin',
1348
+ editor: 'editor.number'
1349
+ }, {
1350
+ label: i18n_1._('Maximum axis value'),
1351
+ option: 'y2AxisMax',
1352
+ editor: 'editor.number'
1353
+ }], [{
1354
+ label: i18n_1._('Axis line visibility'),
1355
+ option: 'y2AxisLineVisibility',
1356
+ editor: 'editor.checkbox'
1357
+ }], [{
1358
+ label: i18n_1._('Major gridlines'),
1359
+ option: 'showY2MajorGridLines',
1360
+ editor: 'editor.checkbox'
1361
+ }], [{
1362
+ label: i18n_1._('Major tick visibility'),
1363
+ option: 'y2AxisMajorTickVisibility',
1364
+ editor: 'editor.radioBar',
1365
+ editorProps: {
1366
+ values: [{
1367
+ label: i18n_1._('Auto'),
1368
+ value: 'auto'
1369
+ }, {
1370
+ label: i18n_1._('Show'),
1371
+ value: 'show'
1372
+ }, {
1373
+ label: i18n_1._('Hide'),
1374
+ value: 'hide'
1375
+ }]
1376
+ }
1377
+ }], [{
1378
+ label: i18n_1._('Major tick size (px)'),
1379
+ option: 'y2AxisMajorTickSize',
1380
+ editor: 'editor.slider',
1381
+ editorProps: {
1382
+ min: 0,
1383
+ max: 10,
1384
+ step: 1
1385
+ },
1386
+ showEditor: function showEditor(_ref4) {
1387
+ var options = _ref4.options;
1388
+ return options.y2AxisMajorTickVisibility === 'show' || options.y2AxisMajorTickVisibility === 'auto' || options.y2AxisMajorTickVisibility === undefined;
1389
+ }
1390
+ }], [{
1391
+ label: i18n_1._('Major tick interval spacing'),
1392
+ option: 'y2AxisMajorTickInterval',
1393
+ editor: 'editor.number',
1394
+ showEditor: function showEditor(_ref5) {
1395
+ var options = _ref5.options;
1396
+ return options.y2AxisMajorTickVisibility === 'show' || options.y2AxisMajorTickVisibility === 'auto' || options.y2AxisMajorTickVisibility === undefined;
1397
+ }
1398
+ }], [{
1399
+ label: i18n_1._('Minor gridlines'),
1400
+ option: 'showY2MinorGridLines',
1401
+ editor: 'editor.checkbox'
1402
+ }], [{
1403
+ label: i18n_1._('Minor tick visibility'),
1404
+ option: 'y2AxisMinorTickVisibility',
1405
+ editor: 'editor.radioBar',
1406
+ editorProps: {
1407
+ values: [{
1408
+ label: i18n_1._('Auto'),
1409
+ value: 'auto'
1410
+ }, {
1411
+ label: i18n_1._('Show'),
1412
+ value: 'show'
1413
+ }, {
1414
+ label: i18n_1._('Hide'),
1415
+ value: 'hide'
1416
+ }]
1417
+ }
1418
+ }], [{
1419
+ label: i18n_1._('Minor tick size (px)'),
1420
+ option: 'y2AxisMinorTickSize',
1421
+ editor: 'editor.slider',
1422
+ editorProps: {
1423
+ min: 0,
1424
+ max: 10,
1425
+ step: 1
1426
+ },
1427
+ showEditor: function showEditor(_ref6) {
1428
+ var options = _ref6.options;
1429
+ return options.y2AxisMinorTickVisibility === 'show' || options.y2AxisMinorTickVisibility === 'auto' || options.y2AxisMinorTickVisibility === undefined;
1430
+ }
1431
+ }]]
1432
+ };
1433
+ exports.default = axesChartY2GridAndLabels;
542
1434
 
543
1435
  /***/ }),
1436
+ /* 22 */,
544
1437
  /* 23 */,
545
1438
  /* 24 */,
546
1439
  /* 25 */,
@@ -556,46 +1449,49 @@ module.exports = require("@splunk/react-icons/BarStacked100");
556
1449
  /* 35 */,
557
1450
  /* 36 */,
558
1451
  /* 37 */,
559
- /* 38 */,
560
- /* 39 */
1452
+ /* 38 */
561
1453
  /***/ (function(module, exports, __webpack_require__) {
562
1454
 
563
1455
  "use strict";
564
1456
 
565
1457
 
1458
+ var _toConsumableArray = __webpack_require__(2);
1459
+
566
1460
  Object.defineProperty(exports, "__esModule", {
567
1461
  value: true
568
1462
  });
569
1463
 
570
- var visualization_icons_1 = __webpack_require__(10);
1464
+ var visualization_icons_1 = __webpack_require__(11);
571
1465
 
572
- var placeholders_1 = __webpack_require__(7);
1466
+ var placeholders_1 = __webpack_require__(10);
573
1467
 
574
- var schemaUtils_1 = __webpack_require__(3);
1468
+ var schemaUtils_1 = __webpack_require__(4);
575
1469
 
576
- var visualization_color_palettes_1 = __webpack_require__(11);
1470
+ var visualization_color_palettes_1 = __webpack_require__(12);
577
1471
 
578
1472
  var i18n_1 = __webpack_require__(0);
579
1473
 
580
- var BarBeside_1 = __webpack_require__(20);
1474
+ var pick_1 = __webpack_require__(8);
581
1475
 
582
- var BarStacked_1 = __webpack_require__(21);
1476
+ var variables_1 = __webpack_require__(9);
583
1477
 
584
- var BarStacked100_1 = __webpack_require__(22);
1478
+ var AxesChartDataConfig_1 = __webpack_require__(15);
585
1479
 
586
- var pick_1 = __webpack_require__(8);
1480
+ var AxesChartDataDisplay_1 = __webpack_require__(20);
587
1481
 
588
- var variables_1 = __webpack_require__(9);
1482
+ var AxesChartXGridAndLabels_1 = __webpack_require__(18);
1483
+
1484
+ var AxesChartColorAndStyle_1 = __webpack_require__(16);
589
1485
 
590
- var Axes_1 = __webpack_require__(14);
1486
+ var AxesChartLegend_1 = __webpack_require__(17);
591
1487
 
592
- var Legend_1 = __webpack_require__(15);
1488
+ var AxesChartYGridAndLabels_1 = __webpack_require__(19);
593
1489
 
594
- var BackgroundColor_1 = __webpack_require__(12);
1490
+ var AxesChartY2GridAndLabels_1 = __webpack_require__(21);
595
1491
 
596
- var VizBehavior_1 = __webpack_require__(2);
1492
+ var VizBehavior_1 = __webpack_require__(3);
597
1493
 
598
- var VizCategory_1 = __webpack_require__(5);
1494
+ var VizCategory_1 = __webpack_require__(7);
599
1495
 
600
1496
  var configUtils_1 = __webpack_require__(1);
601
1497
 
@@ -607,7 +1503,7 @@ var dataContract = {
607
1503
  optionalDataSources: [// Note: SCP-14090 disable ui for optional datasources. We may need to add it back later
608
1504
  // {
609
1505
  // name: 'annotation',
610
- // description: 'DataSource that populate event annotations',
1506
+ // description: 'DataSource that populates event annotations',
611
1507
  // },
612
1508
  ],
613
1509
  initialRequestParams: {
@@ -625,7 +1521,7 @@ var defaultContext = {};
625
1521
  var optionsSchema = {
626
1522
  x: {
627
1523
  default: '> primary | seriesByIndex(0)',
628
- description: 'Specify the dataSource applied to the x-axis.',
1524
+ description: 'Specify the data source to apply to the x-axis.',
629
1525
  type: 'array',
630
1526
  items: {
631
1527
  type: ['string', 'number']
@@ -633,14 +1529,14 @@ var optionsSchema = {
633
1529
  },
634
1530
  y: {
635
1531
  default: '> primary | frameBySeriesIndexRange(1)',
636
- description: 'Specify the dataSource applied to the y-axis.',
1532
+ description: 'Specify the data source to apply to the y-axis.',
637
1533
  type: 'array',
638
1534
  items: {
639
1535
  type: ['string', 'number']
640
1536
  }
641
1537
  },
642
1538
  y2: {
643
- description: 'Specify the dataSource applied to the y2-axis',
1539
+ description: 'Specify the data source to apply to the second y-axis',
644
1540
  type: 'array',
645
1541
  items: {
646
1542
  type: ['string', 'number']
@@ -648,17 +1544,17 @@ var optionsSchema = {
648
1544
  },
649
1545
  xField: {
650
1546
  default: '> x | getField()',
651
- description: 'Specify the field that should be mapped to the x-axis.',
1547
+ description: 'Specify the field to map to the x-axis.',
652
1548
  type: 'string'
653
1549
  },
654
1550
  yFields: {
655
1551
  default: '> y | getField()',
656
- description: 'Specify the field that should be mapped to the y-axis.',
1552
+ description: 'Specify the field to map to the y-axis.',
657
1553
  type: 'string'
658
1554
  },
659
1555
  y2Fields: {
660
1556
  default: '> y2 | getField()',
661
- description: 'Specify field(s) that should be mapped to a second y-axis.',
1557
+ description: 'Specify one or more fields to map to a second y-axis.',
662
1558
  type: ['array', 'string'],
663
1559
  items: {
664
1560
  type: 'string'
@@ -666,17 +1562,17 @@ var optionsSchema = {
666
1562
  },
667
1563
  backgroundColor: {
668
1564
  default: '> themes.defaultBackgroundColor',
669
- description: 'Specify the color for the background. You may use a dataSource to apply the color. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',
1565
+ description: 'Specify the color used for the background. You can use a data source or hexadecimal code to apply the color.',
670
1566
  pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN,
671
1567
  type: 'string'
672
1568
  },
673
1569
  barSpacing: {
674
- description: 'Specify, in pixels, the spacing between columns in a bar chart.',
1570
+ description: 'Specify the spacing (px) between columns in a bar chart.',
675
1571
  type: 'number'
676
1572
  },
677
1573
  dataValuesDisplay: {
678
1574
  default: 'off',
679
- description: 'Specify whether chart should display no labels, all labels, or only the min and max labels.',
1575
+ description: 'Specify the labels to display. Enter "all" to show lables for all data points, "off" to show no labels, or "minmax to show high and low values".',
680
1576
  pattern: schemaUtils_1.getPattern(['off', 'all', 'minmax']),
681
1577
  type: 'string'
682
1578
  },
@@ -687,7 +1583,7 @@ var optionsSchema = {
687
1583
  type: 'string'
688
1584
  },
689
1585
  legendLabels: {
690
- description: "Specify a list of labels to pre-populate the legend. For example, [\"percent\", \"count\"].",
1586
+ description: 'Specify a list of labels to populate the legend in advance. For example, ["percent", "count"].',
691
1587
  type: 'array',
692
1588
  items: {
693
1589
  type: 'string'
@@ -701,28 +1597,28 @@ var optionsSchema = {
701
1597
  },
702
1598
  lineWidth: {
703
1599
  default: 2,
704
- description: 'Specify the line width, in pixels, for chart overlay.',
1600
+ description: 'Specify the line width (px) for chart overlay.',
705
1601
  type: 'number'
706
1602
  },
707
1603
  resultLimit: {
708
1604
  default: 50000,
709
- description: 'Specify the number of data points rendered in a chart.',
1605
+ description: 'Specify the number of data points to render in a chart.',
710
1606
  type: 'number'
711
1607
  },
712
1608
  seriesColors: {
713
1609
  default: visualization_color_palettes_1.VIZ_CATEGORICAL,
714
- description: 'Specify the colors used for a series. For example, ["#FF0000", "#0000FF", "#008000"].',
1610
+ description: 'Specify the colors to use in a series. For example, ["#FF0000", "#0000FF", "#008000"].',
715
1611
  type: 'array',
716
1612
  items: {
717
1613
  type: 'string'
718
1614
  }
719
1615
  },
720
1616
  seriesColorsByField: {
721
- description: 'Specify the colors used for specific fields in a series. For example, {“count”: “#008000”, “percent”: “#FFA500”}.',
1617
+ description: 'Specify the colors to use for specific fields in a series. For example, {“count”: “#008000”, “percent”: “#FFA500”}.',
722
1618
  type: 'object'
723
1619
  },
724
1620
  seriesSpacing: {
725
- description: 'Specify, in pixels, the spacing between clustered series in column and bar charts.',
1621
+ description: 'Specify the spacing (px) between clustered series in column and bar charts.',
726
1622
  type: 'number'
727
1623
  },
728
1624
  stackMode: {
@@ -738,137 +1634,140 @@ var optionsSchema = {
738
1634
  },
739
1635
  showSplitSeries: {
740
1636
  default: false,
741
- description: 'Set to "true" to split a multi-series chart into separate charts that are stacked from top to bottom; one for each series.',
1637
+ description: 'Specify whether to split a multi-series chart into separate charts that are stacked from top to bottom, one for each series.',
742
1638
  type: 'boolean'
743
1639
  },
744
1640
  showXMajorGridLines: {
745
1641
  default: false,
746
- description: 'Specify whether major grid lines are visible on the x-axis.',
1642
+ description: 'Specify whether to show major grid lines on the x-axis.',
747
1643
  type: 'boolean'
748
1644
  },
749
1645
  showYMajorGridLines: {
750
1646
  default: true,
751
- description: 'Specify whether major grid lines are visible on the y-axis.',
1647
+ description: 'Specify whether to show major grid lines on the y-axis.',
752
1648
  type: 'boolean'
753
1649
  },
754
1650
  showY2MajorGridLines: {
755
1651
  default: false,
756
- description: 'Specify whether major grid lines are visible on the y2-axis.',
1652
+ description: 'Specify whether to show major grid lines on the second y-axis.',
757
1653
  type: 'boolean'
758
1654
  },
759
1655
  showYMinorGridLines: {
760
1656
  default: false,
761
- description: 'Specify whether minor grid lines are visible on the y-axis.',
1657
+ description: 'Specify whether to show minor grid lines on the y-axis.',
762
1658
  type: 'boolean'
763
1659
  },
764
1660
  showY2MinorGridLines: {
765
1661
  default: false,
766
- description: 'Specify whether minor grid lines are visible on y2-axis.',
1662
+ description: 'Specify whether to show minor grid lines on the second y-axis.',
767
1663
  type: 'boolean'
768
1664
  },
769
1665
  showYAxisExtendedRange: {
770
1666
  default: true,
771
- description: 'Specify whether the y-axis should be extended to include whole major tick marks.',
1667
+ description: 'Specify whether to extend the y-axis to include whole major tick marks.',
772
1668
  type: 'boolean'
773
1669
  },
774
1670
  showYAxisWithZero: {
775
1671
  default: false,
776
- description: 'Specify whether the y-axis range includes zero.',
1672
+ description: 'Specify whether to include zero in the y-axis range.',
777
1673
  type: 'boolean'
778
1674
  },
779
1675
  showY2AxisWithZero: {
780
1676
  default: false,
781
- description: 'Specify whether the y2-axis range includes zero.',
1677
+ description: 'Specify whether to include zero the second y-axis range .',
782
1678
  type: 'boolean'
783
1679
  },
784
1680
  xAxisLabelVisibility: {
785
1681
  default: 'auto',
786
- description: 'Specify whether to show or hide labels on the x-axis.',
1682
+ description: 'Specify whether to show labels on the x-axis.',
787
1683
  pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
788
1684
  type: 'string'
789
1685
  },
790
1686
  yAxisLabelVisibility: {
791
1687
  default: 'auto',
792
- description: 'Specify whether to show or hide labels on the y-axis.',
1688
+ description: 'Specify whether to show labels on the y-axis.',
793
1689
  pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
794
1690
  type: 'string'
795
1691
  },
796
1692
  y2AxisLabelVisibility: {
797
1693
  default: 'auto',
798
- description: 'Specify whether to show or hide labels on the y2-axis.',
1694
+ description: 'Specify whether to show labels on the second y-axis.',
799
1695
  pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
800
1696
  type: 'string'
801
1697
  },
802
1698
  xAxisLineVisibility: {
803
1699
  default: 'hide',
804
- description: 'Specify whether to show or hide the x-axis line.',
1700
+ description: 'Specify whether to show the x-axis line.',
1701
+ enum: ['hide', 'show'],
805
1702
  pattern: schemaUtils_1.getPattern(['show', 'hide']),
806
1703
  type: 'string'
807
1704
  },
808
1705
  yAxisLineVisibility: {
809
1706
  default: 'hide',
810
- description: 'Specify whether to show or hide the y-axis line.',
1707
+ description: 'Specify whether to show the y-axis line.',
1708
+ enum: ['hide', 'show'],
811
1709
  pattern: schemaUtils_1.getPattern(['show', 'hide']),
812
1710
  type: 'string'
813
1711
  },
814
1712
  y2AxisLineVisibility: {
815
1713
  default: 'hide',
816
- description: 'Specify whether to show or hide the y2-axis line.',
1714
+ description: 'Specify whether to show the second y-axis line.',
1715
+ enum: ['hide', 'show'],
817
1716
  pattern: schemaUtils_1.getPattern(['show', 'hide']),
818
1717
  type: 'string'
819
1718
  },
820
1719
  xAxisMajorTickSize: {
821
1720
  default: 6,
822
- description: 'Specify the size, in pixels, of major tick marks on the x-axis.',
1721
+ description: 'Specify the size (px) of major tick marks on the x-axis.',
823
1722
  type: 'number'
824
1723
  },
825
1724
  yAxisMajorTickSize: {
826
1725
  default: 6,
827
- description: 'Specify the size, in pixels, of major tick marks on the y-axis.',
1726
+ description: 'Specify the size (px) of major tick marks on the y-axis.',
828
1727
  type: 'number'
829
1728
  },
830
1729
  y2AxisMajorTickSize: {
831
1730
  default: 6,
832
- description: 'Specify the size, in pixels, of major tick marks on the y2-axis.',
1731
+ description: 'Specify the size (px) of major tick marks on the second y-axis.',
833
1732
  type: 'number'
834
1733
  },
835
1734
  yAxisMinorTickSize: {
836
1735
  default: 6,
837
- description: 'Specify the size, in pixels, of minor tick marks on the y-axis.',
1736
+ description: 'Specify the size (px) of minor tick marks on the y-axis.',
838
1737
  type: 'number'
839
1738
  },
840
1739
  y2AxisMinorTickSize: {
841
1740
  default: 6,
842
- description: 'Specify the size, in pixels, of minor tick marks on the y2-axis.',
1741
+ description: 'Specify the size (px) of minor tick marks on the second y-axis.',
843
1742
  type: 'number'
844
1743
  },
845
1744
  xAxisMajorTickVisibility: {
846
1745
  default: 'auto',
847
- description: 'Specify whether to show or hide major tick marks on the x-axis.',
1746
+ description: 'Specify whether to show major tick marks on the x-axis.',
848
1747
  pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
849
1748
  type: 'string'
850
1749
  },
851
1750
  yAxisMajorTickVisibility: {
852
1751
  default: 'auto',
853
- description: 'Specify whether to show or hide major tick marks on the y-axis.',
1752
+ description: 'Specify whether to show major tick marks on the y-axis.',
854
1753
  pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
855
1754
  type: 'string'
856
1755
  },
857
1756
  y2AxisMajorTickVisibility: {
858
1757
  default: 'auto',
859
- description: 'Specify whether to show or hide major tick marks on the y2-axis.',
1758
+ description: 'Specify whether to show major tick marks on the second y-axis.',
860
1759
  pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
861
1760
  type: 'string'
862
1761
  },
863
1762
  yAxisMinorTickVisibility: {
864
1763
  default: 'auto',
865
- description: 'Specify whether to show or hide minor tick marks on the y-axis.',
1764
+ description: 'Specify whether to show minor tick marks on the y-axis.',
866
1765
  pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
867
1766
  type: 'string'
868
1767
  },
869
1768
  y2AxisMinorTickVisibility: {
870
1769
  default: 'auto',
871
- description: 'Specify whether to show or hide minor tick marks on the y2-axis.',
1770
+ description: 'Specify whether to show minor tick marks on the second y-axis.',
872
1771
  pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
873
1772
  type: 'string'
874
1773
  },
@@ -876,7 +1775,7 @@ var optionsSchema = {
876
1775
  default: 3,
877
1776
  minimum: 1,
878
1777
  maximum: 3,
879
- description: 'Specify the maximum number of time-parts that a tick label will have (the 3 possible parts are year, month, time).',
1778
+ description: 'Specify the maximum number of time-parts for a tick label. The 3 possible parts are year, month, and time.',
880
1779
  type: 'number'
881
1780
  },
882
1781
  yAxisScale: {
@@ -887,7 +1786,7 @@ var optionsSchema = {
887
1786
  },
888
1787
  y2AxisScale: {
889
1788
  default: 'linear',
890
- description: 'Specify the type of scale that applies to a numerical y2-axis.',
1789
+ description: 'Specify the type of scale that applies to a numerical second y-axis.',
891
1790
  pattern: schemaUtils_1.getPattern(['linear', 'log']),
892
1791
  type: 'string'
893
1792
  },
@@ -900,36 +1799,41 @@ var optionsSchema = {
900
1799
  type: 'string'
901
1800
  },
902
1801
  y2AxisTitleText: {
903
- description: 'Specify the title of the y2-axis.',
1802
+ description: 'Specify the title of the second y-axis.',
904
1803
  type: 'string'
905
1804
  },
906
1805
  xAxisTitleVisibility: {
907
1806
  default: 'show',
908
- description: 'Specify whether to show or hide the title of the x-axis.',
1807
+ description: 'Specify whether to show the title of the x-axis.',
1808
+ enum: ['hide', 'show'],
909
1809
  pattern: schemaUtils_1.getPattern(['show', 'hide']),
910
1810
  type: 'string'
911
1811
  },
912
1812
  yAxisTitleVisibility: {
913
1813
  default: 'show',
914
- description: 'Specify whether to show or hide the title of the y-axis.',
1814
+ description: 'Specify whether to show the title of the y-axis.',
1815
+ enum: ['hide', 'show'],
915
1816
  pattern: schemaUtils_1.getPattern(['show', 'hide']),
916
1817
  type: 'string'
917
1818
  },
918
1819
  y2AxisTitleVisibility: {
919
1820
  default: 'show',
920
- description: 'Specify whether to show or hide the title of the y2-axis.',
1821
+ description: 'Specify whether to show the title of the second y-axis.',
1822
+ enum: ['hide', 'show'],
921
1823
  pattern: schemaUtils_1.getPattern(['show', 'hide']),
922
1824
  type: 'string'
923
1825
  },
924
1826
  yAxisAbbreviation: {
925
1827
  default: 'auto',
926
- description: 'Specify whether to abbreviate large y-axis values with the closest SI prefix.',
1828
+ description: 'Specify whether to abbreviate large y-axis values with the closest International System of Units (SI) prefix.',
1829
+ enum: ['auto', 'off'],
927
1830
  pattern: schemaUtils_1.getPattern(['off', 'auto']),
928
1831
  type: 'string'
929
1832
  },
930
1833
  y2AxisAbbreviation: {
931
1834
  default: 'auto',
932
- description: 'Specify whether to abbreviate large y2-axis values with the closest SI prefix.',
1835
+ description: 'Specify whether to abbreviate large y2-axis values with the closest International System of Units (SI) prefix.',
1836
+ enum: ['auto', 'off'],
933
1837
  pattern: schemaUtils_1.getPattern(['off', 'auto']),
934
1838
  type: 'string'
935
1839
  },
@@ -940,45 +1844,45 @@ var optionsSchema = {
940
1844
  },
941
1845
  y2AxisMajorTickInterval: {
942
1846
  default: 'auto',
943
- description: 'Specify the spacing unit between major tick marks along the numeric y2-axis.',
1847
+ description: 'Specify the spacing unit between major tick marks along the numeric second y-axis.',
944
1848
  type: ['string', 'number']
945
1849
  },
946
1850
  // TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation
947
1851
  yAxisMax: {
948
1852
  default: 'auto',
949
- description: 'Specify the maximum number for the visible y-axis range.',
1853
+ description: 'Specify the largest value to display in the visible y-axis range.',
950
1854
  type: ['string', 'number']
951
1855
  },
952
1856
  // TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation
953
1857
  y2AxisMax: {
954
1858
  default: 'auto',
955
- description: 'Specify the maximum number for the visible y2-axis range.',
1859
+ description: 'Specify the largest value to display in the visible second y-axis range.',
956
1860
  type: ['string', 'number']
957
1861
  },
958
1862
  // TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation
959
1863
  yAxisMin: {
960
1864
  default: 'auto',
961
- description: 'Specify the minimum number for the visible y-axis range.',
1865
+ description: 'Specify the smallest value for the visible y-axis range.',
962
1866
  type: ['string', 'number']
963
1867
  },
964
1868
  // TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation
965
1869
  y2AxisMin: {
966
1870
  default: 'auto',
967
- description: 'Specify the minimum number for the visible y2-axis range.',
1871
+ description: 'Specify the smallest value for the visible second y-axis range.',
968
1872
  type: ['string', 'number']
969
1873
  },
970
1874
  overlayFields: {
971
- description: 'Specify field(s) that should be differentiated on the chart and displayed as chart overlays.',
1875
+ description: 'Specify one or more fields to differentiate on the chart and display as chart overlays.',
972
1876
  type: ['array', 'string']
973
1877
  },
974
1878
  showOverlayY2Axis: {
975
1879
  default: false,
976
- description: 'Enable a y2-axis for chart overlays. All overlay fields will be mapped to a second y-axis.',
1880
+ description: 'Enable a second y-axis for chart overlays. All overlay fields map to a second y-axis.',
977
1881
  type: 'boolean'
978
1882
  },
979
1883
  showRoundedY2AxisLabels: {
980
1884
  default: true,
981
- description: 'Specify whether to round y2-axis values to the nearest integer.',
1885
+ description: 'Specify whether to round second y-axis values to the nearest integer.',
982
1886
  type: 'boolean'
983
1887
  }
984
1888
  };
@@ -993,47 +1897,79 @@ var themes = {
993
1897
  })(props);
994
1898
  }
995
1899
  };
996
- var editorConfig = [{
997
- label: i18n_1._('General'),
998
- layout: [BackgroundColor_1.default({
999
- themes: themes
1000
- }), [{
1001
- label: i18n_1._('Stack Mode'),
1002
- option: 'stackMode',
1900
+ var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigBar, AxesChartDataDisplay_1.AxesChartDataDisplayBar, {
1901
+ label: AxesChartColorAndStyle_1.default.label,
1902
+ layout: [].concat(_toConsumableArray(AxesChartColorAndStyle_1.default.layout), [[{
1903
+ label: i18n_1._('Line width (px)'),
1904
+ option: 'lineWidth',
1905
+ editor: 'editor.slider',
1906
+ editorProps: {
1907
+ min: 0.5,
1908
+ max: 8.0,
1909
+ step: 0.5
1910
+ }
1911
+ }], [{
1912
+ label: i18n_1._('Series spacing'),
1913
+ option: 'seriesSpacing',
1914
+ editor: 'editor.number'
1915
+ }], [{
1916
+ label: i18n_1._('Bar spacing'),
1917
+ option: 'barSpacing',
1918
+ editor: 'editor.number'
1919
+ }]])
1920
+ }, AxesChartLegend_1.default, {
1921
+ label: AxesChartXGridAndLabels_1.AxesChartXGridAndLabelsCommon.label,
1922
+ layout: [].concat(_toConsumableArray(AxesChartXGridAndLabels_1.AxesChartXGridAndLabelsCommon.layout), [[{
1923
+ label: i18n_1._('Number of time label parts'),
1924
+ option: 'xAxisMaxLabelParts',
1925
+ editor: 'editor.number',
1926
+ editorProps: {
1927
+ min: 1,
1928
+ max: 3
1929
+ },
1930
+ showEditor: function showEditor(_ref) {
1931
+ var options = _ref.options;
1932
+ return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
1933
+ }
1934
+ }], [{
1935
+ label: i18n_1._('Axis line visibility'),
1936
+ option: 'xAxisLineVisibility',
1937
+ editor: 'editor.checkbox'
1938
+ }], [{
1939
+ label: i18n_1._('Major gridlines'),
1940
+ option: 'showXMajorGridLines',
1941
+ editor: 'editor.checkbox'
1942
+ }], [{
1943
+ label: i18n_1._('Major tick visibility'),
1944
+ option: 'xAxisMajorTickVisibility',
1003
1945
  editor: 'editor.radioBar',
1004
1946
  editorProps: {
1005
1947
  values: [{
1006
- icon: BarBeside_1.default,
1007
- label: i18n_1._('Not stacked'),
1948
+ label: i18n_1._('Auto'),
1008
1949
  value: 'auto'
1009
1950
  }, {
1010
- icon: BarStacked_1.default,
1011
- label: i18n_1._('Stacked'),
1012
- value: 'stacked'
1951
+ label: i18n_1._('Show'),
1952
+ value: 'show'
1013
1953
  }, {
1014
- icon: BarStacked100_1.default,
1015
- label: i18n_1._('Stacked 100%'),
1016
- value: 'stacked100'
1954
+ label: i18n_1._('Hide'),
1955
+ value: 'hide'
1017
1956
  }]
1018
1957
  }
1019
1958
  }], [{
1020
- label: i18n_1._('Data Values Display'),
1021
- option: 'dataValuesDisplay',
1022
- editor: 'editor.radioBar',
1959
+ label: i18n_1._('Major tick size (px)'),
1960
+ option: 'xAxisMajorTickSize',
1961
+ editor: 'editor.slider',
1023
1962
  editorProps: {
1024
- values: [{
1025
- label: i18n_1._('Off'),
1026
- value: 'off'
1027
- }, {
1028
- label: i18n_1._('On'),
1029
- value: 'all'
1030
- }, {
1031
- label: i18n_1._('Min/Max'),
1032
- value: 'minmax'
1033
- }]
1963
+ min: 0,
1964
+ max: 10,
1965
+ step: 1
1966
+ },
1967
+ showEditor: function showEditor(_ref2) {
1968
+ var options = _ref2.options;
1969
+ return options.xAxisMajorTickVisibility === 'show' || options.xAxisMajorTickVisibility === 'auto' || options.xAxisMajorTickVisibility === undefined;
1034
1970
  }
1035
- }]]
1036
- }, Axes_1.default, Legend_1.default];
1971
+ }]])
1972
+ }, AxesChartYGridAndLabels_1.default, AxesChartY2GridAndLabels_1.default];
1037
1973
  /**
1038
1974
  * visualization configuration
1039
1975
  */