@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.
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_Tooltip_ChoroplethTooltip.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_Tooltip_ChoroplethTooltip_with_additional_fields.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_choropleth_layer.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Area_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bar_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bubble_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_ChoroplethSvg_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Column_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Ellipse_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_FillerGauge_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Image_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Line_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_LinkGraph_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Map_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Markdown_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_MarkerGauge_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Parallel_Coordinates_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Pie_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Punchcard_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Rectangle_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Sankey_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Scatter_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Icon_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Radial_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Table_Editor.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Background_Color_grey.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Basic_Bubble.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Bubble_Size_Max_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Bubble_Size_Method_area_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Bubble_Size_Method_diameter.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Bubble_Size_Min_40.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Result_Limit_0_Number_of_Results_30.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Result_Limit_10_Number_of_Results_30.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Result_Limit_3a_invalid_Number_of_Results_30.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Result_Limit_50_Number_of_Results_30.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_X_Axis_Extend_Range_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_X_Axis_Extend_Range_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_X_Axis_Minor_Grid_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_X_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_X_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_Y_Axis_Extend_Range_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_Y_Axis_Extend_Range_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_Y_Axis_Major_Grid_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_Y_Axis_Minor_Grid_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_Y_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_Y_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Label_Rotation_45.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Label_Rotation_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Label_Rotation_negative_45.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Label_Rotation_negative_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Label_Visibility_and_Y_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Line_Visibility_hide_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Major_Tick_Interval_6.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Major_Tick_Size_15_Minor_Tick_Size_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Major_Tick_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Major_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Maximum_Number_14.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Minimum_Number_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Minor_Tick_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Minor_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Abbreviation_auto_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Abbreviation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Major_Tick_Interval_150.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Major_Tick_Size_15_Minor_Tick_Size_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Major_Tick_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Major_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Maximum_Number_1500.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Minimum_Number_500.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Minor_Tick_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Minor_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_and_X_Axis_Title_Text_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_and_X_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Multiple_Overlay_Fields_with_space_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Overlay_Field_with_space_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y2_Axis_Mapped_Field_With_Space_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_Opacities_scaled_to_be_less_than_max_of_0_8.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_Result_Limit_Set_To_1.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_String_GeoJson_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_With_additional_fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Background_Color_af575a.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Basic_Markdown.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Begin_with_Text_Instead_of_Header.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Color_purple.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Size_extraLarge.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Background_Color_grey.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Basic_Scatter.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Marker_Size_7.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_X_Axis_Extend_Range_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_X_Axis_Extend_Range_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_X_Axis_Minor_Grid_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_X_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_X_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_Y_Axis_Extend_Range_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_Y_Axis_Extend_Range_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_Y_Axis_Major_Grid_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_Y_Axis_Minor_Grid_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_Y_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_Y_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Label_Rotation_45.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Label_Rotation_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Label_Rotation_negative_45.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Label_Rotation_negative_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Label_Visibility_and_Y_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Line_Visibility_hide_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Major_Tick_Interval_6.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Major_Tick_Size_15_X_Axis_Minor_Tick_Size_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Major_Tick_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Major_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Maximum_Number_14.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Minimum_Number_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Minor_Tick_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Minor_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Title_Text_and_Y_Axis_Title_Text_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Title_Text_and_Y_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Major_Tick_Interval_150.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Major_Tick_Size_15_Y_Axis_Minor_Tick_Size_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Major_Tick_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Major_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Maximum_Number_1000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Minimum_Number_500.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Minor_Tick_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Minor_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Change_Icon_Color_For_A_Remote_Icon.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Set_The_Icon_As_A_Remote_Icon.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Set_the_backgroundColor_based_on_the_majorValue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Set_the_icon_color_based_on_the_majorValue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Set_the_majorColor_based_on_the_majorValue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Use_Mixed_Type_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Use_Time_Type_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Background_From_Major_Value.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Background_From_Trend_Value.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Major_Value_Color.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Major_Value_Color_By_Trend_Value.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Max_Value_1000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Radial_Color_By_Major_Value.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Change_The_Color_Of_Major_Value_Based_On_Its_Value.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Set_The_Background_Color_Based_On_The_Major_Value.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Set_The_Background_Color_Based_On_The_Trend_Value.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Set_The_Color_Of_Major_Value_Based_On_The_Trend_Value.png +0 -0
- 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
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Set_The_Major_Value_Based_On_String_Type_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Trend_Index_Out_Of_Range.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Use_Mixed_Type_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Use_Time_Type_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_Right.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Column_Width_Auto_Expand_Last_Column.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Font_Monospace.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Format_Number_Adv.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Show_Internal_Fields_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Show_Internal_Fields_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Time_Formatting.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Time_Zone_Time_Formatting.png +0 -0
- package/Area.config.js +1119 -241
- package/Area.config.js.map +1 -1
- package/Area.js +1241 -402
- package/Area.js.map +1 -1
- package/Bar.config.js +1089 -153
- package/Bar.config.js.map +1 -1
- package/Bar.js +1262 -365
- package/Bar.js.map +1 -1
- package/Bubble.config.js +702 -60
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +806 -203
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +62 -38
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +168 -178
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +1059 -170
- package/Column.config.js.map +1 -1
- package/Column.js +1234 -384
- package/Column.js.map +1 -1
- package/Ellipse.config.js +55 -31
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +135 -145
- package/Ellipse.js.map +1 -1
- package/FillerGauge.config.js +67 -43
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +157 -172
- package/FillerGauge.js.map +1 -1
- package/Image.config.js +52 -25
- package/Image.config.js.map +1 -1
- package/Image.js +132 -140
- package/Image.js.map +1 -1
- package/Line.config.js +1035 -108
- package/Line.config.js.map +1 -1
- package/Line.js +1199 -311
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +78 -58
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +179 -194
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +787 -78
- package/Map.config.js.map +1 -1
- package/Map.js +846 -352
- package/Map.js.map +1 -1
- package/Markdown.config.js +73 -48
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +271 -259
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +77 -50
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +2079 -1987
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +75 -48
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +166 -181
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +77 -50
- package/Pie.config.js.map +1 -1
- package/Pie.js +1139 -1042
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +76 -49
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +196 -211
- package/Punchcard.js.map +1 -1
- package/Rectangle.config.js +83 -56
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +256 -264
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +82 -55
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +190 -205
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +790 -135
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +1072 -485
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +85 -56
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +415 -411
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +37 -25
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +81 -57
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +195 -211
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +80 -51
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +342 -338
- package/SingleValueRadial.js.map +1 -1
- package/Table.config.js +56 -36
- package/Table.config.js.map +1 -1
- package/Table.js +1610 -1553
- package/Table.js.map +1 -1
- package/common/Charting.js +10 -10
- package/common/Charting.js.map +1 -1
- package/common/ChartingApi.js +2 -2
- package/common/ChartingApi.js.map +1 -1
- package/common/EventsDoc.js +3 -3
- package/common/EventsDoc.js.map +1 -1
- package/common/OptionsDoc.js +49 -21
- package/common/OptionsDoc.js.map +1 -1
- package/common/SplunkVisualization.js +4 -4
- package/common/SplunkVisualization.js.map +1 -1
- package/common/ThemesDoc.js +2 -2
- package/common/chartingUtils.js +2 -2
- package/common/gaugeUtils.js +2 -2
- package/common/utils/configUtils.js +30 -4
- package/common/utils/configUtils.js.map +1 -1
- package/common/utils/hocUtils.js +26 -56
- package/common/utils/hocUtils.js.map +1 -1
- package/common/utils/singleValueUtils.js +4 -2
- package/common/utils/singleValueUtils.js.map +1 -1
- package/common/utils/testHelper.js +8 -8
- package/common/utils/testHelper.js.map +1 -1
- package/common/withDashboardViz.js +32 -68
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +11 -11
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Maximum_Number_800.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Minimum_Number_300.png +0 -0
package/Bar.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 =
|
|
90
|
+
/******/ return __webpack_require__(__webpack_require__.s = 149);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ([
|
|
@@ -164,6 +164,8 @@ var VizBehavior;
|
|
|
164
164
|
"use strict";
|
|
165
165
|
|
|
166
166
|
|
|
167
|
+
var _toConsumableArray = __webpack_require__(9);
|
|
168
|
+
|
|
167
169
|
var _defineProperty = __webpack_require__(7);
|
|
168
170
|
|
|
169
171
|
var __rest = this && this.__rest || function (s, e) {
|
|
@@ -182,11 +184,11 @@ var __rest = this && this.__rest || function (s, e) {
|
|
|
182
184
|
Object.defineProperty(exports, "__esModule", {
|
|
183
185
|
value: true
|
|
184
186
|
});
|
|
185
|
-
exports.generatePrecisionValues = exports.getInitialPreset = exports.isDynamicOption = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
|
|
187
|
+
exports.insertLayout = exports.generatePrecisionValues = exports.getInitialPreset = exports.isDynamicOption = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
|
|
186
188
|
|
|
187
189
|
var lodash_1 = __webpack_require__(2);
|
|
188
190
|
|
|
189
|
-
var schemaUtils_1 = __webpack_require__(
|
|
191
|
+
var schemaUtils_1 = __webpack_require__(16);
|
|
190
192
|
|
|
191
193
|
var VizBehavior_1 = __webpack_require__(5);
|
|
192
194
|
|
|
@@ -347,6 +349,24 @@ function generatePrecisionValues(numPrecisionValues) {
|
|
|
347
349
|
}
|
|
348
350
|
|
|
349
351
|
exports.generatePrecisionValues = generatePrecisionValues;
|
|
352
|
+
/**
|
|
353
|
+
* insert layout in layout array, return a new layout array instead of updating the original
|
|
354
|
+
*
|
|
355
|
+
* @param {EditorLayoutConfig[][]} layout - editor layout
|
|
356
|
+
* @param {Number} index - the index to insert layout item(s)
|
|
357
|
+
* @param {EditorLayoutConfig[][]} layoutItems - the item(s) to insert
|
|
358
|
+
* @returns {EditorLayoutConfig[][]} new editor layout with insertion
|
|
359
|
+
*/
|
|
360
|
+
|
|
361
|
+
var insertLayout = function insertLayout(layout, index) {
|
|
362
|
+
for (var _len = arguments.length, layoutItems = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
363
|
+
layoutItems[_key - 2] = arguments[_key];
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
return [].concat(_toConsumableArray(layout.slice(0, index)), layoutItems, _toConsumableArray(layout.slice(index)));
|
|
367
|
+
};
|
|
368
|
+
|
|
369
|
+
exports.insertLayout = insertLayout;
|
|
350
370
|
|
|
351
371
|
/***/ }),
|
|
352
372
|
/* 7 */
|
|
@@ -361,14 +381,16 @@ module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
|
361
381
|
"use strict";
|
|
362
382
|
|
|
363
383
|
|
|
364
|
-
var _typeof = __webpack_require__(
|
|
384
|
+
var _typeof = __webpack_require__(23);
|
|
365
385
|
|
|
366
386
|
Object.defineProperty(exports, "__esModule", {
|
|
367
387
|
value: true
|
|
368
388
|
});
|
|
369
|
-
exports.
|
|
389
|
+
exports.deepMergeWithArrayPrimitiveOverrides = exports.extendStaticWrapperProps = void 0;
|
|
370
390
|
|
|
371
391
|
var lodash_1 = __webpack_require__(2);
|
|
392
|
+
|
|
393
|
+
var mapUtils_1 = __webpack_require__(41);
|
|
372
394
|
/**
|
|
373
395
|
* @method extendStaticWrapperProps
|
|
374
396
|
* @param {Object} props
|
|
@@ -423,7 +445,7 @@ var deepMergeWithArrayPrimitiveOverrides = function deepMergeWithArrayPrimitiveO
|
|
|
423
445
|
// If option is an array of objects
|
|
424
446
|
for (var i = 0; i < clone[sourceKey].length; i += 1) {
|
|
425
447
|
if (_typeof(clone[sourceKey][i]) === 'object') {
|
|
426
|
-
var closestMatchIdx =
|
|
448
|
+
var closestMatchIdx = mapUtils_1.findClosestMatchFromDefaultList(sourceToApply[sourceKey], clone[sourceKey][i]);
|
|
427
449
|
|
|
428
450
|
if (closestMatchIdx > -1) {
|
|
429
451
|
clone[sourceKey][i] = exports.deepMergeWithArrayPrimitiveOverrides(clone[sourceKey][i], sourceToApply[sourceKey][closestMatchIdx]);
|
|
@@ -437,77 +459,39 @@ var deepMergeWithArrayPrimitiveOverrides = function deepMergeWithArrayPrimitiveO
|
|
|
437
459
|
};
|
|
438
460
|
|
|
439
461
|
exports.deepMergeWithArrayPrimitiveOverrides = deepMergeWithArrayPrimitiveOverrides;
|
|
440
|
-
/**
|
|
441
|
-
* Finds the closest matching object from the list, which has the max same key value pairs.
|
|
442
|
-
* Returns the index of match if found, or -1
|
|
443
|
-
* For eg :-
|
|
444
|
-
const list = [{
|
|
445
|
-
type: "marker",
|
|
446
|
-
lat: "value1"
|
|
447
|
-
}, {
|
|
448
|
-
type: "bubble",
|
|
449
|
-
size: "value2"
|
|
450
|
-
}];
|
|
451
|
-
|
|
452
|
-
const obj = {
|
|
453
|
-
type: 'bubble'
|
|
454
|
-
};
|
|
455
|
-
|
|
456
|
-
findClosestMatch(list, obj) -> returns index 1.
|
|
457
|
-
*/
|
|
458
|
-
|
|
459
|
-
var findClosestMatchFromDefaultList = function findClosestMatchFromDefaultList(searchList, inputObj) {
|
|
460
|
-
if (!Array.isArray(searchList) || searchList.length === 0) {
|
|
461
|
-
return -1;
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
var keys = Object.keys(inputObj);
|
|
465
|
-
var maxMatchCnt = 0;
|
|
466
|
-
var maxMatchIdx = 0;
|
|
467
|
-
searchList.forEach(function (item, idx) {
|
|
468
|
-
var matchCnt = 0;
|
|
469
|
-
keys.forEach(function (key) {
|
|
470
|
-
if (item[key] === inputObj[key]) {
|
|
471
|
-
matchCnt += 1;
|
|
472
|
-
}
|
|
473
|
-
});
|
|
474
|
-
|
|
475
|
-
if (Math.max(maxMatchCnt, matchCnt) > maxMatchCnt) {
|
|
476
|
-
maxMatchCnt = matchCnt;
|
|
477
|
-
maxMatchIdx = idx;
|
|
478
|
-
}
|
|
479
|
-
});
|
|
480
|
-
return maxMatchIdx;
|
|
481
|
-
};
|
|
482
|
-
|
|
483
|
-
exports.findClosestMatchFromDefaultList = findClosestMatchFromDefaultList;
|
|
484
462
|
|
|
485
463
|
/***/ }),
|
|
486
464
|
/* 9 */
|
|
487
465
|
/***/ (function(module, exports) {
|
|
488
466
|
|
|
489
|
-
module.exports = require("@
|
|
467
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
490
468
|
|
|
491
469
|
/***/ }),
|
|
492
470
|
/* 10 */
|
|
493
471
|
/***/ (function(module, exports) {
|
|
494
472
|
|
|
495
|
-
module.exports = require("@
|
|
473
|
+
module.exports = require("@splunk/themes/variables");
|
|
496
474
|
|
|
497
475
|
/***/ }),
|
|
498
476
|
/* 11 */
|
|
499
477
|
/***/ (function(module, exports) {
|
|
500
478
|
|
|
501
|
-
module.exports = require("@splunk/
|
|
479
|
+
module.exports = require("@splunk/visualizations-shared/Message");
|
|
502
480
|
|
|
503
481
|
/***/ }),
|
|
504
482
|
/* 12 */
|
|
505
483
|
/***/ (function(module, exports) {
|
|
506
484
|
|
|
507
|
-
module.exports = require("@
|
|
485
|
+
module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
508
486
|
|
|
509
487
|
/***/ }),
|
|
510
488
|
/* 13 */
|
|
489
|
+
/***/ (function(module, exports) {
|
|
490
|
+
|
|
491
|
+
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
492
|
+
|
|
493
|
+
/***/ }),
|
|
494
|
+
/* 14 */
|
|
511
495
|
/***/ (function(module, exports, __webpack_require__) {
|
|
512
496
|
|
|
513
497
|
"use strict";
|
|
@@ -521,11 +505,11 @@ var React = __webpack_require__(1);
|
|
|
521
505
|
|
|
522
506
|
var styled_components_1 = __webpack_require__(4);
|
|
523
507
|
|
|
524
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
508
|
+
var SizeAwareWrapper_1 = __webpack_require__(18);
|
|
525
509
|
|
|
526
|
-
var style_1 = __webpack_require__(
|
|
510
|
+
var style_1 = __webpack_require__(15);
|
|
527
511
|
|
|
528
|
-
var colorUtils_1 = __webpack_require__(
|
|
512
|
+
var colorUtils_1 = __webpack_require__(13);
|
|
529
513
|
|
|
530
514
|
var Item = styled_components_1.default.div.attrs(function (_ref) {
|
|
531
515
|
var width = _ref.width;
|
|
@@ -582,7 +566,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
582
566
|
|
|
583
567
|
return React.createElement(FixSizeItem, {
|
|
584
568
|
"data-test": "fix-size-item",
|
|
585
|
-
"data-splunk-visualization-version": "
|
|
569
|
+
"data-splunk-visualization-version": "25.0.0 - 5e0f30e5a",
|
|
586
570
|
width: width,
|
|
587
571
|
height: height,
|
|
588
572
|
backgroundColor: backgroundColor
|
|
@@ -603,57 +587,57 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
603
587
|
exports.default = withFixedSizeContainer;
|
|
604
588
|
|
|
605
589
|
/***/ }),
|
|
606
|
-
/*
|
|
590
|
+
/* 15 */
|
|
607
591
|
/***/ (function(module, exports) {
|
|
608
592
|
|
|
609
593
|
module.exports = require("@splunk/visualizations-shared/style");
|
|
610
594
|
|
|
611
595
|
/***/ }),
|
|
612
|
-
/*
|
|
596
|
+
/* 16 */
|
|
613
597
|
/***/ (function(module, exports) {
|
|
614
598
|
|
|
615
599
|
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
616
600
|
|
|
617
601
|
/***/ }),
|
|
618
|
-
/*
|
|
602
|
+
/* 17 */
|
|
619
603
|
/***/ (function(module, exports) {
|
|
620
604
|
|
|
621
605
|
module.exports = require("@babel/runtime/helpers/createClass");
|
|
622
606
|
|
|
623
607
|
/***/ }),
|
|
624
|
-
/*
|
|
608
|
+
/* 18 */
|
|
625
609
|
/***/ (function(module, exports) {
|
|
626
610
|
|
|
627
611
|
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
628
612
|
|
|
629
613
|
/***/ }),
|
|
630
|
-
/*
|
|
631
|
-
/*
|
|
614
|
+
/* 19 */,
|
|
615
|
+
/* 20 */
|
|
632
616
|
/***/ (function(module, exports) {
|
|
633
617
|
|
|
634
|
-
module.exports = require("@splunk/
|
|
618
|
+
module.exports = require("@splunk/themes/pick");
|
|
635
619
|
|
|
636
620
|
/***/ }),
|
|
637
|
-
/*
|
|
621
|
+
/* 21 */
|
|
638
622
|
/***/ (function(module, exports) {
|
|
639
623
|
|
|
640
|
-
module.exports = require("@splunk/
|
|
624
|
+
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
641
625
|
|
|
642
626
|
/***/ }),
|
|
643
|
-
/*
|
|
627
|
+
/* 22 */
|
|
644
628
|
/***/ (function(module, exports) {
|
|
645
629
|
|
|
646
|
-
module.exports = require("@
|
|
630
|
+
module.exports = require("@splunk/visualizations-shared/propUtils");
|
|
647
631
|
|
|
648
632
|
/***/ }),
|
|
649
|
-
/*
|
|
633
|
+
/* 23 */
|
|
650
634
|
/***/ (function(module, exports) {
|
|
651
635
|
|
|
652
|
-
module.exports = require("@
|
|
636
|
+
module.exports = require("@babel/runtime/helpers/typeof");
|
|
653
637
|
|
|
654
638
|
/***/ }),
|
|
655
|
-
/*
|
|
656
|
-
/*
|
|
639
|
+
/* 24 */,
|
|
640
|
+
/* 25 */
|
|
657
641
|
/***/ (function(module, exports, __webpack_require__) {
|
|
658
642
|
|
|
659
643
|
"use strict";
|
|
@@ -686,7 +670,7 @@ var pickFieldFromJSONSchema = function pickFieldFromJSONSchema(optionsSchema) {
|
|
|
686
670
|
exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
|
|
687
671
|
|
|
688
672
|
/***/ }),
|
|
689
|
-
/*
|
|
673
|
+
/* 26 */
|
|
690
674
|
/***/ (function(module, exports, __webpack_require__) {
|
|
691
675
|
|
|
692
676
|
"use strict";
|
|
@@ -705,9 +689,9 @@ var lodash_1 = __webpack_require__(2);
|
|
|
705
689
|
|
|
706
690
|
var i18n_1 = __webpack_require__(3);
|
|
707
691
|
|
|
708
|
-
var Message_1 = __webpack_require__(
|
|
692
|
+
var Message_1 = __webpack_require__(11);
|
|
709
693
|
|
|
710
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
694
|
+
var FixedSizeContainer_1 = __webpack_require__(14);
|
|
711
695
|
/**
|
|
712
696
|
* @method shouldShowIconPlaceholder
|
|
713
697
|
* @param {object} dataSources
|
|
@@ -777,7 +761,7 @@ IconPlaceholder.defaultProps = {
|
|
|
777
761
|
exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
778
762
|
|
|
779
763
|
/***/ }),
|
|
780
|
-
/*
|
|
764
|
+
/* 27 */
|
|
781
765
|
/***/ (function(module, exports, __webpack_require__) {
|
|
782
766
|
|
|
783
767
|
"use strict";
|
|
@@ -794,7 +778,7 @@ var T = __webpack_require__(0);
|
|
|
794
778
|
|
|
795
779
|
var lodash_1 = __webpack_require__(2);
|
|
796
780
|
|
|
797
|
-
var DataSource_1 = __webpack_require__(
|
|
781
|
+
var DataSource_1 = __webpack_require__(37);
|
|
798
782
|
|
|
799
783
|
exports.SortParamsPropTypes = T.shape({
|
|
800
784
|
currentSortKey: T.string,
|
|
@@ -847,7 +831,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
847
831
|
exports.getSortingParams = getSortingParams;
|
|
848
832
|
|
|
849
833
|
/***/ }),
|
|
850
|
-
/*
|
|
834
|
+
/* 28 */
|
|
851
835
|
/***/ (function(module, exports, __webpack_require__) {
|
|
852
836
|
|
|
853
837
|
"use strict";
|
|
@@ -911,7 +895,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
911
895
|
exports.getPaginationParams = getPaginationParams;
|
|
912
896
|
|
|
913
897
|
/***/ }),
|
|
914
|
-
/*
|
|
898
|
+
/* 29 */
|
|
915
899
|
/***/ (function(module, exports, __webpack_require__) {
|
|
916
900
|
|
|
917
901
|
"use strict";
|
|
@@ -939,7 +923,7 @@ var VizCategory;
|
|
|
939
923
|
})(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
|
|
940
924
|
|
|
941
925
|
/***/ }),
|
|
942
|
-
/*
|
|
926
|
+
/* 30 */
|
|
943
927
|
/***/ (function(module, exports, __webpack_require__) {
|
|
944
928
|
|
|
945
929
|
"use strict";
|
|
@@ -953,35 +937,35 @@ var React = __webpack_require__(1);
|
|
|
953
937
|
|
|
954
938
|
var lodash_1 = __webpack_require__(2);
|
|
955
939
|
|
|
956
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
940
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(31);
|
|
957
941
|
|
|
958
|
-
var Options_1 = __webpack_require__(
|
|
942
|
+
var Options_1 = __webpack_require__(32);
|
|
959
943
|
|
|
960
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
944
|
+
var SanitizeProps_1 = __webpack_require__(33);
|
|
961
945
|
|
|
962
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
946
|
+
var TimezoneContext_1 = __webpack_require__(21);
|
|
963
947
|
|
|
964
|
-
var moment_1 = __webpack_require__(
|
|
948
|
+
var moment_1 = __webpack_require__(34);
|
|
965
949
|
|
|
966
950
|
var styled_components_1 = __webpack_require__(4);
|
|
967
951
|
|
|
968
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
952
|
+
var SplunkVisualization_1 = __webpack_require__(35);
|
|
969
953
|
|
|
970
954
|
var VizBehavior_1 = __webpack_require__(5);
|
|
971
955
|
|
|
972
|
-
var getSorting_1 = __webpack_require__(
|
|
956
|
+
var getSorting_1 = __webpack_require__(27);
|
|
973
957
|
|
|
974
|
-
var getPagination_1 = __webpack_require__(
|
|
958
|
+
var getPagination_1 = __webpack_require__(28);
|
|
975
959
|
|
|
976
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
960
|
+
var useDeepMemo_1 = __webpack_require__(38);
|
|
977
961
|
|
|
978
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
962
|
+
var JSONSchemaUtils_1 = __webpack_require__(25);
|
|
979
963
|
|
|
980
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
964
|
+
var MissingPropsMessage_1 = __webpack_require__(39);
|
|
981
965
|
|
|
982
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
966
|
+
var withEditModeCover_1 = __webpack_require__(40);
|
|
983
967
|
|
|
984
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
968
|
+
var withPlaceholder_1 = __webpack_require__(42);
|
|
985
969
|
|
|
986
970
|
var hocUtils_1 = __webpack_require__(8);
|
|
987
971
|
/**
|
|
@@ -1184,37 +1168,37 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1184
1168
|
exports.default = withDashboardViz;
|
|
1185
1169
|
|
|
1186
1170
|
/***/ }),
|
|
1187
|
-
/*
|
|
1171
|
+
/* 31 */
|
|
1188
1172
|
/***/ (function(module, exports) {
|
|
1189
1173
|
|
|
1190
1174
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1191
1175
|
|
|
1192
1176
|
/***/ }),
|
|
1193
|
-
/*
|
|
1177
|
+
/* 32 */
|
|
1194
1178
|
/***/ (function(module, exports) {
|
|
1195
1179
|
|
|
1196
1180
|
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1197
1181
|
|
|
1198
1182
|
/***/ }),
|
|
1199
|
-
/*
|
|
1183
|
+
/* 33 */
|
|
1200
1184
|
/***/ (function(module, exports) {
|
|
1201
1185
|
|
|
1202
1186
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
1203
1187
|
|
|
1204
1188
|
/***/ }),
|
|
1205
|
-
/*
|
|
1189
|
+
/* 34 */
|
|
1206
1190
|
/***/ (function(module, exports) {
|
|
1207
1191
|
|
|
1208
1192
|
module.exports = require("@splunk/moment");
|
|
1209
1193
|
|
|
1210
1194
|
/***/ }),
|
|
1211
|
-
/*
|
|
1195
|
+
/* 35 */
|
|
1212
1196
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1213
1197
|
|
|
1214
1198
|
"use strict";
|
|
1215
1199
|
|
|
1216
1200
|
|
|
1217
|
-
var _classCallCheck = __webpack_require__(
|
|
1201
|
+
var _classCallCheck = __webpack_require__(12);
|
|
1218
1202
|
|
|
1219
1203
|
Object.defineProperty(exports, "__esModule", {
|
|
1220
1204
|
value: true
|
|
@@ -1226,7 +1210,7 @@ var T = __webpack_require__(0);
|
|
|
1226
1210
|
|
|
1227
1211
|
var lodash_1 = __webpack_require__(2);
|
|
1228
1212
|
|
|
1229
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
1213
|
+
var VizActionHandler_1 = __webpack_require__(36); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
1230
1214
|
|
|
1231
1215
|
|
|
1232
1216
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -1359,15 +1343,15 @@ SplunkVisualization.defaultProps = {
|
|
|
1359
1343
|
exports.default = SplunkVisualization;
|
|
1360
1344
|
|
|
1361
1345
|
/***/ }),
|
|
1362
|
-
/*
|
|
1346
|
+
/* 36 */
|
|
1363
1347
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1364
1348
|
|
|
1365
1349
|
"use strict";
|
|
1366
1350
|
|
|
1367
1351
|
|
|
1368
|
-
var _classCallCheck = __webpack_require__(
|
|
1352
|
+
var _classCallCheck = __webpack_require__(12);
|
|
1369
1353
|
|
|
1370
|
-
var _createClass = __webpack_require__(
|
|
1354
|
+
var _createClass = __webpack_require__(17);
|
|
1371
1355
|
|
|
1372
1356
|
Object.defineProperty(exports, "__esModule", {
|
|
1373
1357
|
value: true
|
|
@@ -1396,7 +1380,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
|
|
|
1396
1380
|
exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
1397
1381
|
|
|
1398
1382
|
/***/ }),
|
|
1399
|
-
/*
|
|
1383
|
+
/* 37 */
|
|
1400
1384
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1401
1385
|
|
|
1402
1386
|
"use strict";
|
|
@@ -1409,7 +1393,7 @@ exports.validSortDirs = void 0;
|
|
|
1409
1393
|
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
1410
1394
|
|
|
1411
1395
|
/***/ }),
|
|
1412
|
-
/*
|
|
1396
|
+
/* 38 */
|
|
1413
1397
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1414
1398
|
|
|
1415
1399
|
"use strict";
|
|
@@ -1454,7 +1438,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
|
1454
1438
|
exports.useDeepMemo = useDeepMemo;
|
|
1455
1439
|
|
|
1456
1440
|
/***/ }),
|
|
1457
|
-
/*
|
|
1441
|
+
/* 39 */
|
|
1458
1442
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1459
1443
|
|
|
1460
1444
|
"use strict";
|
|
@@ -1471,9 +1455,9 @@ var T = __webpack_require__(0);
|
|
|
1471
1455
|
|
|
1472
1456
|
var i18n_1 = __webpack_require__(3);
|
|
1473
1457
|
|
|
1474
|
-
var Message_1 = __webpack_require__(
|
|
1458
|
+
var Message_1 = __webpack_require__(11);
|
|
1475
1459
|
|
|
1476
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
1460
|
+
var FixedSizeContainer_1 = __webpack_require__(14);
|
|
1477
1461
|
/**
|
|
1478
1462
|
* @method isMissing
|
|
1479
1463
|
* @param {any} v
|
|
@@ -1534,7 +1518,7 @@ exports.MissingPropsMessage.defaultProps = {
|
|
|
1534
1518
|
exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
1535
1519
|
|
|
1536
1520
|
/***/ }),
|
|
1537
|
-
/*
|
|
1521
|
+
/* 40 */
|
|
1538
1522
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1539
1523
|
|
|
1540
1524
|
"use strict";
|
|
@@ -1555,7 +1539,7 @@ var Cover = styled_components_1.default.div.withConfig({
|
|
|
1555
1539
|
componentId: "sc-1gsbnxb-0"
|
|
1556
1540
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
1557
1541
|
var Blocker = styled_components_1.default.div.attrs({
|
|
1558
|
-
'data-splunk-visualization-version': "
|
|
1542
|
+
'data-splunk-visualization-version': "25.0.0 - 5e0f30e5a"
|
|
1559
1543
|
}).withConfig({
|
|
1560
1544
|
displayName: "withEditModeCover__Blocker",
|
|
1561
1545
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -1586,7 +1570,13 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
|
|
|
1586
1570
|
exports.default = withEditModeCover;
|
|
1587
1571
|
|
|
1588
1572
|
/***/ }),
|
|
1589
|
-
/*
|
|
1573
|
+
/* 41 */
|
|
1574
|
+
/***/ (function(module, exports) {
|
|
1575
|
+
|
|
1576
|
+
module.exports = require("@splunk/visualizations-shared/mapUtils");
|
|
1577
|
+
|
|
1578
|
+
/***/ }),
|
|
1579
|
+
/* 42 */
|
|
1590
1580
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1591
1581
|
|
|
1592
1582
|
"use strict";
|
|
@@ -1598,11 +1588,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1598
1588
|
|
|
1599
1589
|
var React = __webpack_require__(1);
|
|
1600
1590
|
|
|
1601
|
-
var colorUtils_1 = __webpack_require__(
|
|
1591
|
+
var colorUtils_1 = __webpack_require__(13);
|
|
1602
1592
|
|
|
1603
|
-
var variables_1 = __webpack_require__(
|
|
1593
|
+
var variables_1 = __webpack_require__(10);
|
|
1604
1594
|
|
|
1605
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
1595
|
+
var IconPlaceholder_1 = __webpack_require__(26);
|
|
1606
1596
|
|
|
1607
1597
|
var VizBehavior_1 = __webpack_require__(5);
|
|
1608
1598
|
|
|
@@ -1650,34 +1640,28 @@ var withPlaceholder = function withPlaceholder(Visualization) {
|
|
|
1650
1640
|
exports.default = withPlaceholder;
|
|
1651
1641
|
|
|
1652
1642
|
/***/ }),
|
|
1653
|
-
/*
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
1657
|
-
|
|
1658
|
-
/***/ }),
|
|
1659
|
-
/* 42 */,
|
|
1660
|
-
/* 43 */
|
|
1643
|
+
/* 43 */,
|
|
1644
|
+
/* 44 */
|
|
1661
1645
|
/***/ (function(module, exports) {
|
|
1662
1646
|
|
|
1663
1647
|
module.exports = require("@splunk/visualization-color-palettes");
|
|
1664
1648
|
|
|
1665
1649
|
/***/ }),
|
|
1666
|
-
/*
|
|
1650
|
+
/* 45 */
|
|
1667
1651
|
/***/ (function(module, exports) {
|
|
1668
1652
|
|
|
1669
1653
|
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
1670
1654
|
|
|
1671
1655
|
/***/ }),
|
|
1672
|
-
/*
|
|
1656
|
+
/* 46 */
|
|
1673
1657
|
/***/ (function(module, exports) {
|
|
1674
1658
|
|
|
1675
1659
|
module.exports = require("@splunk/visualization-icons");
|
|
1676
1660
|
|
|
1677
1661
|
/***/ }),
|
|
1678
|
-
/* 46 */,
|
|
1679
1662
|
/* 47 */,
|
|
1680
|
-
/* 48
|
|
1663
|
+
/* 48 */,
|
|
1664
|
+
/* 49 */
|
|
1681
1665
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1682
1666
|
|
|
1683
1667
|
"use strict";
|
|
@@ -1707,13 +1691,13 @@ var background = function background(_ref) {
|
|
|
1707
1691
|
exports.default = background;
|
|
1708
1692
|
|
|
1709
1693
|
/***/ }),
|
|
1710
|
-
/*
|
|
1694
|
+
/* 50 */
|
|
1711
1695
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1712
1696
|
|
|
1713
1697
|
"use strict";
|
|
1714
1698
|
|
|
1715
1699
|
|
|
1716
|
-
var _toConsumableArray = __webpack_require__(
|
|
1700
|
+
var _toConsumableArray = __webpack_require__(9);
|
|
1717
1701
|
|
|
1718
1702
|
var __rest = this && this.__rest || function (s, e) {
|
|
1719
1703
|
var t = {};
|
|
@@ -1928,16 +1912,16 @@ var constructFieldsAndColumns = function constructFieldsAndColumns(_ref2) {
|
|
|
1928
1912
|
exports.constructFieldsAndColumns = constructFieldsAndColumns;
|
|
1929
1913
|
|
|
1930
1914
|
/***/ }),
|
|
1931
|
-
/*
|
|
1915
|
+
/* 51 */
|
|
1932
1916
|
/***/ (function(module, exports) {
|
|
1933
1917
|
|
|
1934
1918
|
module.exports = require("@splunk/charting-bundle");
|
|
1935
1919
|
|
|
1936
1920
|
/***/ }),
|
|
1937
|
-
/* 51 */,
|
|
1938
1921
|
/* 52 */,
|
|
1939
1922
|
/* 53 */,
|
|
1940
|
-
/* 54
|
|
1923
|
+
/* 54 */,
|
|
1924
|
+
/* 55 */
|
|
1941
1925
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1942
1926
|
|
|
1943
1927
|
"use strict";
|
|
@@ -1953,7 +1937,7 @@ var lodash_1 = __webpack_require__(2);
|
|
|
1953
1937
|
|
|
1954
1938
|
var i18n_1 = __webpack_require__(3);
|
|
1955
1939
|
|
|
1956
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
1940
|
+
var visualization_color_palettes_1 = __webpack_require__(44);
|
|
1957
1941
|
|
|
1958
1942
|
var react_1 = __webpack_require__(1);
|
|
1959
1943
|
|
|
@@ -1961,26 +1945,26 @@ var React = __webpack_require__(1);
|
|
|
1961
1945
|
|
|
1962
1946
|
var T = __webpack_require__(0);
|
|
1963
1947
|
|
|
1964
|
-
var react_event_listener_1 = __webpack_require__(
|
|
1948
|
+
var react_event_listener_1 = __webpack_require__(56);
|
|
1965
1949
|
|
|
1966
|
-
__webpack_require__(
|
|
1950
|
+
__webpack_require__(57); // fixme, @splunk/charting should be refactor to use locale & timezone instead of i18n functions
|
|
1967
1951
|
|
|
1968
1952
|
|
|
1969
|
-
var charting_bundle_1 = __webpack_require__(
|
|
1953
|
+
var charting_bundle_1 = __webpack_require__(51);
|
|
1970
1954
|
|
|
1971
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
1955
|
+
var TimezoneContext_1 = __webpack_require__(21);
|
|
1972
1956
|
|
|
1973
|
-
var style_1 = __webpack_require__(
|
|
1957
|
+
var style_1 = __webpack_require__(15);
|
|
1974
1958
|
|
|
1975
1959
|
var styled_components_1 = __webpack_require__(4);
|
|
1976
1960
|
|
|
1977
|
-
var Message_1 = __webpack_require__(
|
|
1961
|
+
var Message_1 = __webpack_require__(11);
|
|
1978
1962
|
|
|
1979
|
-
var useSplunkTheme_1 = __webpack_require__(
|
|
1963
|
+
var useSplunkTheme_1 = __webpack_require__(58);
|
|
1980
1964
|
|
|
1981
|
-
var themeUtils_1 = __webpack_require__(
|
|
1965
|
+
var themeUtils_1 = __webpack_require__(59);
|
|
1982
1966
|
|
|
1983
|
-
var ChartingApi_1 = __webpack_require__(
|
|
1967
|
+
var ChartingApi_1 = __webpack_require__(60);
|
|
1984
1968
|
|
|
1985
1969
|
exports.NO_INPLACE_PROPS = ['chart', 'chart.orientation', 'layout.splitSeries', 'chart.style', 'legend.placement'];
|
|
1986
1970
|
|
|
@@ -2359,39 +2343,39 @@ var withEmptyChartMessage = function withEmptyChartMessage(Chart) {
|
|
|
2359
2343
|
exports.default = withEmptyChartMessage(Charting);
|
|
2360
2344
|
|
|
2361
2345
|
/***/ }),
|
|
2362
|
-
/*
|
|
2346
|
+
/* 56 */
|
|
2363
2347
|
/***/ (function(module, exports) {
|
|
2364
2348
|
|
|
2365
2349
|
module.exports = require("react-event-listener");
|
|
2366
2350
|
|
|
2367
2351
|
/***/ }),
|
|
2368
|
-
/*
|
|
2352
|
+
/* 57 */
|
|
2369
2353
|
/***/ (function(module, exports) {
|
|
2370
2354
|
|
|
2371
2355
|
module.exports = require("@splunk/visualizations-shared/i18n");
|
|
2372
2356
|
|
|
2373
2357
|
/***/ }),
|
|
2374
|
-
/*
|
|
2358
|
+
/* 58 */
|
|
2375
2359
|
/***/ (function(module, exports) {
|
|
2376
2360
|
|
|
2377
2361
|
module.exports = require("@splunk/themes/useSplunkTheme");
|
|
2378
2362
|
|
|
2379
2363
|
/***/ }),
|
|
2380
|
-
/*
|
|
2364
|
+
/* 59 */
|
|
2381
2365
|
/***/ (function(module, exports) {
|
|
2382
2366
|
|
|
2383
2367
|
module.exports = require("@splunk/visualizations-shared/themeUtils");
|
|
2384
2368
|
|
|
2385
2369
|
/***/ }),
|
|
2386
|
-
/*
|
|
2370
|
+
/* 60 */
|
|
2387
2371
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2388
2372
|
|
|
2389
2373
|
"use strict";
|
|
2390
2374
|
|
|
2391
2375
|
|
|
2392
|
-
var _classCallCheck = __webpack_require__(
|
|
2376
|
+
var _classCallCheck = __webpack_require__(12);
|
|
2393
2377
|
|
|
2394
|
-
var _createClass = __webpack_require__(
|
|
2378
|
+
var _createClass = __webpack_require__(17);
|
|
2395
2379
|
|
|
2396
2380
|
Object.defineProperty(exports, "__esModule", {
|
|
2397
2381
|
value: true
|
|
@@ -2451,41 +2435,167 @@ var ChartingApiFunctional = /*#__PURE__*/function () {
|
|
|
2451
2435
|
exports.ChartingApiFunctional = ChartingApiFunctional;
|
|
2452
2436
|
|
|
2453
2437
|
/***/ }),
|
|
2454
|
-
/*
|
|
2438
|
+
/* 61 */
|
|
2455
2439
|
/***/ (function(module, exports) {
|
|
2456
2440
|
|
|
2457
2441
|
module.exports = require("@splunk/visualizations-shared/simpleXMLOptions");
|
|
2458
2442
|
|
|
2459
2443
|
/***/ }),
|
|
2460
|
-
/*
|
|
2461
|
-
/*
|
|
2444
|
+
/* 62 */,
|
|
2445
|
+
/* 63 */
|
|
2462
2446
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2463
2447
|
|
|
2464
2448
|
"use strict";
|
|
2465
2449
|
|
|
2466
2450
|
|
|
2451
|
+
var _toConsumableArray = __webpack_require__(9);
|
|
2452
|
+
|
|
2467
2453
|
Object.defineProperty(exports, "__esModule", {
|
|
2468
2454
|
value: true
|
|
2469
2455
|
});
|
|
2456
|
+
exports.AxesChartDataConfigAreaColumnLine = exports.AxesChartDataConfigBubble = exports.AxesChartDataConfigScatter = exports.AxesChartDataConfigBar = void 0;
|
|
2470
2457
|
|
|
2471
2458
|
var i18n_1 = __webpack_require__(3);
|
|
2472
2459
|
|
|
2473
|
-
var
|
|
2474
|
-
|
|
2460
|
+
var configUtils_1 = __webpack_require__(6);
|
|
2461
|
+
|
|
2462
|
+
var AxesChartDataConfig = {
|
|
2463
|
+
label: i18n_1._('Data configurations'),
|
|
2475
2464
|
layout: [[{
|
|
2476
|
-
label: i18n_1._('X
|
|
2477
|
-
option: '
|
|
2478
|
-
editor: 'editor.
|
|
2465
|
+
label: i18n_1._('X'),
|
|
2466
|
+
option: 'x',
|
|
2467
|
+
editor: 'editor.columnSelector',
|
|
2468
|
+
editorProps: {
|
|
2469
|
+
dataSourceKey: 'primary'
|
|
2470
|
+
}
|
|
2479
2471
|
}], [{
|
|
2480
|
-
label: i18n_1._('Y
|
|
2481
|
-
option: '
|
|
2482
|
-
editor: 'editor.
|
|
2472
|
+
label: i18n_1._('Y'),
|
|
2473
|
+
option: 'y',
|
|
2474
|
+
editor: 'editor.columnMultiSelector',
|
|
2475
|
+
editorProps: {
|
|
2476
|
+
dataSourceKey: 'primary'
|
|
2477
|
+
}
|
|
2478
|
+
}], [{
|
|
2479
|
+
label: i18n_1._('Result limit'),
|
|
2480
|
+
option: 'resultLimit',
|
|
2481
|
+
editor: 'editor.number',
|
|
2482
|
+
editorProps: {
|
|
2483
|
+
dataSourceKey: 'primary'
|
|
2484
|
+
}
|
|
2483
2485
|
}]]
|
|
2484
2486
|
};
|
|
2485
|
-
exports.
|
|
2487
|
+
exports.AxesChartDataConfigBar = {
|
|
2488
|
+
label: AxesChartDataConfig.label,
|
|
2489
|
+
// insert Y2 after Y
|
|
2490
|
+
layout: configUtils_1.insertLayout(AxesChartDataConfig.layout, 2, [{
|
|
2491
|
+
label: i18n_1._('Y2'),
|
|
2492
|
+
option: 'y2',
|
|
2493
|
+
editor: 'editor.columnMultiSelector',
|
|
2494
|
+
editorProps: {
|
|
2495
|
+
dataSourceKey: 'primary'
|
|
2496
|
+
}
|
|
2497
|
+
}])
|
|
2498
|
+
};
|
|
2499
|
+
exports.AxesChartDataConfigScatter = {
|
|
2500
|
+
label: AxesChartDataConfig.label,
|
|
2501
|
+
// layout: insert Category after Y
|
|
2502
|
+
layout: configUtils_1.insertLayout(AxesChartDataConfig.layout, 2, [{
|
|
2503
|
+
label: i18n_1._('Category'),
|
|
2504
|
+
option: 'category',
|
|
2505
|
+
editor: 'editor.columnSelector',
|
|
2506
|
+
editorProps: {
|
|
2507
|
+
dataSourceKey: 'primary'
|
|
2508
|
+
}
|
|
2509
|
+
}])
|
|
2510
|
+
};
|
|
2511
|
+
exports.AxesChartDataConfigBubble = {
|
|
2512
|
+
label: exports.AxesChartDataConfigScatter.label,
|
|
2513
|
+
// layout: insert Size after Category
|
|
2514
|
+
layout: configUtils_1.insertLayout(exports.AxesChartDataConfigScatter.layout, 3, [{
|
|
2515
|
+
label: i18n_1._('Size'),
|
|
2516
|
+
option: 'size',
|
|
2517
|
+
editor: 'editor.columnSelector',
|
|
2518
|
+
editorProps: {
|
|
2519
|
+
dataSourceKey: 'primary'
|
|
2520
|
+
}
|
|
2521
|
+
}])
|
|
2522
|
+
};
|
|
2523
|
+
exports.AxesChartDataConfigAreaColumnLine = {
|
|
2524
|
+
label: exports.AxesChartDataConfigBar.label,
|
|
2525
|
+
layout: [].concat(_toConsumableArray(exports.AxesChartDataConfigBar.layout), [[{
|
|
2526
|
+
label: i18n_1._('Annotation x'),
|
|
2527
|
+
option: 'annotationX',
|
|
2528
|
+
editor: 'editor.columnSelector',
|
|
2529
|
+
editorProps: {
|
|
2530
|
+
dataSourceKey: 'annotation'
|
|
2531
|
+
}
|
|
2532
|
+
}], [{
|
|
2533
|
+
label: i18n_1._('Annotation labels'),
|
|
2534
|
+
option: 'annotationLabel',
|
|
2535
|
+
editor: 'editor.columnSelector',
|
|
2536
|
+
editorProps: {
|
|
2537
|
+
dataSourceKey: 'annotation'
|
|
2538
|
+
}
|
|
2539
|
+
}]])
|
|
2540
|
+
};
|
|
2541
|
+
exports.default = AxesChartDataConfig;
|
|
2486
2542
|
|
|
2487
2543
|
/***/ }),
|
|
2488
|
-
/*
|
|
2544
|
+
/* 64 */
|
|
2545
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2546
|
+
|
|
2547
|
+
"use strict";
|
|
2548
|
+
|
|
2549
|
+
|
|
2550
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2551
|
+
value: true
|
|
2552
|
+
});
|
|
2553
|
+
|
|
2554
|
+
var i18n_1 = __webpack_require__(3);
|
|
2555
|
+
|
|
2556
|
+
var pick_1 = __webpack_require__(20);
|
|
2557
|
+
|
|
2558
|
+
var variables_1 = __webpack_require__(10);
|
|
2559
|
+
|
|
2560
|
+
var BackgroundColor_1 = __webpack_require__(49);
|
|
2561
|
+
|
|
2562
|
+
var themes = {
|
|
2563
|
+
defaultBackgroundColor: function defaultBackgroundColor(props) {
|
|
2564
|
+
return pick_1.default({
|
|
2565
|
+
enterprise: {
|
|
2566
|
+
dark: variables_1.default.black(props),
|
|
2567
|
+
light: variables_1.default.backgroundColor(props)
|
|
2568
|
+
},
|
|
2569
|
+
prisma: variables_1.default.backgroundColorSidebar(props)
|
|
2570
|
+
})(props);
|
|
2571
|
+
}
|
|
2572
|
+
};
|
|
2573
|
+
var AxesChartColorAndStyle = {
|
|
2574
|
+
label: i18n_1._('Color and style'),
|
|
2575
|
+
layout: [BackgroundColor_1.default({
|
|
2576
|
+
themes: themes
|
|
2577
|
+
}) // Add SeriesColorsEditor when SCP-55658 is done e.g.
|
|
2578
|
+
// [
|
|
2579
|
+
// {
|
|
2580
|
+
// label: _('Series colors'),
|
|
2581
|
+
// option: 'seriesColors',
|
|
2582
|
+
// editor: 'editor.seriesColors',
|
|
2583
|
+
// },
|
|
2584
|
+
// ],
|
|
2585
|
+
// Add SeriesColorsByFieldEditor here when SCP-55687 is done, e.g.
|
|
2586
|
+
// [
|
|
2587
|
+
// {
|
|
2588
|
+
// label: _('Series colors by field name'),
|
|
2589
|
+
// option: 'seriesColorsByField',
|
|
2590
|
+
// editor: 'editor.seriesColorsByField',
|
|
2591
|
+
// },
|
|
2592
|
+
// ],
|
|
2593
|
+
]
|
|
2594
|
+
};
|
|
2595
|
+
exports.default = AxesChartColorAndStyle;
|
|
2596
|
+
|
|
2597
|
+
/***/ }),
|
|
2598
|
+
/* 65 */
|
|
2489
2599
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2490
2600
|
|
|
2491
2601
|
"use strict";
|
|
@@ -2497,10 +2607,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2497
2607
|
|
|
2498
2608
|
var i18n_1 = __webpack_require__(3);
|
|
2499
2609
|
|
|
2500
|
-
var
|
|
2610
|
+
var AxesChartLegend = {
|
|
2501
2611
|
label: i18n_1._('Legend'),
|
|
2502
2612
|
layout: [[{
|
|
2503
|
-
label: i18n_1._('
|
|
2613
|
+
label: i18n_1._('Legend display'),
|
|
2504
2614
|
option: 'legendDisplay',
|
|
2505
2615
|
editor: 'editor.select',
|
|
2506
2616
|
editorProps: {
|
|
@@ -2522,7 +2632,7 @@ var legend = {
|
|
|
2522
2632
|
}]
|
|
2523
2633
|
}
|
|
2524
2634
|
}], [{
|
|
2525
|
-
label: i18n_1._('
|
|
2635
|
+
label: i18n_1._('Legend truncation'),
|
|
2526
2636
|
option: 'legendTruncation',
|
|
2527
2637
|
editor: 'editor.radioBar',
|
|
2528
2638
|
editorProps: {
|
|
@@ -2539,123 +2649,865 @@ var legend = {
|
|
|
2539
2649
|
label: i18n_1._('Off'),
|
|
2540
2650
|
value: 'ellipsisOff'
|
|
2541
2651
|
}]
|
|
2652
|
+
},
|
|
2653
|
+
showEditor: function showEditor(_ref) {
|
|
2654
|
+
var options = _ref.options;
|
|
2655
|
+
return options.legendDisplay === 'left' || options.legendDisplay === 'right' || options.legendDisplay === 'top' || options.legendDisplay === 'bottom' || options.legendDisplay === undefined;
|
|
2542
2656
|
}
|
|
2543
2657
|
}]]
|
|
2544
2658
|
};
|
|
2545
|
-
exports.default =
|
|
2546
|
-
|
|
2547
|
-
/***/ }),
|
|
2548
|
-
/* 64 */,
|
|
2549
|
-
/* 65 */,
|
|
2550
|
-
/* 66 */,
|
|
2551
|
-
/* 67 */,
|
|
2552
|
-
/* 68 */,
|
|
2553
|
-
/* 69 */,
|
|
2554
|
-
/* 70 */,
|
|
2555
|
-
/* 71 */,
|
|
2556
|
-
/* 72 */,
|
|
2557
|
-
/* 73 */
|
|
2558
|
-
/***/ (function(module, exports) {
|
|
2559
|
-
|
|
2560
|
-
module.exports = require("@splunk/react-icons/BarBeside");
|
|
2561
|
-
|
|
2562
|
-
/***/ }),
|
|
2563
|
-
/* 74 */
|
|
2564
|
-
/***/ (function(module, exports) {
|
|
2565
|
-
|
|
2566
|
-
module.exports = require("@splunk/react-icons/BarStacked");
|
|
2567
|
-
|
|
2568
|
-
/***/ }),
|
|
2569
|
-
/* 75 */
|
|
2570
|
-
/***/ (function(module, exports) {
|
|
2571
|
-
|
|
2572
|
-
module.exports = require("@splunk/react-icons/BarStacked100");
|
|
2659
|
+
exports.default = AxesChartLegend;
|
|
2573
2660
|
|
|
2574
2661
|
/***/ }),
|
|
2575
|
-
/*
|
|
2576
|
-
/* 77 */,
|
|
2577
|
-
/* 78 */,
|
|
2578
|
-
/* 79 */,
|
|
2579
|
-
/* 80 */,
|
|
2580
|
-
/* 81 */,
|
|
2581
|
-
/* 82 */,
|
|
2582
|
-
/* 83 */,
|
|
2583
|
-
/* 84 */,
|
|
2584
|
-
/* 85 */,
|
|
2585
|
-
/* 86 */,
|
|
2586
|
-
/* 87 */,
|
|
2587
|
-
/* 88 */,
|
|
2588
|
-
/* 89 */,
|
|
2589
|
-
/* 90 */,
|
|
2590
|
-
/* 91 */,
|
|
2591
|
-
/* 92 */,
|
|
2592
|
-
/* 93 */,
|
|
2593
|
-
/* 94 */,
|
|
2594
|
-
/* 95 */,
|
|
2595
|
-
/* 96 */,
|
|
2596
|
-
/* 97 */,
|
|
2597
|
-
/* 98 */,
|
|
2598
|
-
/* 99 */,
|
|
2599
|
-
/* 100 */,
|
|
2600
|
-
/* 101 */,
|
|
2601
|
-
/* 102 */,
|
|
2602
|
-
/* 103 */,
|
|
2603
|
-
/* 104 */,
|
|
2604
|
-
/* 105 */,
|
|
2605
|
-
/* 106 */,
|
|
2606
|
-
/* 107 */,
|
|
2607
|
-
/* 108 */,
|
|
2608
|
-
/* 109 */,
|
|
2609
|
-
/* 110 */,
|
|
2610
|
-
/* 111 */,
|
|
2611
|
-
/* 112 */,
|
|
2612
|
-
/* 113 */,
|
|
2613
|
-
/* 114 */,
|
|
2614
|
-
/* 115 */,
|
|
2615
|
-
/* 116 */,
|
|
2616
|
-
/* 117 */
|
|
2662
|
+
/* 66 */
|
|
2617
2663
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2618
2664
|
|
|
2619
2665
|
"use strict";
|
|
2620
2666
|
|
|
2621
2667
|
|
|
2622
|
-
var
|
|
2623
|
-
var t = {};
|
|
2624
|
-
|
|
2625
|
-
for (var p in s) {
|
|
2626
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
2627
|
-
}
|
|
2628
|
-
|
|
2629
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
2630
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
2631
|
-
}
|
|
2632
|
-
return t;
|
|
2633
|
-
};
|
|
2668
|
+
var _toConsumableArray = __webpack_require__(9);
|
|
2634
2669
|
|
|
2635
2670
|
Object.defineProperty(exports, "__esModule", {
|
|
2636
2671
|
value: true
|
|
2637
2672
|
});
|
|
2638
|
-
exports.
|
|
2673
|
+
exports.AxesChartXGridAndLabelsBubbleScatter = exports.AxesChartXGridAndLabelsCommon = void 0;
|
|
2639
2674
|
|
|
2640
|
-
var
|
|
2641
|
-
// eslint-disable-next-line import/order
|
|
2675
|
+
var i18n_1 = __webpack_require__(3);
|
|
2642
2676
|
|
|
2677
|
+
var configUtils_1 = __webpack_require__(6);
|
|
2678
|
+
|
|
2679
|
+
exports.AxesChartXGridAndLabelsCommon = {
|
|
2680
|
+
label: i18n_1._('X-axis grid and labels'),
|
|
2681
|
+
layout: [[{
|
|
2682
|
+
label: i18n_1._('Axis title'),
|
|
2683
|
+
option: 'xAxisTitleVisibility',
|
|
2684
|
+
editor: 'editor.toggle'
|
|
2685
|
+
}], [{
|
|
2686
|
+
label: i18n_1._('Axis title text'),
|
|
2687
|
+
option: 'xAxisTitleText',
|
|
2688
|
+
editor: 'editor.text',
|
|
2689
|
+
showEditor: function showEditor(_ref) {
|
|
2690
|
+
var options = _ref.options;
|
|
2691
|
+
return options.xAxisTitleVisibility === 'show' || options.xAxisTitleVisibility === undefined;
|
|
2692
|
+
}
|
|
2693
|
+
}], [{
|
|
2694
|
+
label: i18n_1._('Label visibility'),
|
|
2695
|
+
option: 'xAxisLabelVisibility',
|
|
2696
|
+
editor: 'editor.radioBar',
|
|
2697
|
+
editorProps: {
|
|
2698
|
+
values: [{
|
|
2699
|
+
label: i18n_1._('Auto'),
|
|
2700
|
+
value: 'auto'
|
|
2701
|
+
}, {
|
|
2702
|
+
label: i18n_1._('Show'),
|
|
2703
|
+
value: 'show'
|
|
2704
|
+
}, {
|
|
2705
|
+
label: i18n_1._('Hide'),
|
|
2706
|
+
value: 'hide'
|
|
2707
|
+
}]
|
|
2708
|
+
}
|
|
2709
|
+
}]]
|
|
2710
|
+
};
|
|
2711
|
+
var AxesChartXGridAndLabels = {
|
|
2712
|
+
label: exports.AxesChartXGridAndLabelsCommon.label,
|
|
2713
|
+
layout: [].concat(_toConsumableArray(exports.AxesChartXGridAndLabelsCommon.layout), [[{
|
|
2714
|
+
label: i18n_1._('Label rotation'),
|
|
2715
|
+
option: 'xAxisLabelRotation',
|
|
2716
|
+
editor: 'editor.radioBar',
|
|
2717
|
+
editorProps: {
|
|
2718
|
+
values: [{
|
|
2719
|
+
label: i18n_1._('-90'),
|
|
2720
|
+
value: -90
|
|
2721
|
+
}, {
|
|
2722
|
+
label: i18n_1._('-45'),
|
|
2723
|
+
value: -45
|
|
2724
|
+
}, {
|
|
2725
|
+
label: i18n_1._('0'),
|
|
2726
|
+
value: 0
|
|
2727
|
+
}, {
|
|
2728
|
+
label: i18n_1._('45'),
|
|
2729
|
+
value: 45
|
|
2730
|
+
}, {
|
|
2731
|
+
label: i18n_1._('90'),
|
|
2732
|
+
value: 90
|
|
2733
|
+
}]
|
|
2734
|
+
},
|
|
2735
|
+
showEditor: function showEditor(_ref2) {
|
|
2736
|
+
var options = _ref2.options;
|
|
2737
|
+
return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
|
|
2738
|
+
}
|
|
2739
|
+
}], [{
|
|
2740
|
+
label: i18n_1._('Number of time label parts'),
|
|
2741
|
+
option: 'xAxisMaxLabelParts',
|
|
2742
|
+
editor: 'editor.number',
|
|
2743
|
+
editorProps: {
|
|
2744
|
+
min: 1,
|
|
2745
|
+
max: 3
|
|
2746
|
+
},
|
|
2747
|
+
showEditor: function showEditor(_ref3) {
|
|
2748
|
+
var options = _ref3.options;
|
|
2749
|
+
return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
|
|
2750
|
+
}
|
|
2751
|
+
}], [{
|
|
2752
|
+
label: i18n_1._('Axis line visibility'),
|
|
2753
|
+
option: 'xAxisLineVisibility',
|
|
2754
|
+
editor: 'editor.checkbox'
|
|
2755
|
+
}], [{
|
|
2756
|
+
label: i18n_1._('Major gridlines'),
|
|
2757
|
+
option: 'showXMajorGridLines',
|
|
2758
|
+
editor: 'editor.checkbox'
|
|
2759
|
+
}], [{
|
|
2760
|
+
label: i18n_1._('Major tick visibility'),
|
|
2761
|
+
option: 'xAxisMajorTickVisibility',
|
|
2762
|
+
editor: 'editor.radioBar',
|
|
2763
|
+
editorProps: {
|
|
2764
|
+
values: [{
|
|
2765
|
+
label: i18n_1._('Auto'),
|
|
2766
|
+
value: 'auto'
|
|
2767
|
+
}, {
|
|
2768
|
+
label: i18n_1._('Show'),
|
|
2769
|
+
value: 'show'
|
|
2770
|
+
}, {
|
|
2771
|
+
label: i18n_1._('Hide'),
|
|
2772
|
+
value: 'hide'
|
|
2773
|
+
}]
|
|
2774
|
+
}
|
|
2775
|
+
}], [{
|
|
2776
|
+
label: i18n_1._('Major tick size (px)'),
|
|
2777
|
+
option: 'xAxisMajorTickSize',
|
|
2778
|
+
editor: 'editor.slider',
|
|
2779
|
+
editorProps: {
|
|
2780
|
+
min: 0,
|
|
2781
|
+
max: 10,
|
|
2782
|
+
step: 1
|
|
2783
|
+
},
|
|
2784
|
+
showEditor: function showEditor(_ref4) {
|
|
2785
|
+
var options = _ref4.options;
|
|
2786
|
+
return options.xAxisMajorTickVisibility === 'show' || options.xAxisMajorTickVisibility === 'auto' || options.xAxisMajorTickVisibility === undefined;
|
|
2787
|
+
}
|
|
2788
|
+
}]])
|
|
2789
|
+
};
|
|
2790
|
+
exports.AxesChartXGridAndLabelsBubbleScatter = {
|
|
2791
|
+
label: exports.AxesChartXGridAndLabelsCommon.label,
|
|
2792
|
+
layout: [].concat(_toConsumableArray(configUtils_1.insertLayout(exports.AxesChartXGridAndLabelsCommon.layout, 2, [{
|
|
2793
|
+
label: i18n_1._('Axis scale'),
|
|
2794
|
+
option: 'xAxisScale',
|
|
2795
|
+
editor: 'editor.radioBar',
|
|
2796
|
+
editorProps: {
|
|
2797
|
+
values: [{
|
|
2798
|
+
label: i18n_1._('Linear'),
|
|
2799
|
+
value: 'linear'
|
|
2800
|
+
}, {
|
|
2801
|
+
label: i18n_1._('Log'),
|
|
2802
|
+
value: 'log'
|
|
2803
|
+
}]
|
|
2804
|
+
}
|
|
2805
|
+
}])), [[{
|
|
2806
|
+
label: i18n_1._('Label rotation'),
|
|
2807
|
+
option: 'xAxisLabelRotation',
|
|
2808
|
+
editor: 'editor.radioBar',
|
|
2809
|
+
editorProps: {
|
|
2810
|
+
values: [{
|
|
2811
|
+
label: i18n_1._('-90'),
|
|
2812
|
+
value: -90
|
|
2813
|
+
}, {
|
|
2814
|
+
label: i18n_1._('-45'),
|
|
2815
|
+
value: -45
|
|
2816
|
+
}, {
|
|
2817
|
+
label: i18n_1._('0'),
|
|
2818
|
+
value: 0
|
|
2819
|
+
}, {
|
|
2820
|
+
label: i18n_1._('45'),
|
|
2821
|
+
value: 45
|
|
2822
|
+
}, {
|
|
2823
|
+
label: i18n_1._('90'),
|
|
2824
|
+
value: 90
|
|
2825
|
+
}]
|
|
2826
|
+
},
|
|
2827
|
+
showEditor: function showEditor(_ref5) {
|
|
2828
|
+
var options = _ref5.options;
|
|
2829
|
+
return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
|
|
2830
|
+
}
|
|
2831
|
+
}], [{
|
|
2832
|
+
label: i18n_1._('Round axis labels'),
|
|
2833
|
+
option: 'showRoundedXAxisLabels',
|
|
2834
|
+
editor: 'editor.checkbox',
|
|
2835
|
+
showEditor: function showEditor(_ref6) {
|
|
2836
|
+
var options = _ref6.options;
|
|
2837
|
+
return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
|
|
2838
|
+
}
|
|
2839
|
+
}], [{
|
|
2840
|
+
label: i18n_1._('SI prefix abbreviation for labels'),
|
|
2841
|
+
option: 'xAxisAbbreviation',
|
|
2842
|
+
editor: 'editor.checkbox',
|
|
2843
|
+
showEditor: function showEditor(_ref7) {
|
|
2844
|
+
var options = _ref7.options;
|
|
2845
|
+
return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
|
|
2846
|
+
}
|
|
2847
|
+
}], [{
|
|
2848
|
+
label: i18n_1._('Include zero'),
|
|
2849
|
+
option: 'showXAxisWithZero',
|
|
2850
|
+
editor: 'editor.checkbox'
|
|
2851
|
+
}], [{
|
|
2852
|
+
label: i18n_1._('Extend to whole grid'),
|
|
2853
|
+
option: 'showXAxisExtendedRange',
|
|
2854
|
+
editor: 'editor.checkbox'
|
|
2855
|
+
}], [{
|
|
2856
|
+
label: i18n_1._('Minimum axis value'),
|
|
2857
|
+
option: 'xAxisMin',
|
|
2858
|
+
editor: 'editor.number'
|
|
2859
|
+
}, {
|
|
2860
|
+
label: i18n_1._('Maximum axis value'),
|
|
2861
|
+
option: 'xAxisMax',
|
|
2862
|
+
editor: 'editor.number'
|
|
2863
|
+
}], [{
|
|
2864
|
+
label: i18n_1._('Axis line visibility'),
|
|
2865
|
+
option: 'xAxisLineVisibility',
|
|
2866
|
+
editor: 'editor.checkbox'
|
|
2867
|
+
}], // this option is disabled for bubble and scatter
|
|
2868
|
+
// [
|
|
2869
|
+
// {
|
|
2870
|
+
// label: _('Major gridlines'),
|
|
2871
|
+
// option: 'showXMajorGridLines',
|
|
2872
|
+
// editor: 'editor.checkbox',
|
|
2873
|
+
// },
|
|
2874
|
+
// ],
|
|
2875
|
+
[{
|
|
2876
|
+
label: i18n_1._('Major tick visibility'),
|
|
2877
|
+
option: 'xAxisMajorTickVisibility',
|
|
2878
|
+
editor: 'editor.radioBar',
|
|
2879
|
+
editorProps: {
|
|
2880
|
+
values: [{
|
|
2881
|
+
label: i18n_1._('Auto'),
|
|
2882
|
+
value: 'auto'
|
|
2883
|
+
}, {
|
|
2884
|
+
label: i18n_1._('Show'),
|
|
2885
|
+
value: 'show'
|
|
2886
|
+
}, {
|
|
2887
|
+
label: i18n_1._('Hide'),
|
|
2888
|
+
value: 'hide'
|
|
2889
|
+
}]
|
|
2890
|
+
}
|
|
2891
|
+
}], [{
|
|
2892
|
+
label: i18n_1._('Major tick size (px)'),
|
|
2893
|
+
option: 'xAxisMajorTickSize',
|
|
2894
|
+
editor: 'editor.slider',
|
|
2895
|
+
editorProps: {
|
|
2896
|
+
min: 0,
|
|
2897
|
+
max: 10,
|
|
2898
|
+
step: 1
|
|
2899
|
+
},
|
|
2900
|
+
showEditor: function showEditor(_ref8) {
|
|
2901
|
+
var options = _ref8.options;
|
|
2902
|
+
return options.xAxisMajorTickVisibility === 'show' || options.xAxisMajorTickVisibility === 'auto' || options.xAxisMajorTickVisibility === undefined;
|
|
2903
|
+
}
|
|
2904
|
+
}], [{
|
|
2905
|
+
label: i18n_1._('Major tick interval spacing'),
|
|
2906
|
+
option: 'xAxisMajorTickInterval',
|
|
2907
|
+
editor: 'editor.number',
|
|
2908
|
+
showEditor: function showEditor(_ref9) {
|
|
2909
|
+
var options = _ref9.options;
|
|
2910
|
+
return options.xAxisMajorTickVisibility === 'show' || options.xAxisMajorTickVisibility === 'auto' || options.xAxisMajorTickVisibility === undefined;
|
|
2911
|
+
}
|
|
2912
|
+
}], [{
|
|
2913
|
+
label: i18n_1._('Minor gridlines'),
|
|
2914
|
+
option: 'showXMinorGridLines',
|
|
2915
|
+
editor: 'editor.checkbox'
|
|
2916
|
+
}], [{
|
|
2917
|
+
label: i18n_1._('Minor tick visibility'),
|
|
2918
|
+
option: 'xAxisMinorTickVisibility',
|
|
2919
|
+
editor: 'editor.radioBar',
|
|
2920
|
+
editorProps: {
|
|
2921
|
+
values: [{
|
|
2922
|
+
label: i18n_1._('Auto'),
|
|
2923
|
+
value: 'auto'
|
|
2924
|
+
}, {
|
|
2925
|
+
label: i18n_1._('Show'),
|
|
2926
|
+
value: 'show'
|
|
2927
|
+
}, {
|
|
2928
|
+
label: i18n_1._('Hide'),
|
|
2929
|
+
value: 'hide'
|
|
2930
|
+
}]
|
|
2931
|
+
}
|
|
2932
|
+
}], [{
|
|
2933
|
+
label: i18n_1._('Minor tick size (px)'),
|
|
2934
|
+
option: 'xAxisMinorTickSize',
|
|
2935
|
+
editor: 'editor.slider',
|
|
2936
|
+
editorProps: {
|
|
2937
|
+
min: 0,
|
|
2938
|
+
max: 10,
|
|
2939
|
+
step: 1
|
|
2940
|
+
},
|
|
2941
|
+
showEditor: function showEditor(_ref10) {
|
|
2942
|
+
var options = _ref10.options;
|
|
2943
|
+
return options.xAxisMinorTickVisibility === 'show' || options.xAxisMinorTickVisibility === 'auto' || options.xAxisMinorTickVisibility === undefined;
|
|
2944
|
+
}
|
|
2945
|
+
}]])
|
|
2946
|
+
};
|
|
2947
|
+
exports.default = AxesChartXGridAndLabels;
|
|
2948
|
+
|
|
2949
|
+
/***/ }),
|
|
2950
|
+
/* 67 */
|
|
2951
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2952
|
+
|
|
2953
|
+
"use strict";
|
|
2954
|
+
|
|
2955
|
+
|
|
2956
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2957
|
+
value: true
|
|
2958
|
+
});
|
|
2643
2959
|
|
|
2644
|
-
var
|
|
2960
|
+
var i18n_1 = __webpack_require__(3);
|
|
2645
2961
|
|
|
2646
|
-
var
|
|
2962
|
+
var AxesChartYGridAndLabels = {
|
|
2963
|
+
label: i18n_1._('Y-axis grid and labels'),
|
|
2964
|
+
layout: [[{
|
|
2965
|
+
label: i18n_1._('Axis title'),
|
|
2966
|
+
option: 'yAxisTitleVisibility',
|
|
2967
|
+
editor: 'editor.toggle'
|
|
2968
|
+
}], [{
|
|
2969
|
+
label: i18n_1._('Axis title text'),
|
|
2970
|
+
option: 'yAxisTitleText',
|
|
2971
|
+
editor: 'editor.text',
|
|
2972
|
+
showEditor: function showEditor(_ref) {
|
|
2973
|
+
var options = _ref.options;
|
|
2974
|
+
return options.yAxisTitleVisibility === 'show' || options.yAxisTitleVisibility === undefined;
|
|
2975
|
+
}
|
|
2976
|
+
}], [{
|
|
2977
|
+
label: i18n_1._('Scale'),
|
|
2978
|
+
option: 'yAxisScale',
|
|
2979
|
+
editor: 'editor.radioBar',
|
|
2980
|
+
editorProps: {
|
|
2981
|
+
values: [{
|
|
2982
|
+
label: i18n_1._('Linear'),
|
|
2983
|
+
value: 'linear'
|
|
2984
|
+
}, {
|
|
2985
|
+
label: i18n_1._('Log'),
|
|
2986
|
+
value: 'log'
|
|
2987
|
+
}]
|
|
2988
|
+
}
|
|
2989
|
+
}], [{
|
|
2990
|
+
label: i18n_1._('Label visibility'),
|
|
2991
|
+
option: 'yAxisLabelVisibility',
|
|
2992
|
+
editor: 'editor.radioBar',
|
|
2993
|
+
editorProps: {
|
|
2994
|
+
values: [{
|
|
2995
|
+
label: i18n_1._('Auto'),
|
|
2996
|
+
value: 'auto'
|
|
2997
|
+
}, {
|
|
2998
|
+
label: i18n_1._('Show'),
|
|
2999
|
+
value: 'show'
|
|
3000
|
+
}, {
|
|
3001
|
+
label: i18n_1._('Hide'),
|
|
3002
|
+
value: 'hide'
|
|
3003
|
+
}]
|
|
3004
|
+
}
|
|
3005
|
+
}], [{
|
|
3006
|
+
label: i18n_1._('SI prefix abbreviation for labels'),
|
|
3007
|
+
option: 'yAxisAbbreviation',
|
|
3008
|
+
editor: 'editor.checkbox',
|
|
3009
|
+
showEditor: function showEditor(_ref2) {
|
|
3010
|
+
var options = _ref2.options;
|
|
3011
|
+
return options.yAxisLabelVisibility === 'show' || options.yAxisLabelVisibility === 'auto' || options.yAxisLabelVisibility === undefined;
|
|
3012
|
+
}
|
|
3013
|
+
}], [{
|
|
3014
|
+
label: i18n_1._('Include zero'),
|
|
3015
|
+
option: 'showYAxisWithZero',
|
|
3016
|
+
editor: 'editor.checkbox'
|
|
3017
|
+
}], [{
|
|
3018
|
+
label: i18n_1._('Extend to whole grid'),
|
|
3019
|
+
option: 'showYAxisExtendedRange',
|
|
3020
|
+
editor: 'editor.checkbox'
|
|
3021
|
+
}], [{
|
|
3022
|
+
label: i18n_1._('Minimum axis value'),
|
|
3023
|
+
option: 'yAxisMin',
|
|
3024
|
+
editor: 'editor.number'
|
|
3025
|
+
}, {
|
|
3026
|
+
label: i18n_1._('Maximum axis value'),
|
|
3027
|
+
option: 'yAxisMax',
|
|
3028
|
+
editor: 'editor.number'
|
|
3029
|
+
}], [{
|
|
3030
|
+
label: i18n_1._('Axis line visibility'),
|
|
3031
|
+
option: 'yAxisLineVisibility',
|
|
3032
|
+
editor: 'editor.checkbox'
|
|
3033
|
+
}], [{
|
|
3034
|
+
label: i18n_1._('Major gridlines'),
|
|
3035
|
+
option: 'showYMajorGridLines',
|
|
3036
|
+
editor: 'editor.checkbox'
|
|
3037
|
+
}], [{
|
|
3038
|
+
label: i18n_1._('Major tick visibility'),
|
|
3039
|
+
option: 'yAxisMajorTickVisibility',
|
|
3040
|
+
editor: 'editor.radioBar',
|
|
3041
|
+
editorProps: {
|
|
3042
|
+
values: [{
|
|
3043
|
+
label: i18n_1._('Auto'),
|
|
3044
|
+
value: 'auto'
|
|
3045
|
+
}, {
|
|
3046
|
+
label: i18n_1._('Show'),
|
|
3047
|
+
value: 'show'
|
|
3048
|
+
}, {
|
|
3049
|
+
label: i18n_1._('Hide'),
|
|
3050
|
+
value: 'hide'
|
|
3051
|
+
}]
|
|
3052
|
+
}
|
|
3053
|
+
}], [{
|
|
3054
|
+
label: i18n_1._('Major tick size (px)'),
|
|
3055
|
+
option: 'yAxisMajorTickSize',
|
|
3056
|
+
editor: 'editor.slider',
|
|
3057
|
+
editorProps: {
|
|
3058
|
+
min: 0,
|
|
3059
|
+
max: 10,
|
|
3060
|
+
step: 1
|
|
3061
|
+
},
|
|
3062
|
+
showEditor: function showEditor(_ref3) {
|
|
3063
|
+
var options = _ref3.options;
|
|
3064
|
+
return options.yAxisMajorTickVisibility === 'show' || options.yAxisMajorTickVisibility === 'auto' || options.yAxisMajorTickVisibility === undefined;
|
|
3065
|
+
}
|
|
3066
|
+
}], [{
|
|
3067
|
+
label: i18n_1._('Major tick interval spacing'),
|
|
3068
|
+
option: 'yAxisMajorTickInterval',
|
|
3069
|
+
editor: 'editor.number',
|
|
3070
|
+
showEditor: function showEditor(_ref4) {
|
|
3071
|
+
var options = _ref4.options;
|
|
3072
|
+
return options.yAxisMajorTickVisibility === 'show' || options.yAxisMajorTickVisibility === 'auto' || options.yAxisMajorTickVisibility === undefined;
|
|
3073
|
+
}
|
|
3074
|
+
}], [{
|
|
3075
|
+
label: i18n_1._('Minor gridlines'),
|
|
3076
|
+
option: 'showYMinorGridLines',
|
|
3077
|
+
editor: 'editor.checkbox'
|
|
3078
|
+
}], [{
|
|
3079
|
+
label: i18n_1._('Minor tick visibility'),
|
|
3080
|
+
option: 'yAxisMinorTickVisibility',
|
|
3081
|
+
editor: 'editor.radioBar',
|
|
3082
|
+
editorProps: {
|
|
3083
|
+
values: [{
|
|
3084
|
+
label: i18n_1._('Auto'),
|
|
3085
|
+
value: 'auto'
|
|
3086
|
+
}, {
|
|
3087
|
+
label: i18n_1._('Show'),
|
|
3088
|
+
value: 'show'
|
|
3089
|
+
}, {
|
|
3090
|
+
label: i18n_1._('Hide'),
|
|
3091
|
+
value: 'hide'
|
|
3092
|
+
}]
|
|
3093
|
+
}
|
|
3094
|
+
}], [{
|
|
3095
|
+
label: i18n_1._('Minor tick size (px)'),
|
|
3096
|
+
option: 'yAxisMinorTickSize',
|
|
3097
|
+
editor: 'editor.slider',
|
|
3098
|
+
editorProps: {
|
|
3099
|
+
min: 0,
|
|
3100
|
+
max: 10,
|
|
3101
|
+
step: 1
|
|
3102
|
+
},
|
|
3103
|
+
showEditor: function showEditor(_ref5) {
|
|
3104
|
+
var options = _ref5.options;
|
|
3105
|
+
return options.yAxisMinorTickVisibility === 'show' || options.yAxisMinorTickVisibility === 'auto' || options.yAxisMinorTickVisibility === undefined;
|
|
3106
|
+
}
|
|
3107
|
+
}]]
|
|
3108
|
+
};
|
|
3109
|
+
exports.default = AxesChartYGridAndLabels;
|
|
3110
|
+
|
|
3111
|
+
/***/ }),
|
|
3112
|
+
/* 68 */,
|
|
3113
|
+
/* 69 */,
|
|
3114
|
+
/* 70 */,
|
|
3115
|
+
/* 71 */,
|
|
3116
|
+
/* 72 */,
|
|
3117
|
+
/* 73 */,
|
|
3118
|
+
/* 74 */,
|
|
3119
|
+
/* 75 */
|
|
3120
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3121
|
+
|
|
3122
|
+
"use strict";
|
|
3123
|
+
|
|
3124
|
+
|
|
3125
|
+
var _toConsumableArray = __webpack_require__(9);
|
|
3126
|
+
|
|
3127
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3128
|
+
value: true
|
|
3129
|
+
});
|
|
3130
|
+
exports.AxesChartDataDisplayColumn = exports.AxesChartDataDisplayBar = exports.AxesChartDataDisplayLine = void 0;
|
|
2647
3131
|
|
|
2648
|
-
var
|
|
3132
|
+
var i18n_1 = __webpack_require__(3);
|
|
3133
|
+
|
|
3134
|
+
var lodash_1 = __webpack_require__(2);
|
|
2649
3135
|
|
|
2650
|
-
var
|
|
3136
|
+
var configUtils_1 = __webpack_require__(6);
|
|
3137
|
+
|
|
3138
|
+
exports.AxesChartDataDisplayLine = {
|
|
3139
|
+
label: i18n_1._('Data display'),
|
|
3140
|
+
layout: [[{
|
|
3141
|
+
label: i18n_1._('Null value display'),
|
|
3142
|
+
option: 'nullValueDisplay',
|
|
3143
|
+
editor: 'editor.radioBar',
|
|
3144
|
+
editorProps: {
|
|
3145
|
+
values: [{
|
|
3146
|
+
label: i18n_1._('Gaps'),
|
|
3147
|
+
value: 'gaps'
|
|
3148
|
+
}, {
|
|
3149
|
+
label: i18n_1._('Zero'),
|
|
3150
|
+
value: 'zero'
|
|
3151
|
+
}, {
|
|
3152
|
+
label: i18n_1._('Connect'),
|
|
3153
|
+
value: 'connect'
|
|
3154
|
+
}]
|
|
3155
|
+
}
|
|
3156
|
+
}], [{
|
|
3157
|
+
label: i18n_1._('Data value display'),
|
|
3158
|
+
option: 'dataValuesDisplay',
|
|
3159
|
+
editor: 'editor.radioBar',
|
|
3160
|
+
editorProps: {
|
|
3161
|
+
values: [{
|
|
3162
|
+
label: i18n_1._('Off'),
|
|
3163
|
+
value: 'off'
|
|
3164
|
+
}, {
|
|
3165
|
+
label: i18n_1._('All'),
|
|
3166
|
+
value: 'all'
|
|
3167
|
+
}, {
|
|
3168
|
+
label: i18n_1._('Min/Max'),
|
|
3169
|
+
value: 'minmax'
|
|
3170
|
+
}]
|
|
3171
|
+
}
|
|
3172
|
+
}], [{
|
|
3173
|
+
label: i18n_1._('Overlay fields'),
|
|
3174
|
+
option: 'overlayFields',
|
|
3175
|
+
editor: 'editor.columnMultiSelector',
|
|
3176
|
+
editorProps: {
|
|
3177
|
+
dataSourceKey: 'primary'
|
|
3178
|
+
}
|
|
3179
|
+
}], [{
|
|
3180
|
+
label: i18n_1._('Split series'),
|
|
3181
|
+
option: 'showSplitSeries',
|
|
3182
|
+
editor: 'editor.toggle'
|
|
3183
|
+
}], [{
|
|
3184
|
+
label: i18n_1._('Independent y-axis for split series'),
|
|
3185
|
+
option: 'showIndependentYRanges',
|
|
3186
|
+
editor: 'editor.checkbox',
|
|
3187
|
+
showEditor: function showEditor(_ref) {
|
|
3188
|
+
var options = _ref.options;
|
|
3189
|
+
return options.showSplitSeries;
|
|
3190
|
+
}
|
|
3191
|
+
}]]
|
|
3192
|
+
};
|
|
3193
|
+
var AxesChartDataDisplay = {
|
|
3194
|
+
label: exports.AxesChartDataDisplayLine.label,
|
|
3195
|
+
layout: [[{
|
|
3196
|
+
label: i18n_1._('Stack mode'),
|
|
3197
|
+
option: 'stackMode',
|
|
3198
|
+
editor: 'editor.radioBar',
|
|
3199
|
+
editorProps: {
|
|
3200
|
+
values: [{
|
|
3201
|
+
label: i18n_1._('Not stacked'),
|
|
3202
|
+
value: 'auto'
|
|
3203
|
+
}, {
|
|
3204
|
+
label: i18n_1._('Stacked'),
|
|
3205
|
+
value: 'stacked'
|
|
3206
|
+
}, {
|
|
3207
|
+
label: i18n_1._('Stacked 100%'),
|
|
3208
|
+
value: 'stacked100'
|
|
3209
|
+
}]
|
|
3210
|
+
}
|
|
3211
|
+
}]].concat(_toConsumableArray(exports.AxesChartDataDisplayLine.layout))
|
|
3212
|
+
};
|
|
3213
|
+
exports.AxesChartDataDisplayBar = {
|
|
3214
|
+
label: exports.AxesChartDataDisplayLine.label,
|
|
3215
|
+
layout: [[{
|
|
3216
|
+
label: i18n_1._('Stack mode'),
|
|
3217
|
+
option: 'stackMode',
|
|
3218
|
+
editor: 'editor.radioBar',
|
|
3219
|
+
editorProps: {
|
|
3220
|
+
values: [{
|
|
3221
|
+
label: i18n_1._('Not stacked'),
|
|
3222
|
+
value: 'auto'
|
|
3223
|
+
}, {
|
|
3224
|
+
label: i18n_1._('Stacked'),
|
|
3225
|
+
value: 'stacked'
|
|
3226
|
+
}, {
|
|
3227
|
+
label: i18n_1._('Stacked 100%'),
|
|
3228
|
+
value: 'stacked100'
|
|
3229
|
+
}]
|
|
3230
|
+
}
|
|
3231
|
+
}]].concat(_toConsumableArray(lodash_1.drop(exports.AxesChartDataDisplayLine.layout)))
|
|
3232
|
+
};
|
|
3233
|
+
exports.AxesChartDataDisplayColumn = {
|
|
3234
|
+
label: exports.AxesChartDataDisplayBar.label,
|
|
3235
|
+
layout: [].concat(_toConsumableArray(configUtils_1.insertLayout(exports.AxesChartDataDisplayBar.layout, 2, [{
|
|
3236
|
+
label: i18n_1._('Show tooltip on hover'),
|
|
3237
|
+
option: 'showTooltip',
|
|
3238
|
+
editor: 'editor.checkbox'
|
|
3239
|
+
}])), [[{
|
|
3240
|
+
label: i18n_1._('Column grouping mode'),
|
|
3241
|
+
option: 'columnGrouping',
|
|
3242
|
+
editor: 'editor.radioBar',
|
|
3243
|
+
editorProps: {
|
|
3244
|
+
values: [{
|
|
3245
|
+
label: i18n_1._('Auto'),
|
|
3246
|
+
value: 'auto'
|
|
3247
|
+
}, {
|
|
3248
|
+
label: i18n_1._('Overlay'),
|
|
3249
|
+
value: 'overlay'
|
|
3250
|
+
}]
|
|
3251
|
+
}
|
|
3252
|
+
}]])
|
|
3253
|
+
};
|
|
3254
|
+
exports.default = AxesChartDataDisplay;
|
|
3255
|
+
|
|
3256
|
+
/***/ }),
|
|
3257
|
+
/* 76 */
|
|
3258
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3259
|
+
|
|
3260
|
+
"use strict";
|
|
3261
|
+
|
|
3262
|
+
|
|
3263
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3264
|
+
value: true
|
|
3265
|
+
});
|
|
3266
|
+
|
|
3267
|
+
var i18n_1 = __webpack_require__(3);
|
|
3268
|
+
|
|
3269
|
+
var axesChartY2GridAndLabels = {
|
|
3270
|
+
label: i18n_1._('Y2-axis grid and labels'),
|
|
3271
|
+
layout: [[{
|
|
3272
|
+
label: i18n_1._('Axis title'),
|
|
3273
|
+
option: 'y2AxisTitleVisibility',
|
|
3274
|
+
editor: 'editor.toggle'
|
|
3275
|
+
}], [{
|
|
3276
|
+
label: i18n_1._('Axis title text'),
|
|
3277
|
+
option: 'y2AxisTitleText',
|
|
3278
|
+
editor: 'editor.text',
|
|
3279
|
+
showEditor: function showEditor(_ref) {
|
|
3280
|
+
var options = _ref.options;
|
|
3281
|
+
return options.y2AxisTitleVisibility === 'show' || options.y2AxisTitleVisibility === undefined;
|
|
3282
|
+
}
|
|
3283
|
+
}], [{
|
|
3284
|
+
label: i18n_1._('Show overlays on the y2-axis'),
|
|
3285
|
+
option: 'showOverlayY2Axis',
|
|
3286
|
+
editor: 'editor.checkbox'
|
|
3287
|
+
}], [{
|
|
3288
|
+
label: i18n_1._('Scale'),
|
|
3289
|
+
option: 'y2AxisScale',
|
|
3290
|
+
editor: 'editor.radioBar',
|
|
3291
|
+
editorProps: {
|
|
3292
|
+
values: [{
|
|
3293
|
+
label: i18n_1._('Linear'),
|
|
3294
|
+
value: 'linear'
|
|
3295
|
+
}, {
|
|
3296
|
+
label: i18n_1._('Log'),
|
|
3297
|
+
value: 'log'
|
|
3298
|
+
}]
|
|
3299
|
+
}
|
|
3300
|
+
}], [{
|
|
3301
|
+
label: i18n_1._('Label visibility'),
|
|
3302
|
+
option: 'y2AxisLabelVisibility',
|
|
3303
|
+
editor: 'editor.radioBar',
|
|
3304
|
+
editorProps: {
|
|
3305
|
+
values: [{
|
|
3306
|
+
label: i18n_1._('Auto'),
|
|
3307
|
+
value: 'auto'
|
|
3308
|
+
}, {
|
|
3309
|
+
label: i18n_1._('Show'),
|
|
3310
|
+
value: 'show'
|
|
3311
|
+
}, {
|
|
3312
|
+
label: i18n_1._('Hide'),
|
|
3313
|
+
value: 'hide'
|
|
3314
|
+
}]
|
|
3315
|
+
}
|
|
3316
|
+
}], [{
|
|
3317
|
+
label: i18n_1._('Round axis labels'),
|
|
3318
|
+
option: 'showRoundedY2AxisLabels',
|
|
3319
|
+
editor: 'editor.checkbox',
|
|
3320
|
+
showEditor: function showEditor(_ref2) {
|
|
3321
|
+
var options = _ref2.options;
|
|
3322
|
+
return options.y2AxisLabelVisibility === 'show' || options.y2AxisLabelVisibility === 'auto' || options.y2AxisLabelVisibility === undefined;
|
|
3323
|
+
}
|
|
3324
|
+
}], [{
|
|
3325
|
+
label: i18n_1._('SI prefix abbreviation for labels'),
|
|
3326
|
+
option: 'y2AxisAbbreviation',
|
|
3327
|
+
editor: 'editor.checkbox',
|
|
3328
|
+
showEditor: function showEditor(_ref3) {
|
|
3329
|
+
var options = _ref3.options;
|
|
3330
|
+
return options.y2AxisLabelVisibility === 'show' || options.y2AxisLabelVisibility === 'auto' || options.y2AxisLabelVisibility === undefined;
|
|
3331
|
+
}
|
|
3332
|
+
}], [{
|
|
3333
|
+
label: i18n_1._('Include zero'),
|
|
3334
|
+
option: 'showY2AxisWithZero',
|
|
3335
|
+
editor: 'editor.checkbox'
|
|
3336
|
+
}], [{
|
|
3337
|
+
label: i18n_1._('Minimum axis value'),
|
|
3338
|
+
option: 'y2AxisMin',
|
|
3339
|
+
editor: 'editor.number'
|
|
3340
|
+
}, {
|
|
3341
|
+
label: i18n_1._('Maximum axis value'),
|
|
3342
|
+
option: 'y2AxisMax',
|
|
3343
|
+
editor: 'editor.number'
|
|
3344
|
+
}], [{
|
|
3345
|
+
label: i18n_1._('Axis line visibility'),
|
|
3346
|
+
option: 'y2AxisLineVisibility',
|
|
3347
|
+
editor: 'editor.checkbox'
|
|
3348
|
+
}], [{
|
|
3349
|
+
label: i18n_1._('Major gridlines'),
|
|
3350
|
+
option: 'showY2MajorGridLines',
|
|
3351
|
+
editor: 'editor.checkbox'
|
|
3352
|
+
}], [{
|
|
3353
|
+
label: i18n_1._('Major tick visibility'),
|
|
3354
|
+
option: 'y2AxisMajorTickVisibility',
|
|
3355
|
+
editor: 'editor.radioBar',
|
|
3356
|
+
editorProps: {
|
|
3357
|
+
values: [{
|
|
3358
|
+
label: i18n_1._('Auto'),
|
|
3359
|
+
value: 'auto'
|
|
3360
|
+
}, {
|
|
3361
|
+
label: i18n_1._('Show'),
|
|
3362
|
+
value: 'show'
|
|
3363
|
+
}, {
|
|
3364
|
+
label: i18n_1._('Hide'),
|
|
3365
|
+
value: 'hide'
|
|
3366
|
+
}]
|
|
3367
|
+
}
|
|
3368
|
+
}], [{
|
|
3369
|
+
label: i18n_1._('Major tick size (px)'),
|
|
3370
|
+
option: 'y2AxisMajorTickSize',
|
|
3371
|
+
editor: 'editor.slider',
|
|
3372
|
+
editorProps: {
|
|
3373
|
+
min: 0,
|
|
3374
|
+
max: 10,
|
|
3375
|
+
step: 1
|
|
3376
|
+
},
|
|
3377
|
+
showEditor: function showEditor(_ref4) {
|
|
3378
|
+
var options = _ref4.options;
|
|
3379
|
+
return options.y2AxisMajorTickVisibility === 'show' || options.y2AxisMajorTickVisibility === 'auto' || options.y2AxisMajorTickVisibility === undefined;
|
|
3380
|
+
}
|
|
3381
|
+
}], [{
|
|
3382
|
+
label: i18n_1._('Major tick interval spacing'),
|
|
3383
|
+
option: 'y2AxisMajorTickInterval',
|
|
3384
|
+
editor: 'editor.number',
|
|
3385
|
+
showEditor: function showEditor(_ref5) {
|
|
3386
|
+
var options = _ref5.options;
|
|
3387
|
+
return options.y2AxisMajorTickVisibility === 'show' || options.y2AxisMajorTickVisibility === 'auto' || options.y2AxisMajorTickVisibility === undefined;
|
|
3388
|
+
}
|
|
3389
|
+
}], [{
|
|
3390
|
+
label: i18n_1._('Minor gridlines'),
|
|
3391
|
+
option: 'showY2MinorGridLines',
|
|
3392
|
+
editor: 'editor.checkbox'
|
|
3393
|
+
}], [{
|
|
3394
|
+
label: i18n_1._('Minor tick visibility'),
|
|
3395
|
+
option: 'y2AxisMinorTickVisibility',
|
|
3396
|
+
editor: 'editor.radioBar',
|
|
3397
|
+
editorProps: {
|
|
3398
|
+
values: [{
|
|
3399
|
+
label: i18n_1._('Auto'),
|
|
3400
|
+
value: 'auto'
|
|
3401
|
+
}, {
|
|
3402
|
+
label: i18n_1._('Show'),
|
|
3403
|
+
value: 'show'
|
|
3404
|
+
}, {
|
|
3405
|
+
label: i18n_1._('Hide'),
|
|
3406
|
+
value: 'hide'
|
|
3407
|
+
}]
|
|
3408
|
+
}
|
|
3409
|
+
}], [{
|
|
3410
|
+
label: i18n_1._('Minor tick size (px)'),
|
|
3411
|
+
option: 'y2AxisMinorTickSize',
|
|
3412
|
+
editor: 'editor.slider',
|
|
3413
|
+
editorProps: {
|
|
3414
|
+
min: 0,
|
|
3415
|
+
max: 10,
|
|
3416
|
+
step: 1
|
|
3417
|
+
},
|
|
3418
|
+
showEditor: function showEditor(_ref6) {
|
|
3419
|
+
var options = _ref6.options;
|
|
3420
|
+
return options.y2AxisMinorTickVisibility === 'show' || options.y2AxisMinorTickVisibility === 'auto' || options.y2AxisMinorTickVisibility === undefined;
|
|
3421
|
+
}
|
|
3422
|
+
}]]
|
|
3423
|
+
};
|
|
3424
|
+
exports.default = axesChartY2GridAndLabels;
|
|
3425
|
+
|
|
3426
|
+
/***/ }),
|
|
3427
|
+
/* 77 */,
|
|
3428
|
+
/* 78 */,
|
|
3429
|
+
/* 79 */,
|
|
3430
|
+
/* 80 */,
|
|
3431
|
+
/* 81 */,
|
|
3432
|
+
/* 82 */,
|
|
3433
|
+
/* 83 */,
|
|
3434
|
+
/* 84 */,
|
|
3435
|
+
/* 85 */,
|
|
3436
|
+
/* 86 */,
|
|
3437
|
+
/* 87 */,
|
|
3438
|
+
/* 88 */,
|
|
3439
|
+
/* 89 */,
|
|
3440
|
+
/* 90 */,
|
|
3441
|
+
/* 91 */,
|
|
3442
|
+
/* 92 */,
|
|
3443
|
+
/* 93 */,
|
|
3444
|
+
/* 94 */,
|
|
3445
|
+
/* 95 */,
|
|
3446
|
+
/* 96 */,
|
|
3447
|
+
/* 97 */,
|
|
3448
|
+
/* 98 */,
|
|
3449
|
+
/* 99 */,
|
|
3450
|
+
/* 100 */,
|
|
3451
|
+
/* 101 */,
|
|
3452
|
+
/* 102 */,
|
|
3453
|
+
/* 103 */,
|
|
3454
|
+
/* 104 */,
|
|
3455
|
+
/* 105 */,
|
|
3456
|
+
/* 106 */,
|
|
3457
|
+
/* 107 */,
|
|
3458
|
+
/* 108 */,
|
|
3459
|
+
/* 109 */,
|
|
3460
|
+
/* 110 */,
|
|
3461
|
+
/* 111 */,
|
|
3462
|
+
/* 112 */,
|
|
3463
|
+
/* 113 */,
|
|
3464
|
+
/* 114 */,
|
|
3465
|
+
/* 115 */,
|
|
3466
|
+
/* 116 */,
|
|
3467
|
+
/* 117 */,
|
|
3468
|
+
/* 118 */
|
|
3469
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3470
|
+
|
|
3471
|
+
"use strict";
|
|
3472
|
+
|
|
3473
|
+
|
|
3474
|
+
var __rest = this && this.__rest || function (s, e) {
|
|
3475
|
+
var t = {};
|
|
3476
|
+
|
|
3477
|
+
for (var p in s) {
|
|
3478
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
3479
|
+
}
|
|
3480
|
+
|
|
3481
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
3482
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
3483
|
+
}
|
|
3484
|
+
return t;
|
|
3485
|
+
};
|
|
3486
|
+
|
|
3487
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3488
|
+
value: true
|
|
3489
|
+
});
|
|
3490
|
+
exports.config = exports.themes = exports.computeVizProps = void 0;
|
|
3491
|
+
|
|
3492
|
+
var lodash_1 = __webpack_require__(2); // Charting imports i18n which needs to be run to instantiate window globals in the tests
|
|
3493
|
+
// eslint-disable-next-line import/order
|
|
3494
|
+
|
|
3495
|
+
|
|
3496
|
+
var Charting_1 = __webpack_require__(55);
|
|
3497
|
+
|
|
3498
|
+
var charting_bundle_1 = __webpack_require__(51);
|
|
3499
|
+
|
|
3500
|
+
var simpleXMLOptions_1 = __webpack_require__(61);
|
|
3501
|
+
|
|
3502
|
+
var config_1 = __webpack_require__(150);
|
|
2651
3503
|
|
|
2652
3504
|
exports.config = config_1.default;
|
|
2653
3505
|
|
|
2654
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
3506
|
+
var withDashboardViz_1 = __webpack_require__(30);
|
|
2655
3507
|
|
|
2656
|
-
var barUtils_1 = __webpack_require__(
|
|
3508
|
+
var barUtils_1 = __webpack_require__(151);
|
|
2657
3509
|
|
|
2658
|
-
var chartingUtils_1 = __webpack_require__(
|
|
3510
|
+
var chartingUtils_1 = __webpack_require__(50);
|
|
2659
3511
|
|
|
2660
3512
|
var validOptions = Object.keys(config_1.default.optionsSchema);
|
|
2661
3513
|
|
|
@@ -2724,7 +3576,6 @@ exports.themes = themes;
|
|
|
2724
3576
|
exports.default = Bar;
|
|
2725
3577
|
|
|
2726
3578
|
/***/ }),
|
|
2727
|
-
/* 118 */,
|
|
2728
3579
|
/* 119 */,
|
|
2729
3580
|
/* 120 */,
|
|
2730
3581
|
/* 121 */,
|
|
@@ -2753,7 +3604,9 @@ exports.default = Bar;
|
|
|
2753
3604
|
/* 144 */,
|
|
2754
3605
|
/* 145 */,
|
|
2755
3606
|
/* 146 */,
|
|
2756
|
-
/* 147
|
|
3607
|
+
/* 147 */,
|
|
3608
|
+
/* 148 */,
|
|
3609
|
+
/* 149 */
|
|
2757
3610
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2758
3611
|
|
|
2759
3612
|
"use strict";
|
|
@@ -2783,9 +3636,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2783
3636
|
});
|
|
2784
3637
|
exports.default = void 0;
|
|
2785
3638
|
|
|
2786
|
-
__exportStar(__webpack_require__(
|
|
3639
|
+
__exportStar(__webpack_require__(118), exports);
|
|
2787
3640
|
|
|
2788
|
-
var Bar_1 = __webpack_require__(
|
|
3641
|
+
var Bar_1 = __webpack_require__(118);
|
|
2789
3642
|
|
|
2790
3643
|
Object.defineProperty(exports, "default", {
|
|
2791
3644
|
enumerable: true,
|
|
@@ -2795,45 +3648,49 @@ Object.defineProperty(exports, "default", {
|
|
|
2795
3648
|
});
|
|
2796
3649
|
|
|
2797
3650
|
/***/ }),
|
|
2798
|
-
/*
|
|
3651
|
+
/* 150 */
|
|
2799
3652
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2800
3653
|
|
|
2801
3654
|
"use strict";
|
|
2802
3655
|
|
|
2803
3656
|
|
|
3657
|
+
var _toConsumableArray = __webpack_require__(9);
|
|
3658
|
+
|
|
2804
3659
|
Object.defineProperty(exports, "__esModule", {
|
|
2805
3660
|
value: true
|
|
2806
3661
|
});
|
|
2807
3662
|
|
|
2808
|
-
var visualization_icons_1 = __webpack_require__(
|
|
3663
|
+
var visualization_icons_1 = __webpack_require__(46);
|
|
2809
3664
|
|
|
2810
|
-
var placeholders_1 = __webpack_require__(
|
|
3665
|
+
var placeholders_1 = __webpack_require__(45);
|
|
2811
3666
|
|
|
2812
|
-
var schemaUtils_1 = __webpack_require__(
|
|
3667
|
+
var schemaUtils_1 = __webpack_require__(16);
|
|
2813
3668
|
|
|
2814
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
3669
|
+
var visualization_color_palettes_1 = __webpack_require__(44);
|
|
2815
3670
|
|
|
2816
3671
|
var i18n_1 = __webpack_require__(3);
|
|
2817
3672
|
|
|
2818
|
-
var
|
|
3673
|
+
var pick_1 = __webpack_require__(20);
|
|
3674
|
+
|
|
3675
|
+
var variables_1 = __webpack_require__(10);
|
|
2819
3676
|
|
|
2820
|
-
var
|
|
3677
|
+
var AxesChartDataConfig_1 = __webpack_require__(63);
|
|
2821
3678
|
|
|
2822
|
-
var
|
|
3679
|
+
var AxesChartDataDisplay_1 = __webpack_require__(75);
|
|
2823
3680
|
|
|
2824
|
-
var
|
|
3681
|
+
var AxesChartXGridAndLabels_1 = __webpack_require__(66);
|
|
2825
3682
|
|
|
2826
|
-
var
|
|
3683
|
+
var AxesChartColorAndStyle_1 = __webpack_require__(64);
|
|
2827
3684
|
|
|
2828
|
-
var
|
|
3685
|
+
var AxesChartLegend_1 = __webpack_require__(65);
|
|
2829
3686
|
|
|
2830
|
-
var
|
|
3687
|
+
var AxesChartYGridAndLabels_1 = __webpack_require__(67);
|
|
2831
3688
|
|
|
2832
|
-
var
|
|
3689
|
+
var AxesChartY2GridAndLabels_1 = __webpack_require__(76);
|
|
2833
3690
|
|
|
2834
3691
|
var VizBehavior_1 = __webpack_require__(5);
|
|
2835
3692
|
|
|
2836
|
-
var VizCategory_1 = __webpack_require__(
|
|
3693
|
+
var VizCategory_1 = __webpack_require__(29);
|
|
2837
3694
|
|
|
2838
3695
|
var configUtils_1 = __webpack_require__(6);
|
|
2839
3696
|
|
|
@@ -2845,7 +3702,7 @@ var dataContract = {
|
|
|
2845
3702
|
optionalDataSources: [// Note: SCP-14090 disable ui for optional datasources. We may need to add it back later
|
|
2846
3703
|
// {
|
|
2847
3704
|
// name: 'annotation',
|
|
2848
|
-
// description: 'DataSource that
|
|
3705
|
+
// description: 'DataSource that populates event annotations',
|
|
2849
3706
|
// },
|
|
2850
3707
|
],
|
|
2851
3708
|
initialRequestParams: {
|
|
@@ -2863,7 +3720,7 @@ var defaultContext = {};
|
|
|
2863
3720
|
var optionsSchema = {
|
|
2864
3721
|
x: {
|
|
2865
3722
|
default: '> primary | seriesByIndex(0)',
|
|
2866
|
-
description: 'Specify the
|
|
3723
|
+
description: 'Specify the data source to apply to the x-axis.',
|
|
2867
3724
|
type: 'array',
|
|
2868
3725
|
items: {
|
|
2869
3726
|
type: ['string', 'number']
|
|
@@ -2871,14 +3728,14 @@ var optionsSchema = {
|
|
|
2871
3728
|
},
|
|
2872
3729
|
y: {
|
|
2873
3730
|
default: '> primary | frameBySeriesIndexRange(1)',
|
|
2874
|
-
description: 'Specify the
|
|
3731
|
+
description: 'Specify the data source to apply to the y-axis.',
|
|
2875
3732
|
type: 'array',
|
|
2876
3733
|
items: {
|
|
2877
3734
|
type: ['string', 'number']
|
|
2878
3735
|
}
|
|
2879
3736
|
},
|
|
2880
3737
|
y2: {
|
|
2881
|
-
description: 'Specify the
|
|
3738
|
+
description: 'Specify the data source to apply to the second y-axis',
|
|
2882
3739
|
type: 'array',
|
|
2883
3740
|
items: {
|
|
2884
3741
|
type: ['string', 'number']
|
|
@@ -2886,17 +3743,17 @@ var optionsSchema = {
|
|
|
2886
3743
|
},
|
|
2887
3744
|
xField: {
|
|
2888
3745
|
default: '> x | getField()',
|
|
2889
|
-
description: 'Specify the field
|
|
3746
|
+
description: 'Specify the field to map to the x-axis.',
|
|
2890
3747
|
type: 'string'
|
|
2891
3748
|
},
|
|
2892
3749
|
yFields: {
|
|
2893
3750
|
default: '> y | getField()',
|
|
2894
|
-
description: 'Specify the field
|
|
3751
|
+
description: 'Specify the field to map to the y-axis.',
|
|
2895
3752
|
type: 'string'
|
|
2896
3753
|
},
|
|
2897
3754
|
y2Fields: {
|
|
2898
3755
|
default: '> y2 | getField()',
|
|
2899
|
-
description: 'Specify
|
|
3756
|
+
description: 'Specify one or more fields to map to a second y-axis.',
|
|
2900
3757
|
type: ['array', 'string'],
|
|
2901
3758
|
items: {
|
|
2902
3759
|
type: 'string'
|
|
@@ -2904,17 +3761,17 @@ var optionsSchema = {
|
|
|
2904
3761
|
},
|
|
2905
3762
|
backgroundColor: {
|
|
2906
3763
|
default: '> themes.defaultBackgroundColor',
|
|
2907
|
-
description: 'Specify the color for the background. You
|
|
3764
|
+
description: 'Specify the color used for the background. You can use a data source or hexadecimal code to apply the color.',
|
|
2908
3765
|
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN,
|
|
2909
3766
|
type: 'string'
|
|
2910
3767
|
},
|
|
2911
3768
|
barSpacing: {
|
|
2912
|
-
description: 'Specify
|
|
3769
|
+
description: 'Specify the spacing (px) between columns in a bar chart.',
|
|
2913
3770
|
type: 'number'
|
|
2914
3771
|
},
|
|
2915
3772
|
dataValuesDisplay: {
|
|
2916
3773
|
default: 'off',
|
|
2917
|
-
description: 'Specify
|
|
3774
|
+
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".',
|
|
2918
3775
|
pattern: schemaUtils_1.getPattern(['off', 'all', 'minmax']),
|
|
2919
3776
|
type: 'string'
|
|
2920
3777
|
},
|
|
@@ -2925,7 +3782,7 @@ var optionsSchema = {
|
|
|
2925
3782
|
type: 'string'
|
|
2926
3783
|
},
|
|
2927
3784
|
legendLabels: {
|
|
2928
|
-
description:
|
|
3785
|
+
description: 'Specify a list of labels to populate the legend in advance. For example, ["percent", "count"].',
|
|
2929
3786
|
type: 'array',
|
|
2930
3787
|
items: {
|
|
2931
3788
|
type: 'string'
|
|
@@ -2939,28 +3796,28 @@ var optionsSchema = {
|
|
|
2939
3796
|
},
|
|
2940
3797
|
lineWidth: {
|
|
2941
3798
|
default: 2,
|
|
2942
|
-
description: 'Specify the line width
|
|
3799
|
+
description: 'Specify the line width (px) for chart overlay.',
|
|
2943
3800
|
type: 'number'
|
|
2944
3801
|
},
|
|
2945
3802
|
resultLimit: {
|
|
2946
3803
|
default: 50000,
|
|
2947
|
-
description: 'Specify the number of data points
|
|
3804
|
+
description: 'Specify the number of data points to render in a chart.',
|
|
2948
3805
|
type: 'number'
|
|
2949
3806
|
},
|
|
2950
3807
|
seriesColors: {
|
|
2951
3808
|
default: visualization_color_palettes_1.VIZ_CATEGORICAL,
|
|
2952
|
-
description: 'Specify the colors
|
|
3809
|
+
description: 'Specify the colors to use in a series. For example, ["#FF0000", "#0000FF", "#008000"].',
|
|
2953
3810
|
type: 'array',
|
|
2954
3811
|
items: {
|
|
2955
3812
|
type: 'string'
|
|
2956
3813
|
}
|
|
2957
3814
|
},
|
|
2958
3815
|
seriesColorsByField: {
|
|
2959
|
-
description: 'Specify the colors
|
|
3816
|
+
description: 'Specify the colors to use for specific fields in a series. For example, {“count”: “#008000”, “percent”: “#FFA500”}.',
|
|
2960
3817
|
type: 'object'
|
|
2961
3818
|
},
|
|
2962
3819
|
seriesSpacing: {
|
|
2963
|
-
description: 'Specify
|
|
3820
|
+
description: 'Specify the spacing (px) between clustered series in column and bar charts.',
|
|
2964
3821
|
type: 'number'
|
|
2965
3822
|
},
|
|
2966
3823
|
stackMode: {
|
|
@@ -2976,137 +3833,140 @@ var optionsSchema = {
|
|
|
2976
3833
|
},
|
|
2977
3834
|
showSplitSeries: {
|
|
2978
3835
|
default: false,
|
|
2979
|
-
description: '
|
|
3836
|
+
description: 'Specify whether to split a multi-series chart into separate charts that are stacked from top to bottom, one for each series.',
|
|
2980
3837
|
type: 'boolean'
|
|
2981
3838
|
},
|
|
2982
3839
|
showXMajorGridLines: {
|
|
2983
3840
|
default: false,
|
|
2984
|
-
description: 'Specify whether major grid lines
|
|
3841
|
+
description: 'Specify whether to show major grid lines on the x-axis.',
|
|
2985
3842
|
type: 'boolean'
|
|
2986
3843
|
},
|
|
2987
3844
|
showYMajorGridLines: {
|
|
2988
3845
|
default: true,
|
|
2989
|
-
description: 'Specify whether major grid lines
|
|
3846
|
+
description: 'Specify whether to show major grid lines on the y-axis.',
|
|
2990
3847
|
type: 'boolean'
|
|
2991
3848
|
},
|
|
2992
3849
|
showY2MajorGridLines: {
|
|
2993
3850
|
default: false,
|
|
2994
|
-
description: 'Specify whether major grid lines
|
|
3851
|
+
description: 'Specify whether to show major grid lines on the second y-axis.',
|
|
2995
3852
|
type: 'boolean'
|
|
2996
3853
|
},
|
|
2997
3854
|
showYMinorGridLines: {
|
|
2998
3855
|
default: false,
|
|
2999
|
-
description: 'Specify whether minor grid lines
|
|
3856
|
+
description: 'Specify whether to show minor grid lines on the y-axis.',
|
|
3000
3857
|
type: 'boolean'
|
|
3001
3858
|
},
|
|
3002
3859
|
showY2MinorGridLines: {
|
|
3003
3860
|
default: false,
|
|
3004
|
-
description: 'Specify whether minor grid lines
|
|
3861
|
+
description: 'Specify whether to show minor grid lines on the second y-axis.',
|
|
3005
3862
|
type: 'boolean'
|
|
3006
3863
|
},
|
|
3007
3864
|
showYAxisExtendedRange: {
|
|
3008
3865
|
default: true,
|
|
3009
|
-
description: 'Specify whether the y-axis
|
|
3866
|
+
description: 'Specify whether to extend the y-axis to include whole major tick marks.',
|
|
3010
3867
|
type: 'boolean'
|
|
3011
3868
|
},
|
|
3012
3869
|
showYAxisWithZero: {
|
|
3013
3870
|
default: false,
|
|
3014
|
-
description: 'Specify whether the y-axis range
|
|
3871
|
+
description: 'Specify whether to include zero in the y-axis range.',
|
|
3015
3872
|
type: 'boolean'
|
|
3016
3873
|
},
|
|
3017
3874
|
showY2AxisWithZero: {
|
|
3018
3875
|
default: false,
|
|
3019
|
-
description: 'Specify whether the
|
|
3876
|
+
description: 'Specify whether to include zero the second y-axis range .',
|
|
3020
3877
|
type: 'boolean'
|
|
3021
3878
|
},
|
|
3022
3879
|
xAxisLabelVisibility: {
|
|
3023
3880
|
default: 'auto',
|
|
3024
|
-
description: 'Specify whether to show
|
|
3881
|
+
description: 'Specify whether to show labels on the x-axis.',
|
|
3025
3882
|
pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
|
|
3026
3883
|
type: 'string'
|
|
3027
3884
|
},
|
|
3028
3885
|
yAxisLabelVisibility: {
|
|
3029
3886
|
default: 'auto',
|
|
3030
|
-
description: 'Specify whether to show
|
|
3887
|
+
description: 'Specify whether to show labels on the y-axis.',
|
|
3031
3888
|
pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
|
|
3032
3889
|
type: 'string'
|
|
3033
3890
|
},
|
|
3034
3891
|
y2AxisLabelVisibility: {
|
|
3035
3892
|
default: 'auto',
|
|
3036
|
-
description: 'Specify whether to show
|
|
3893
|
+
description: 'Specify whether to show labels on the second y-axis.',
|
|
3037
3894
|
pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
|
|
3038
3895
|
type: 'string'
|
|
3039
3896
|
},
|
|
3040
3897
|
xAxisLineVisibility: {
|
|
3041
3898
|
default: 'hide',
|
|
3042
|
-
description: 'Specify whether to show
|
|
3899
|
+
description: 'Specify whether to show the x-axis line.',
|
|
3900
|
+
enum: ['hide', 'show'],
|
|
3043
3901
|
pattern: schemaUtils_1.getPattern(['show', 'hide']),
|
|
3044
3902
|
type: 'string'
|
|
3045
3903
|
},
|
|
3046
3904
|
yAxisLineVisibility: {
|
|
3047
3905
|
default: 'hide',
|
|
3048
|
-
description: 'Specify whether to show
|
|
3906
|
+
description: 'Specify whether to show the y-axis line.',
|
|
3907
|
+
enum: ['hide', 'show'],
|
|
3049
3908
|
pattern: schemaUtils_1.getPattern(['show', 'hide']),
|
|
3050
3909
|
type: 'string'
|
|
3051
3910
|
},
|
|
3052
3911
|
y2AxisLineVisibility: {
|
|
3053
3912
|
default: 'hide',
|
|
3054
|
-
description: 'Specify whether to show
|
|
3913
|
+
description: 'Specify whether to show the second y-axis line.',
|
|
3914
|
+
enum: ['hide', 'show'],
|
|
3055
3915
|
pattern: schemaUtils_1.getPattern(['show', 'hide']),
|
|
3056
3916
|
type: 'string'
|
|
3057
3917
|
},
|
|
3058
3918
|
xAxisMajorTickSize: {
|
|
3059
3919
|
default: 6,
|
|
3060
|
-
description: 'Specify the size
|
|
3920
|
+
description: 'Specify the size (px) of major tick marks on the x-axis.',
|
|
3061
3921
|
type: 'number'
|
|
3062
3922
|
},
|
|
3063
3923
|
yAxisMajorTickSize: {
|
|
3064
3924
|
default: 6,
|
|
3065
|
-
description: 'Specify the size
|
|
3925
|
+
description: 'Specify the size (px) of major tick marks on the y-axis.',
|
|
3066
3926
|
type: 'number'
|
|
3067
3927
|
},
|
|
3068
3928
|
y2AxisMajorTickSize: {
|
|
3069
3929
|
default: 6,
|
|
3070
|
-
description: 'Specify the size
|
|
3930
|
+
description: 'Specify the size (px) of major tick marks on the second y-axis.',
|
|
3071
3931
|
type: 'number'
|
|
3072
3932
|
},
|
|
3073
3933
|
yAxisMinorTickSize: {
|
|
3074
3934
|
default: 6,
|
|
3075
|
-
description: 'Specify the size
|
|
3935
|
+
description: 'Specify the size (px) of minor tick marks on the y-axis.',
|
|
3076
3936
|
type: 'number'
|
|
3077
3937
|
},
|
|
3078
3938
|
y2AxisMinorTickSize: {
|
|
3079
3939
|
default: 6,
|
|
3080
|
-
description: 'Specify the size
|
|
3940
|
+
description: 'Specify the size (px) of minor tick marks on the second y-axis.',
|
|
3081
3941
|
type: 'number'
|
|
3082
3942
|
},
|
|
3083
3943
|
xAxisMajorTickVisibility: {
|
|
3084
3944
|
default: 'auto',
|
|
3085
|
-
description: 'Specify whether to show
|
|
3945
|
+
description: 'Specify whether to show major tick marks on the x-axis.',
|
|
3086
3946
|
pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
|
|
3087
3947
|
type: 'string'
|
|
3088
3948
|
},
|
|
3089
3949
|
yAxisMajorTickVisibility: {
|
|
3090
3950
|
default: 'auto',
|
|
3091
|
-
description: 'Specify whether to show
|
|
3951
|
+
description: 'Specify whether to show major tick marks on the y-axis.',
|
|
3092
3952
|
pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
|
|
3093
3953
|
type: 'string'
|
|
3094
3954
|
},
|
|
3095
3955
|
y2AxisMajorTickVisibility: {
|
|
3096
3956
|
default: 'auto',
|
|
3097
|
-
description: 'Specify whether to show
|
|
3957
|
+
description: 'Specify whether to show major tick marks on the second y-axis.',
|
|
3098
3958
|
pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
|
|
3099
3959
|
type: 'string'
|
|
3100
3960
|
},
|
|
3101
3961
|
yAxisMinorTickVisibility: {
|
|
3102
3962
|
default: 'auto',
|
|
3103
|
-
description: 'Specify whether to show
|
|
3963
|
+
description: 'Specify whether to show minor tick marks on the y-axis.',
|
|
3104
3964
|
pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
|
|
3105
3965
|
type: 'string'
|
|
3106
3966
|
},
|
|
3107
3967
|
y2AxisMinorTickVisibility: {
|
|
3108
3968
|
default: 'auto',
|
|
3109
|
-
description: 'Specify whether to show
|
|
3969
|
+
description: 'Specify whether to show minor tick marks on the second y-axis.',
|
|
3110
3970
|
pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
|
|
3111
3971
|
type: 'string'
|
|
3112
3972
|
},
|
|
@@ -3114,7 +3974,7 @@ var optionsSchema = {
|
|
|
3114
3974
|
default: 3,
|
|
3115
3975
|
minimum: 1,
|
|
3116
3976
|
maximum: 3,
|
|
3117
|
-
description: 'Specify the maximum number of time-parts
|
|
3977
|
+
description: 'Specify the maximum number of time-parts for a tick label. The 3 possible parts are year, month, and time.',
|
|
3118
3978
|
type: 'number'
|
|
3119
3979
|
},
|
|
3120
3980
|
yAxisScale: {
|
|
@@ -3125,7 +3985,7 @@ var optionsSchema = {
|
|
|
3125
3985
|
},
|
|
3126
3986
|
y2AxisScale: {
|
|
3127
3987
|
default: 'linear',
|
|
3128
|
-
description: 'Specify the type of scale that applies to a numerical
|
|
3988
|
+
description: 'Specify the type of scale that applies to a numerical second y-axis.',
|
|
3129
3989
|
pattern: schemaUtils_1.getPattern(['linear', 'log']),
|
|
3130
3990
|
type: 'string'
|
|
3131
3991
|
},
|
|
@@ -3138,36 +3998,41 @@ var optionsSchema = {
|
|
|
3138
3998
|
type: 'string'
|
|
3139
3999
|
},
|
|
3140
4000
|
y2AxisTitleText: {
|
|
3141
|
-
description: 'Specify the title of the
|
|
4001
|
+
description: 'Specify the title of the second y-axis.',
|
|
3142
4002
|
type: 'string'
|
|
3143
4003
|
},
|
|
3144
4004
|
xAxisTitleVisibility: {
|
|
3145
4005
|
default: 'show',
|
|
3146
|
-
description: 'Specify whether to show
|
|
4006
|
+
description: 'Specify whether to show the title of the x-axis.',
|
|
4007
|
+
enum: ['hide', 'show'],
|
|
3147
4008
|
pattern: schemaUtils_1.getPattern(['show', 'hide']),
|
|
3148
4009
|
type: 'string'
|
|
3149
4010
|
},
|
|
3150
4011
|
yAxisTitleVisibility: {
|
|
3151
4012
|
default: 'show',
|
|
3152
|
-
description: 'Specify whether to show
|
|
4013
|
+
description: 'Specify whether to show the title of the y-axis.',
|
|
4014
|
+
enum: ['hide', 'show'],
|
|
3153
4015
|
pattern: schemaUtils_1.getPattern(['show', 'hide']),
|
|
3154
4016
|
type: 'string'
|
|
3155
4017
|
},
|
|
3156
4018
|
y2AxisTitleVisibility: {
|
|
3157
4019
|
default: 'show',
|
|
3158
|
-
description: 'Specify whether to show
|
|
4020
|
+
description: 'Specify whether to show the title of the second y-axis.',
|
|
4021
|
+
enum: ['hide', 'show'],
|
|
3159
4022
|
pattern: schemaUtils_1.getPattern(['show', 'hide']),
|
|
3160
4023
|
type: 'string'
|
|
3161
4024
|
},
|
|
3162
4025
|
yAxisAbbreviation: {
|
|
3163
4026
|
default: 'auto',
|
|
3164
|
-
description: 'Specify whether to abbreviate large y-axis values with the closest SI prefix.',
|
|
4027
|
+
description: 'Specify whether to abbreviate large y-axis values with the closest International System of Units (SI) prefix.',
|
|
4028
|
+
enum: ['auto', 'off'],
|
|
3165
4029
|
pattern: schemaUtils_1.getPattern(['off', 'auto']),
|
|
3166
4030
|
type: 'string'
|
|
3167
4031
|
},
|
|
3168
4032
|
y2AxisAbbreviation: {
|
|
3169
4033
|
default: 'auto',
|
|
3170
|
-
description: 'Specify whether to abbreviate large y2-axis values with the closest SI prefix.',
|
|
4034
|
+
description: 'Specify whether to abbreviate large y2-axis values with the closest International System of Units (SI) prefix.',
|
|
4035
|
+
enum: ['auto', 'off'],
|
|
3171
4036
|
pattern: schemaUtils_1.getPattern(['off', 'auto']),
|
|
3172
4037
|
type: 'string'
|
|
3173
4038
|
},
|
|
@@ -3178,45 +4043,45 @@ var optionsSchema = {
|
|
|
3178
4043
|
},
|
|
3179
4044
|
y2AxisMajorTickInterval: {
|
|
3180
4045
|
default: 'auto',
|
|
3181
|
-
description: 'Specify the spacing unit between major tick marks along the numeric
|
|
4046
|
+
description: 'Specify the spacing unit between major tick marks along the numeric second y-axis.',
|
|
3182
4047
|
type: ['string', 'number']
|
|
3183
4048
|
},
|
|
3184
4049
|
// TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation
|
|
3185
4050
|
yAxisMax: {
|
|
3186
4051
|
default: 'auto',
|
|
3187
|
-
description: 'Specify the
|
|
4052
|
+
description: 'Specify the largest value to display in the visible y-axis range.',
|
|
3188
4053
|
type: ['string', 'number']
|
|
3189
4054
|
},
|
|
3190
4055
|
// TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation
|
|
3191
4056
|
y2AxisMax: {
|
|
3192
4057
|
default: 'auto',
|
|
3193
|
-
description: 'Specify the
|
|
4058
|
+
description: 'Specify the largest value to display in the visible second y-axis range.',
|
|
3194
4059
|
type: ['string', 'number']
|
|
3195
4060
|
},
|
|
3196
4061
|
// TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation
|
|
3197
4062
|
yAxisMin: {
|
|
3198
4063
|
default: 'auto',
|
|
3199
|
-
description: 'Specify the
|
|
4064
|
+
description: 'Specify the smallest value for the visible y-axis range.',
|
|
3200
4065
|
type: ['string', 'number']
|
|
3201
4066
|
},
|
|
3202
4067
|
// TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation
|
|
3203
4068
|
y2AxisMin: {
|
|
3204
4069
|
default: 'auto',
|
|
3205
|
-
description: 'Specify the
|
|
4070
|
+
description: 'Specify the smallest value for the visible second y-axis range.',
|
|
3206
4071
|
type: ['string', 'number']
|
|
3207
4072
|
},
|
|
3208
4073
|
overlayFields: {
|
|
3209
|
-
description: 'Specify
|
|
4074
|
+
description: 'Specify one or more fields to differentiate on the chart and display as chart overlays.',
|
|
3210
4075
|
type: ['array', 'string']
|
|
3211
4076
|
},
|
|
3212
4077
|
showOverlayY2Axis: {
|
|
3213
4078
|
default: false,
|
|
3214
|
-
description: 'Enable a
|
|
4079
|
+
description: 'Enable a second y-axis for chart overlays. All overlay fields map to a second y-axis.',
|
|
3215
4080
|
type: 'boolean'
|
|
3216
4081
|
},
|
|
3217
4082
|
showRoundedY2AxisLabels: {
|
|
3218
4083
|
default: true,
|
|
3219
|
-
description: 'Specify whether to round
|
|
4084
|
+
description: 'Specify whether to round second y-axis values to the nearest integer.',
|
|
3220
4085
|
type: 'boolean'
|
|
3221
4086
|
}
|
|
3222
4087
|
};
|
|
@@ -3231,47 +4096,79 @@ var themes = {
|
|
|
3231
4096
|
})(props);
|
|
3232
4097
|
}
|
|
3233
4098
|
};
|
|
3234
|
-
var editorConfig = [{
|
|
3235
|
-
label:
|
|
3236
|
-
layout: [
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
4099
|
+
var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigBar, AxesChartDataDisplay_1.AxesChartDataDisplayBar, {
|
|
4100
|
+
label: AxesChartColorAndStyle_1.default.label,
|
|
4101
|
+
layout: [].concat(_toConsumableArray(AxesChartColorAndStyle_1.default.layout), [[{
|
|
4102
|
+
label: i18n_1._('Line width (px)'),
|
|
4103
|
+
option: 'lineWidth',
|
|
4104
|
+
editor: 'editor.slider',
|
|
4105
|
+
editorProps: {
|
|
4106
|
+
min: 0.5,
|
|
4107
|
+
max: 8.0,
|
|
4108
|
+
step: 0.5
|
|
4109
|
+
}
|
|
4110
|
+
}], [{
|
|
4111
|
+
label: i18n_1._('Series spacing'),
|
|
4112
|
+
option: 'seriesSpacing',
|
|
4113
|
+
editor: 'editor.number'
|
|
4114
|
+
}], [{
|
|
4115
|
+
label: i18n_1._('Bar spacing'),
|
|
4116
|
+
option: 'barSpacing',
|
|
4117
|
+
editor: 'editor.number'
|
|
4118
|
+
}]])
|
|
4119
|
+
}, AxesChartLegend_1.default, {
|
|
4120
|
+
label: AxesChartXGridAndLabels_1.AxesChartXGridAndLabelsCommon.label,
|
|
4121
|
+
layout: [].concat(_toConsumableArray(AxesChartXGridAndLabels_1.AxesChartXGridAndLabelsCommon.layout), [[{
|
|
4122
|
+
label: i18n_1._('Number of time label parts'),
|
|
4123
|
+
option: 'xAxisMaxLabelParts',
|
|
4124
|
+
editor: 'editor.number',
|
|
4125
|
+
editorProps: {
|
|
4126
|
+
min: 1,
|
|
4127
|
+
max: 3
|
|
4128
|
+
},
|
|
4129
|
+
showEditor: function showEditor(_ref) {
|
|
4130
|
+
var options = _ref.options;
|
|
4131
|
+
return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
|
|
4132
|
+
}
|
|
4133
|
+
}], [{
|
|
4134
|
+
label: i18n_1._('Axis line visibility'),
|
|
4135
|
+
option: 'xAxisLineVisibility',
|
|
4136
|
+
editor: 'editor.checkbox'
|
|
4137
|
+
}], [{
|
|
4138
|
+
label: i18n_1._('Major gridlines'),
|
|
4139
|
+
option: 'showXMajorGridLines',
|
|
4140
|
+
editor: 'editor.checkbox'
|
|
4141
|
+
}], [{
|
|
4142
|
+
label: i18n_1._('Major tick visibility'),
|
|
4143
|
+
option: 'xAxisMajorTickVisibility',
|
|
3241
4144
|
editor: 'editor.radioBar',
|
|
3242
4145
|
editorProps: {
|
|
3243
4146
|
values: [{
|
|
3244
|
-
|
|
3245
|
-
label: i18n_1._('Not stacked'),
|
|
4147
|
+
label: i18n_1._('Auto'),
|
|
3246
4148
|
value: 'auto'
|
|
3247
4149
|
}, {
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
value: 'stacked'
|
|
4150
|
+
label: i18n_1._('Show'),
|
|
4151
|
+
value: 'show'
|
|
3251
4152
|
}, {
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
value: 'stacked100'
|
|
4153
|
+
label: i18n_1._('Hide'),
|
|
4154
|
+
value: 'hide'
|
|
3255
4155
|
}]
|
|
3256
4156
|
}
|
|
3257
4157
|
}], [{
|
|
3258
|
-
label: i18n_1._('
|
|
3259
|
-
option: '
|
|
3260
|
-
editor: 'editor.
|
|
4158
|
+
label: i18n_1._('Major tick size (px)'),
|
|
4159
|
+
option: 'xAxisMajorTickSize',
|
|
4160
|
+
editor: 'editor.slider',
|
|
3261
4161
|
editorProps: {
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
label: i18n_1._('Min/Max'),
|
|
3270
|
-
value: 'minmax'
|
|
3271
|
-
}]
|
|
4162
|
+
min: 0,
|
|
4163
|
+
max: 10,
|
|
4164
|
+
step: 1
|
|
4165
|
+
},
|
|
4166
|
+
showEditor: function showEditor(_ref2) {
|
|
4167
|
+
var options = _ref2.options;
|
|
4168
|
+
return options.xAxisMajorTickVisibility === 'show' || options.xAxisMajorTickVisibility === 'auto' || options.xAxisMajorTickVisibility === undefined;
|
|
3272
4169
|
}
|
|
3273
|
-
}]]
|
|
3274
|
-
},
|
|
4170
|
+
}]])
|
|
4171
|
+
}, AxesChartYGridAndLabels_1.default, AxesChartY2GridAndLabels_1.default];
|
|
3275
4172
|
/**
|
|
3276
4173
|
* visualization configuration
|
|
3277
4174
|
*/
|
|
@@ -3318,7 +4215,7 @@ var config = {
|
|
|
3318
4215
|
exports.default = configUtils_1.enhanceConfig(config);
|
|
3319
4216
|
|
|
3320
4217
|
/***/ }),
|
|
3321
|
-
/*
|
|
4218
|
+
/* 151 */
|
|
3322
4219
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3323
4220
|
|
|
3324
4221
|
"use strict";
|
|
@@ -3331,9 +4228,9 @@ exports.convertToBarSCProperties = exports.mapToOldKey = exports.convertToString
|
|
|
3331
4228
|
|
|
3332
4229
|
var lodash_1 = __webpack_require__(2);
|
|
3333
4230
|
|
|
3334
|
-
var propUtils_1 = __webpack_require__(
|
|
4231
|
+
var propUtils_1 = __webpack_require__(22);
|
|
3335
4232
|
|
|
3336
|
-
var chartingUtils_1 = __webpack_require__(
|
|
4233
|
+
var chartingUtils_1 = __webpack_require__(50); // map for key names which are either new or not present in SimpleXML options mapping
|
|
3337
4234
|
|
|
3338
4235
|
|
|
3339
4236
|
var barOptionsSCMapping = {
|