@splunk/visualizations 23.3.0 → 24.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_PureChoroplethSvg_100_height_width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureChoroplethSvg_SVG_with_XML_and_DTD.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureChoroplethSvg_background_blue.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureChoroplethSvg_black_dot.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureChoroplethSvg_clock.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureChoroplethSvg_color_rectangles.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureChoroplethSvg_fixed_height_400_width_400.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_100_height_width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Background_Color_orange.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Gauge_Color_cyan.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Major_Unit_10.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Major_Unit_auto.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Max_Value_210_Major_Unit_25_ticks_position_unevenly.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Max_value_40K.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Min_Value_20_ticks_position_evenly.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Orientation_horizontal.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Orientation_horizontal_height_100_no_placeholder.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Orientation_horizontal_height_90_show_placeholder.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Orientation_horizontal_width_150_show_placeholder.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Orientation_vertical_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Percentage_Range_true.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Percentage_Value_true.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Show_Labels_false.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Show_Value_false.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Too_Small_to_Render.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_basic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_fixed_height_300_width_300.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Background_Color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Field_Order.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Field_Order_First_And_Last.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Field_Order_Some.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Fields.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Fields_Columns.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Handles_Large_Data_Set.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Link_Color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Link_Width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Height.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Highlight_Color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Spacing_X.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Spacing_Y.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Result_Limit.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Show_Node_Counts_False.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Show_Value_Counts_False.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Width_Height.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Background_Color_orange.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_duplicate_entries_from.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_duplicate_entries_to.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_invalid_entries_discontinuous_ranges.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_invalid_entries_from_equals_to_to.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_invalid_entries_from_is_larger_than_to.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_missing_entries.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Major_Unit_10.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Major_Unit_auto.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Orientation_horizontal.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Orientation_horizontal_width_150_show_placeholder.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Orientation_vertical_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Percentage_Range_true.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Percentage_Value_true.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Ranges_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Ranges_min_20_max_100_tick_positions_even.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Ranges_min_20_max_110_majorUnit_20_tick_positions_uneven.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Ranges_multiple_steps.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Ranges_single_step.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Show_Labels_false.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Show_Value_false.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Too_Small_to_Render.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_array_column_values.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_backgroundColor_navy_000080.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_basic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_categorical_dataSources_excessive_categorical_data.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_dimensions_less_than_minWidth_200_and_minHeight_150.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_lineColor_pink_FFC0CB.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_lineOpacity_0_3.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_numerical_dataSources.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_showNullAxis_false.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_stringified_numerical_dataSources.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_100_height_width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Row_Scale_global.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Row_Scale_row.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Scale_area.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Scale_radius.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_false.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_false_Max_Bubble_Radius_25.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_false_Min_Bubble_Radius_5.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_false_Min_Bubble_Radius_5_Max_Bubble_Radius_30_Color_Mode_categorical_Bubble_Scale_radius_Bubble_Row_Scale_global.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_false_Min_Bubble_Radius_5_Max_Bubble_Radius_30_Color_Mode_dynamic_Bubble_Scale_area_Bubble_Row_Scale_row.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_true.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_true_Max_Bubble_Size_75_Min_Bubble_Size_15_Color_Mode_categorical_Bubble_Scale_area_Bubble_Row_Scale_global.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_true_Max_Bubble_Size_75_Min_Bubble_Size_15_Color_Mode_dynamic_Bubble_Scale_radius_Bubble_Row_Scale_row.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_true_Max_Bubble_Size_99.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_true_Min_Bubble_Size_30.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Color_Mode_categorical.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Color_Mode_categorical_Series_Color_red_blue_green_orange_cyan.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Color_Mode_categorical_Show_Legend_false.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Color_Mode_categorical_Show_Legend_true.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Color_Mode_dynamic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Color_Mode_dynamic_Bubble_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Color_Mode_dynamic_Min_ColorIntensity_0.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Color_Mode_dynamic_Min_ColorIntensity_100.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Duplicated_data_point_x_8_y_tuesday_size_29_category_Allison_V_1710.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Invalid_data_point_x_5_y_friday_size_undefined_category_undefined.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Invalid_data_point_x_5_y_undefined_size_12_category_undefined.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Invalid_data_point_x_undefined_y_friday_size_29_category_undefined.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Legend_label_is_long_no_overflow.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Show_Bubble_Labels_all.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Show_Bubble_Labels_max.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Show_Bubble_Labels_none.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Some_axis_labels_should_be_hidden.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Sort_axes_useDefaultSort_true.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_default_height_width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_fixed_height_300_width_700.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_backgroundcolor_pink.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_backward_link_and_self_loop.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_basic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_colorMode_dynamic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_dimensions_height_and_width_set_to_non_numeric.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_dimensions_less_than_minWidth_300_and_minHeight_200.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_invalid_columns_data.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_larger_dataset_charity_data.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_larger_dataset_energy_data.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_linkOpacity_changed_to_0_8.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_nodePadding_changed_to_8.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_nodeWidth_changed_to_15.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_resultLimit_set_to_4.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_100_height_and_width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Background_color_cyan.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Icon_Color_blue.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Icon_Opacity_0_3.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Icon_Position_after.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Icon_Position_below.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Icon_Position_top.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Icon_activity.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Icon_clock.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Major_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Major_Font_Size_128_Trend_Font_Size_30.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Number_Precision_2.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Show_Value_false.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Thousand_Separators_disabled.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Trend_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Trend_Display_percent.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Truncate_Trend_Units_enabled.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Unit_specified_Unit_Position_after_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Unit_specified_Unit_Position_before.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_basic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_fixed_height_300_width_300.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_fixed_height_35_width_35.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_no_props.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_100_height_and_width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Background_color_flamenco.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Background_color_is_white.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Major_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Max_Value_50.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Number_Precision_2.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Radial_Background_Color_pink.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Radial_Stroke_Color_valencia.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_String_values.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Thousand_Separators_disabled.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Thousand_Separators_enabled_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Trend_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Trend_Display_absolute_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Trend_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Trend_Display_percent.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Trend_Indicator_Position_pushed_below_value_does_not_fit_inside_of_radial.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Truncate_Trend_Value_disabled.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Truncate_Trend_Value_enabled.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Under_label_specified.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Unit_specified_Unit_Position_after_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Unit_specified_Unit_Position_before.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_basic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_basic_dark_theme.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_basic_default_theme.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_basic_scp_theme.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_fixed_height_300_width_300.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_fixed_height_35_width_35.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_no_props.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_100_height_width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Automatic_font_sizing_should_not_overflow.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Background_Color_blue.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Background_Color_white_Under_Label_and_Unit_specified.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Large_card_686_width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Major_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Major_Font_Size_128_Trend_Font_Size_30_Under_Label_Font_Size_16.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Major_Value_is_null.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Medium_card_250_width_686.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Number_Precision_2.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Small_card_width_250.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Small_card_width_50.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Display_after.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Display_before.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Display_below_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Fill_Color_blue.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Highlight_Segments_2_Sparkline_Highlight_Dots_2.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Highlight_Segments_4_Sparkline_Highlight_Dots_5.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Highlight_Segments_and_Sparkline_Highlight_Dots_characters_invalid.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Highlight_Segments_and_Sparkline_Highlight_Dots_negative_3_invalid.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Sparkline_Accept_Null_disabled.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Sparkline_Accept_Null_enabled_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Stroke_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Tooltip_show.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Use_Trend_Units_disabled_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Use_Trend_Units_enabled_billions.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Use_Trend_Units_enabled_hundreds.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Use_Trend_Units_enabled_millions.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Use_Trend_Units_enabled_thousands.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Use_Trend_Units_enabled_trillions.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_converts_non_numeric_values_to_null.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_does_not_show_if_only_1_entry_in_graphData.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_String_values.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Thousand_Separators_disabled.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Thousand_Separators_enabled_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Color_specified.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Display_absolute_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Display_percent.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Display_percent_Major_Value_negative_10_Trend_Value_3.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Display_percent_Major_Value_negative_13_Trend_Value_negative_3.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Display_percent_Trend_Value_0.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Display_percent_value_equals_trendValue.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Value_Empty_string.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Value_Not_A_Number.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Under_Label_specified.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Unit_specified_Unit_Position_after_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Unit_specified_Unit_Position_before.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_basic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_basic_0_value.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_basic_all_0.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_fixed_height_300_width_300.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_fixed_height_35_width_35_Major_Font_Size_8.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_fixed_height_60_width_60_Major_Font_Size_12_Background_Color_blue.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_no_props.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_SvgChoroplethDynamic_Black_Dot.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_SvgChoroplethDynamic_Clock.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_SvgChoroplethDynamic_Color_Rectangles.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_SvgChoroplethDynamic_SVG_with_XML_and_DTD.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_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_Area_Area_Area_Opacity_0_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Background_Color_french_rose.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Basic_Area.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Annotation.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Multiple_Overlay_Fields_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Overlay_Field_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Show_Y2_Axis_Major_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Show_Y2_Axis_Minor_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Show_Y2_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Show_Y2_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Abbreviation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Abbreviation_on_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Major_Tick_Interval_20.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Major_Tick_Size_15_and_Minor_Tick_Size_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Major_Tick_and_Minor_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Max_120.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Min_50.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Title_Text_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_overlay_on_Line_Width_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_overlay_on_Show_Y2_Axis_Rounded_Labels_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_overlay_on_Show_Y2_Axis_Rounded_Labels_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Data_Values_Display_all.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Data_Values_Display_minmax.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Legend_Display_bottom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Legend_Display_left.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Legend_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Legend_Display_top.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Legend_Mode_seriesCompare.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_New_very_long_Legend_Label_Legend_Truncation_end_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_New_very_long_Legend_Label_Legend_Truncation_middle.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_New_very_long_Legend_Label_Legend_Truncation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_New_very_long_Legend_Label_Legend_Truncation_start.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Null_Value_Display_connect.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Null_Value_Display_gaps_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Null_Value_Display_zero.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Result_Limit_0_Number_of_Results_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Result_Limit_1000_Number_of_Results_5000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Result_Limit_3a_invalid_Number_of_Results_40.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Result_Limit_50_Number_of_Results_40.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Series_Colors_by_Field_count_green_percent_orange.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Series_Colors_red_blue_green_orange_pink.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Show_Independent_Y_Axis_Ranges_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Show_Lines_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Show_Split_Series_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Show_X_Axis_Major_Grid_Lines_true_Y_Axis_Major_Grid_Lines_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Show_Y_Axis_Extended_Range_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Show_Y_Axis_Extended_Range_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Show_Y_Axis_Minor_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Show_Y_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Show_Y_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Stack_Mode_stacked.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Stack_Mode_stacked100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Label_Rotation_45.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Label_Rotation_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Label_Rotation_negative_45.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Label_Rotation_negative_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Line_Visibility_show_Y_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Major_Ticks_Size_15.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Max_Label_Parts_1.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Max_Label_Parts_2.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Max_Label_Parts_3_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y2_Axis_Mapped_Field_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y2_Axis_Multiple_Mapped_Fields_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_Abbreviation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_Abbreviation_on_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_Major_Tick_Interval_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_Major_and_Minor_Tick_Visibility_show_X_Axis_Major_Tick_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_Major_and_Minor_Tick_Visibility_show_Y_Axis_Major_Tick_Size_15_Y_Axis_Minor_Tick_Size_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_Maximum_Number_500.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_Minimum_Number_250.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_and_X_Axis_Title_Text_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_and_X_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Axis_Y_Maximum_Number_500.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Axis_Y_Minimum_Number_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Background_Color_green.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Bar_Spacing_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Basic_Bar.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Line_Width_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Multiple_Overlay_Fields_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Overlay_Field_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Show_Y2_Axis_Major_and_Minor_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Show_Y2_Axis_Rounded_Labels_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Show_Y2_Axis_Rounded_Labels_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Show_Y2_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Show_Y2_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Abbreviation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Abbreviation_on_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Major_Tick_Interval_50.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Major_Tick_Size_15_Minor_Ticks_Size_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Major_Tick_and_Minor_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Max_500.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Min_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Title_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Data_Value_Display_all.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Data_Value_Display_minmax.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Legend_Display_bottom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Legend_Display_left.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Legend_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Legend_Display_top.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Multi_Series.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_New_very_long_Legend_Label_Legend_Truncation_end_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_New_very_long_Legend_Label_Legend_Truncation_middle.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_New_very_long_Legend_Label_Legend_Truncation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_New_very_long_Legend_Label_Legend_Truncation_start.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Result_Limit_0_Number_of_Results_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Result_Limit_1000_Number_of_Results_5000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Result_Limit_3a_invalid_Number_of_Results_40.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Result_Limit_50_Number_of_Results_40.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Series_Colors_by_Field_count_green_percent_orange.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Series_Colors_red_and_blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Series_Spacing_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Show_Independent_Y_Axis_Ranges_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Show_Split_Series_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Show_X_Axis_Major_Grid_true_Y_Axis_Major_Grid_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Show_Y_Axis_Extended_Range_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Show_Y_Axis_Extended_Range_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Show_Y_Axis_Minor_Grid_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Show_Y_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Show_Y_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Stack_Mode_stacked.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Stack_Mode_stacked100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_X_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_X_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_X_Axis_Major_Tick_Size_15.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_X_Axis_Major_Tick_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_X_Axis_Max_Label_Parts_1.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_X_Axis_Max_Label_Parts_2.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_X_Axis_Max_Label_Parts_3_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y2_Axis_Mapped_Field_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y2_Axis_Multiple_Mapped_Fields_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_Abbreviation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_Abbreviation_on_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_Major_and_Minor_Ticks_Visibility_show_Y_Axis_Major_Tick_Size_15_Y_Axis_Minor_Tick_Size_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_Tick_Interval_50.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_and_X_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_and_X_Axis_Title_Visibility_hide.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_Column_data_based_on_DSL.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Field_Colors_200_green_201_red.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Legend_Display_bottom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Legend_Display_left.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Legend_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Legend_Display_top.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Multi_Series.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Placeholder_if_viz_does_not_connect_to_datasource.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_Series_Colors_orange_and_blue.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_Rounded_Labels_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_X_Axis_Rounded_Labels_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_Abbreviation_auto.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Abbreviation_off_default.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_800.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Minimum_Number_300.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_Choropleth_Svg_Choropleth_Svg_Click.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Missing_Props_Message_When_No_Svg.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Placeholder_If_No_Svg_And_No_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Set_the_color_of_multiple_areas_in_an_Svg_based_on_a_rangeValue_threshold.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Set_the_color_of_multiple_areas_in_an_Svg_based_on_areaIds.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Set_the_color_using_multiMap_formatter.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Svg_Shows_Even_When_No_Datasources.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Use_Local_To_Download_Svg.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Background_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Basic_Column.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Annotation.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Line_Width_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Show_Y2_Axis_Major_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Show_Y2_Axis_Minor_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Show_Y2_Axis_Rounded_Labels_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Show_Y2_Axis_Rounded_Labels_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Show_Y2_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Show_Y2_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Abbreviation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Major_Tick_Interval_10000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Major_Tick_Size_15_Y2_Axis_Minor_Tick_Size_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Major_Tick_Visibility_and_Y2_Axis_Minor_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Max_80000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Min_50000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Title_Text_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Column_Grouping_overlay.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Column_Grouping_overlay_Stack_Mode_stacked.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Column_Spacing_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Data_Value_Display_all.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Data_Value_Display_minmax.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Legend_Display_bottom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Legend_Display_left.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Legend_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Legend_Display_top.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Multi_Series.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_New_very_long_Legend_Label_Legend_Truncation_end_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_New_very_long_Legend_Label_Legend_Truncation_middle.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_New_very_long_Legend_Label_Legend_Truncation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_New_very_long_Legend_Label_Legend_Truncation_start.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Result_Limit_0_Number_of_Results_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Result_Limit_1000_Number_of_Results_5000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Result_Limit_3a_invalid_Number_of_Results_40.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Result_Limit_50_Number_of_Results_40.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Series_Colors_By_Field_splunkd_green_mongod_orange.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Series_Colors_red_blue_green.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Series_Spacing_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_Independent_Y_Axis_Ranges_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_Long_Tooltip_X_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_Split_Series_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_Tooltip_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_X_Axis_Major_Grid_Lines_true_Show_Y_Axis_Major_Grid_Lines_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_Y_Axis_Extended_Range_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_Y_Axis_Extended_Range_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_Y_Axis_Minor_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_Y_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_Y_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Stack_Mode_stacked.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Stack_Mode_stacked100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Label_Rotation_45.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Label_Rotation_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Label_Rotation_negative_45.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Label_Rotation_negative_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Label_Visibility_and_Y_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Max_Label_Parts_1.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Max_Label_Parts_2.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Max_Label_Parts_3_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Title_Text_and_Y_Axis_Title_Text_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Title_Text_and_Y_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_and_Y_Axis_Major_Tick_Size_20_Y_Axis_Major_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y2_Axis_Mapped_Field_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y2_Axis_Multiple_Mapped_Fields_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y2_Axis_Multiple_Overlay_Fields_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y2_Axis_Overlay_Field_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y_Axis_Abbreviation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y_Axis_Major_Tick_Interval_10000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y_Axis_Maximum_Number_80000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y_Axis_Minimum_Number_60000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y_Axis_Minor_Tick_Size_10_Y_Axis_Major_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Basic_Ellipse.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Fill_Color_computed_using_rangeValue_formatter.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Fill_Color_cyan.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Fill_Color_purple_Fill_Opacity_0_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Fill_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Fixed_height_200_width_200.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Color_brown.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Color_brown_Fill_Color_blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Color_computed_using_rangeValue_formatter.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Color_green.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Color_green_Fill_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Dash_Style_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Opacity_0_8_Fill_Opacity_0_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Width_20_Stroke_Opacity_0_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Width_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Width_5_Stroke_Dash_Style_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_100_height_width.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Background_Color_orange.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Basic_Filler_Gauge.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Gauge_Color_computed_using_rangeValue_formatter.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Gauge_Color_yellow.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Label_Display_number_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Label_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Label_Display_percentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Major_Tick_Interval_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Major_Tick_Interval_auto_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Orientation_horizontal.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Orientation_horizontal_height_100_no_placeholder.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Orientation_horizontal_height_90_show_placeholder.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Orientation_horizontal_width_150_show_placeholder.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Orientation_vertical_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Value_Display_number_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Value_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Value_Display_percentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Value_Display_percentage_Label_Display_percentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_Basic_Image.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_Displays_dynamic_image.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_Displays_remote_image.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_JPEG_image_Preserve_Aspect_Ratio_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_JPG_image_Preserve_Aspect_Ratio_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_No_image_src_present_in_options.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_No_options_present.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_PNG_image_Preserve_Aspect_Ratio_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_Relative_JPG_image_link.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_Relative_PNG_image_link.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_Relative_svg_image_link.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_SVG_image_Preserve_Aspect_Ratio_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Background_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Basic_Line.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Annotation.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_On_Y2_Axis_Major_Tick_Interval_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Multiple_Overlay_Fields_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Overlay_Field_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Show_Y2_Axis_Rounded_Labels_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Show_Y2_Axis_Rounded_Labels_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Show_Y2_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Show_Y2_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Abbreviation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Abbreviation_on_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Major_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Major_Tick_Size_15_Y2_Axis_Minor_Tick_Size_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Major_Tick_Visibility_and_Y2_Axis_Minor_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Maximum_Number_500.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Minimum_Number_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Minor_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Title_Text_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Data_Values_Display_all.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Data_Values_Display_minmax.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Legend_Display_bottom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Legend_Display_left.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Legend_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Legend_Display_top.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Legend_Mode_seriesCompare.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_by_Field_count_dot_percent_dash.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_by_Field_count_longDashDot_percent_longDashDotDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_by_Field_count_longDash_percent_dashDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_by_Field_count_shortDashDot_percent_shortDashDotDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_by_Field_count_shortDash_percent_shortDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_dash.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_dashDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_dot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_longDash.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_longDashDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_longDashDotDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_shortDash.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_shortDashDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_shortDashDotDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_solid_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Width_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Marker_Display_filled.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Marker_Display_invalid_value.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Marker_Display_off_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Marker_Display_outlined.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Multi_Series.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_New_very_long_Legend_Label_Legend_Truncation_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_New_very_long_Legend_Label_Legend_Truncation_middle.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_New_very_long_Legend_Label_Legend_Truncation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_New_very_long_Legend_Label_Legend_Truncation_start.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Null_Value_Display_connect.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Null_Value_Display_gaps_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Null_Value_Display_zero.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Result_Limit_0_Number_of_Results_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Result_Limit_1000_Number_of_Results_5000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Result_Limit_3_Number_of_Results_5_Chart_Annotation.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Result_Limit_3a_invalid_Number_of_Results_40.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Result_Limit_50_Number_of_Results_40.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Series_Colors_By_Field_count_green_percent_orange.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Series_Colors_red_and_blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Show_Independent_Y_Axis_Ranges_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Show_Split_Series_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Show_X_Axis_Major_Grid_Lines_true_Show_Y_Axis_Major_Grid_Lines_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Show_Y_Axis_Extended_Range_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Show_Y_Axis_Extended_Range_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Show_Y_Axis_Minor_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Show_Y_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Show_Y_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Label_Rotation_45.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Label_Rotation_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Label_Rotation_negative_45.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Label_Rotation_negative_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Label_Visibility_and_Y_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Line_Visibility_show_Y_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Major_Tick_Visibility_hide_Y_Axis_Major_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Max_Label_Parts_1.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Max_Label_Parts_2.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Max_Label_Parts_3_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Title_Text_and_Y_Axis_Title_Text_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Title_Text_and_Y_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_and_Y_Axis_Major_Tick_Size_20.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Y2_Axis_Mapped_Field_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Y2_Axis_Multiple_Mapped_Fields_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Y_Axis_Abbreviation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Y_Axis_Abbreviation_on_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Y_Axis_Major_Tick_Interval_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Y_Axis_Maximum_Number_50.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Y_Axis_Minimum_Number_25.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Y_Axis_Minor_Tick_Visibility_show_Y_Axis_Minor_Tick_Size_15.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Y_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Basic_LinkGraph.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Field_Order_First_and_Last_Fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Field_Order_From_the_First_to_the_Last_Fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Field_Order_From_the_Last_to_the_First_Fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Result_Limit_3.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Show_Placeholder.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_Marker_Gauge_Marker_Gauge_Background_Color_blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Basic_Marker_Gauge.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Gauge_Ranges_0_to_30_purple_30_to_90_blue_90_to_100_pink.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Gauge_Ranges_negative_10_to_50_blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Label_Display_number_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Label_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Label_Display_percentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Major_Tick_Interval_7.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Orientation_horizontal.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Orientation_vertical_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Value_Display_number_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Value_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Value_Display_percentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Value_Display_percentage_Label_Display_percentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Array_column_values.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Background_Color_yellow.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Basic_Parallel_Coordinates.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Categorical_dataSources_excessive_categorical_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Larger_Dimensions_width_800_height_500.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Line_Color_pink.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Line_Opacity_0_3.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Numerical_dataSources.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Show_Null_Axis_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Show_Placeholder.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Smaller_Dimensions_less_than_min_width_200_and_min_height_150.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Stringified_Numerical_dataSources.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Background_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Basic_Pie.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Collapse_Label_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Collapse_Threshold_0_05.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Label_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Label_Display_valuesAndPercentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Label_Display_values_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_More_than_2_columns_in_datasources.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Numeric_and_string_values_in_column_1.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Result_Limit_0_Number_of_Results_12.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Result_Limit_3_Number_of_Results_12.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Series_Colors_By_Field_April_black_December_yellow.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Series_Colors_red_blue_green_orange_pink.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Show_Donut_Hole_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Background_Color_green.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Basic_Punchcard.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Label_Display_all_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Label_Display_max.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Label_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Row_Scale_global_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Row_Scale_row.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Size_Max_50.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Size_Max_75_Bubble_Size_Min_15_Bubble_Size_Method_radius_Bubble_Row_Scale_row.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Size_Max_75_Bubble_Size_Min_15_Color_Mode_categorical.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Size_Method_area_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Size_Method_radius.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Size_Min_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Color_Mode_categorical.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Color_Mode_categorical_Legend_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Color_Mode_categorical_Legend_Display_right_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Color_Mode_categorical_Series_Color_red_blue_green_orange_cyan.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Color_Mode_dynamic_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Multi_Series.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Show_Default_Sort_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Show_Default_Sort_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Show_Dynamic_Bubble_Size_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Show_Dynamic_Bubble_Size_false_Bubble_Radius_Max_25.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Show_Dynamic_Bubble_Size_false_Bubble_Radius_Min_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Show_Dynamic_Bubble_Size_false_Bubble_Radius_Min_5_Bubble_Radius_Max_30_Bubble_Row_Scale_row.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Show_Dynamic_Bubble_Size_false_Bubble_Radius_Min_5_Bubble_Radius_Max_30_Color_Mode_categorical_Bubble_Size_Method_radius.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Show_Dynamic_Bubble_Size_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Basic_Rectangle.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Fill_Color_Purple.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Fill_Color_Purple_Fill_Opacity_0_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Fill_Color_computed_using_rangeValue_formatter.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Fill_Color_cyan.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Horizontal_Corner_Radius_rx_0_default_Vertical_Corner_Radius_ry_25.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Horizontal_Corner_Radius_rx_15_Vertical_Corner_Radius_ry_25.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Horizontal_Corner_Radius_rx_20_Vertical_Corner_Radius_ry_0.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Horizontal_Corner_Radius_rx_20_Vertical_Corner_Radius_ry_Undefined_default_set_to_rx.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Horizontal_Corner_Radius_rx_5_Vertical_Corner_Radius_ry_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Color_brown.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Color_brown_Fill_Color_blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Color_computed_using_rangeValue_formatter.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Color_yellow.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Color_yellow_Fill_Color_purple.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Dash_Style_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Dash_Style_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Join_Style_Bevel_Stroke_Width_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Join_Style_miter_default_Stroke_Width_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Join_Style_round_Stroke_Width_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Width_20_Stroke_Opacity_0_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Width_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Background_Color_pink.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Backward_Link_Self_Loop.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Basic_Sankey.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Color_Mode_dynamic.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Dimension_Too_Small.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Larger_Dimension.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Link_Opacity_0_8.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Link_Opacity_Changed.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Link_Values_Not_Default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Show_Placeholder.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_Column_data_based_on_DSL.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Field_Colors_200_green_201_red.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Legend_Display_bottom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Legend_Display_left.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Legend_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Legend_Display_top.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Legend_Truncation_end_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Legend_Truncation_middle.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Legend_Truncation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Legend_Truncation_start.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_Multi_Series.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Result_Limit_0_Number_of_Results_30.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Result_Limit_10_Number_of_Results_30.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Result_Limit_3a_invalid_Number_of_Results_30.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Result_Limit_50_Number_of_Results_30.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Series_Colors_orange_and_blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_Rounded_X_Axis_Labels_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_Rounded_X_Axis_Labels_true.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_Abbreviation_auto.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Abbreviation_off_default.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_Abbreviation_auto_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Abbreviation_off.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_Numerical_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Use_String_Type_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Use_The_First_Series_Data_If_No_Matched_Type.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_Radial_Single_Value_Radial_Show_Placeholder.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Use_String_Type_Series_Data.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_No_Trend_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_Show_Gaps_For_Null_Value_In_Sparkline.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Show_Placeholder.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_Trend_Value_Is_Zero.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_Numerical_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Use_String_Type_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Use_The_First_Series_Data_If_No_Matched_Type.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_By_Type_Custom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_Default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_Kitchen_Sink.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_Right.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_Single_Column.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Background_Color_light_blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Background_No_Stripe.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Background_Stripe.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Basic_Table.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Basic_Table_With_No_Click.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Cell_Types.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Column_Gradient.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Column_Override.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Column_Width.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Count_2.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Custom_Header_Colors.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Custom_Row_Colors.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Custom_Stripe.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Dark_Background_No_Stripe.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Dark_Background_Stripe.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Format_Number.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_Header_Visibility_fixed.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Header_Visibility_none.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Height_Percentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Height_Percentage_100_no_paginator.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Invalid_Background_Color.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Multi_Value_Field.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_No_Stripes.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_No_Stripes_Row_Numbers.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Placeholder.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_Show_Row_Numbers_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline_Custom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline_Width.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparklines_Adv.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Table_Formatting.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Table_Gradient.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Time_Formatting.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Width_Height.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Width_Percentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Width_Px.png +0 -0
- package/Area.config.js +48 -44
- package/Area.config.js.map +1 -1
- package/Area.js +297 -241
- package/Area.js.map +1 -1
- package/Bar.config.js +36 -32
- package/Bar.config.js.map +1 -1
- package/Bar.js +283 -228
- package/Bar.js.map +1 -1
- package/Bubble.config.js +35 -25
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +289 -224
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +36 -33
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +272 -209
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +36 -32
- package/Column.config.js.map +1 -1
- package/Column.js +285 -229
- package/Column.js.map +1 -1
- package/Ellipse.config.js +30 -27
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +196 -141
- package/Ellipse.js.map +1 -1
- package/FillerGauge.config.js +888 -0
- package/FillerGauge.config.js.map +1 -0
- package/FillerGauge.js +3723 -0
- package/FillerGauge.js.map +1 -0
- package/Image.config.js +15 -8
- package/Image.config.js.map +1 -1
- package/Image.js +269 -205
- package/Image.js.map +1 -1
- package/LICENSE.md +14 -0
- package/Line.config.js +46 -38
- package/Line.config.js.map +1 -1
- package/Line.js +297 -235
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +110 -126
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +426 -402
- package/LinkGraph.js.map +1 -1
- package/Markdown.config.js +124 -32
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +301 -131
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +215 -68
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +1918 -1729
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +52 -48
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +413 -184
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +79 -76
- package/Pie.config.js.map +1 -1
- package/Pie.js +300 -241
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +24 -21
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +276 -208
- package/Punchcard.js.map +1 -1
- package/README.internal.md +47 -0
- package/README.md +36 -3
- package/Rectangle.config.js +34 -32
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +287 -224
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +38 -33
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +336 -271
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +46 -37
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +438 -378
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +139 -131
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +838 -644
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +193 -36
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +141 -133
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +532 -325
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +542 -128
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +1322 -767
- package/SingleValueRadial.js.map +1 -1
- package/Table.config.js +30 -14
- package/Table.config.js.map +1 -1
- package/Table.js +425 -293
- package/Table.js.map +1 -1
- package/common/Charting.js +61 -49
- package/common/Charting.js.map +1 -1
- package/common/ChartingApi.js +5 -4
- package/common/ChartingApi.js.map +1 -1
- package/common/EventsDoc.js +21 -23
- package/common/EventsDoc.js.map +1 -1
- package/common/GaugeMajorTicks.js +4 -4
- package/common/GaugeMajorTicks.js.map +1 -1
- package/common/GaugeValueMarker.js +4 -4
- package/common/GaugeValueMarker.js.map +1 -1
- package/common/OptionsDoc.js +30 -32
- package/common/OptionsDoc.js.map +1 -1
- package/common/OverviewDoc.js +376 -0
- package/common/OverviewDoc.js.map +1 -0
- package/common/SplunkVisualization.js +9 -9
- package/common/SplunkVisualization.js.map +1 -1
- package/common/SplunkVisualizationApi.js +11 -11
- package/common/SplunkVisualizationApi.js.map +1 -1
- package/common/ThemesDoc.js +53 -76
- package/common/ThemesDoc.js.map +1 -1
- package/common/chartingUtils.js +8 -6
- package/common/chartingUtils.js.map +1 -1
- package/common/docUtils.js +4 -4
- package/common/docUtils.js.map +1 -1
- package/common/gaugeUtils.js +193 -104
- package/common/gaugeUtils.js.map +1 -1
- package/common/shapeUtils.js +8 -8
- package/common/shapeUtils.js.map +1 -1
- package/common/utils/JSONSchemaUtils.js.map +1 -1
- package/common/utils/configUtils.js +2 -2
- package/common/utils/configUtils.js.map +1 -1
- package/common/utils/hocUtils.js +58 -3
- package/common/utils/hocUtils.js.map +1 -1
- package/common/utils/singleValueUtils.js +178 -21
- package/common/utils/singleValueUtils.js.map +1 -1
- package/common/utils/testHelper.js.map +1 -1
- package/common/withDashboardViz.js +152 -91
- package/common/withDashboardViz.js.map +1 -1
- package/loki.config.js +11 -0
- package/package.json +25 -26
- package/common/utils/eventUtils.js +0 -115
- package/common/utils/eventUtils.js.map +0 -1
- package/jest.visual.config.js +0 -14
package/MarkerGauge.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 = 189);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ([
|
|
@@ -159,24 +159,12 @@ var VizBehavior;
|
|
|
159
159
|
|
|
160
160
|
/***/ }),
|
|
161
161
|
/* 6 */
|
|
162
|
-
/***/ (function(module, exports) {
|
|
163
|
-
|
|
164
|
-
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
165
|
-
|
|
166
|
-
/***/ }),
|
|
167
|
-
/* 7 */
|
|
168
|
-
/***/ (function(module, exports) {
|
|
169
|
-
|
|
170
|
-
module.exports = require("@splunk/visualizations-shared/Message");
|
|
171
|
-
|
|
172
|
-
/***/ }),
|
|
173
|
-
/* 8 */
|
|
174
162
|
/***/ (function(module, exports, __webpack_require__) {
|
|
175
163
|
|
|
176
164
|
"use strict";
|
|
177
165
|
|
|
178
166
|
|
|
179
|
-
var _defineProperty = __webpack_require__(
|
|
167
|
+
var _defineProperty = __webpack_require__(7);
|
|
180
168
|
|
|
181
169
|
var __rest = this && this.__rest || function (s, e) {
|
|
182
170
|
var t = {};
|
|
@@ -250,8 +238,8 @@ function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
|
|
|
250
238
|
|
|
251
239
|
if (patternProperties) {
|
|
252
240
|
var enhancedPatternProperties = {};
|
|
253
|
-
Object.keys(patternProperties).forEach(function (
|
|
254
|
-
enhancedPatternProperties = Object.assign(Object.assign({}, enhancedPatternProperties), enhanceOptionsSchemaWithDynamicOptions(_defineProperty({},
|
|
241
|
+
Object.keys(patternProperties).forEach(function (opt) {
|
|
242
|
+
enhancedPatternProperties = Object.assign(Object.assign({}, enhancedPatternProperties), enhanceOptionsSchemaWithDynamicOptions(_defineProperty({}, opt, patternProperties[opt])));
|
|
255
243
|
});
|
|
256
244
|
enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;
|
|
257
245
|
}
|
|
@@ -360,20 +348,104 @@ function generatePrecisionValues(numPrecisionValues) {
|
|
|
360
348
|
|
|
361
349
|
exports.generatePrecisionValues = generatePrecisionValues;
|
|
362
350
|
|
|
351
|
+
/***/ }),
|
|
352
|
+
/* 7 */
|
|
353
|
+
/***/ (function(module, exports) {
|
|
354
|
+
|
|
355
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
356
|
+
|
|
357
|
+
/***/ }),
|
|
358
|
+
/* 8 */
|
|
359
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
360
|
+
|
|
361
|
+
"use strict";
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
var _typeof = __webpack_require__(22);
|
|
365
|
+
|
|
366
|
+
Object.defineProperty(exports, "__esModule", {
|
|
367
|
+
value: true
|
|
368
|
+
});
|
|
369
|
+
exports.deepMergeWithArrayOverrides = exports.extendStaticWrapperProps = void 0;
|
|
370
|
+
|
|
371
|
+
var lodash_1 = __webpack_require__(2);
|
|
372
|
+
/**
|
|
373
|
+
* @method extendStaticWrapperProps
|
|
374
|
+
* @param {Object} props
|
|
375
|
+
* @param {DashboardVizType} props.Wrapper
|
|
376
|
+
* @param {DashboardVizType} props.Visualization
|
|
377
|
+
*/
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
var extendStaticWrapperProps = function extendStaticWrapperProps(_ref) {
|
|
381
|
+
var Wrapper = _ref.Wrapper,
|
|
382
|
+
Visualization = _ref.Visualization;
|
|
383
|
+
var extendProperties = ['propTypes', 'defaultProps', 'config'];
|
|
384
|
+
extendProperties.forEach(function (prop) {
|
|
385
|
+
if (Visualization[prop]) {
|
|
386
|
+
// eslint-disable-next-line no-param-reassign
|
|
387
|
+
Wrapper[prop] = Visualization[prop];
|
|
388
|
+
}
|
|
389
|
+
});
|
|
390
|
+
};
|
|
391
|
+
|
|
392
|
+
exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
393
|
+
/**
|
|
394
|
+
* helper to deeply merge objects while preserving arrays in earlier source objects
|
|
395
|
+
* deeply nested primitive keys are merged similarly to lodash's defaultsDeep, while keys with arrays will be preserved if already present in the resultant merged object
|
|
396
|
+
* this prevents default arrays from appending values to user-defined arrays (this occurs if the default array is longer than the user-defined one)
|
|
397
|
+
*
|
|
398
|
+
* @method deepMergeWithArrayOverrides
|
|
399
|
+
* @param {Object} initial - target object to merge values into
|
|
400
|
+
* @param {Object[]} sources - other default options to be merged into the resultant object if no explicit value is provided, with earlier args taking precedence over later ones
|
|
401
|
+
*
|
|
402
|
+
* @returns {Object}
|
|
403
|
+
*/
|
|
404
|
+
|
|
405
|
+
var deepMergeWithArrayOverrides = function deepMergeWithArrayOverrides(initial) {
|
|
406
|
+
var clone = lodash_1.cloneDeep(initial);
|
|
407
|
+
|
|
408
|
+
for (var _len = arguments.length, sources = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
409
|
+
sources[_key - 1] = arguments[_key];
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
sources.forEach(function (sourceToApply) {
|
|
413
|
+
Object.keys(sourceToApply).forEach(function (sourceKey) {
|
|
414
|
+
if (!Object.prototype.hasOwnProperty.call(clone, sourceKey)) {
|
|
415
|
+
clone[sourceKey] = lodash_1.cloneDeep(sourceToApply[sourceKey]);
|
|
416
|
+
} // object merging excluding arrays
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
if (clone[sourceKey] && _typeof(clone[sourceKey]) === 'object' && !Array.isArray(clone[sourceKey]) && _typeof(sourceToApply[sourceKey]) === 'object') {
|
|
420
|
+
clone[sourceKey] = exports.deepMergeWithArrayOverrides(clone[sourceKey], sourceToApply[sourceKey]);
|
|
421
|
+
}
|
|
422
|
+
});
|
|
423
|
+
});
|
|
424
|
+
return clone;
|
|
425
|
+
};
|
|
426
|
+
|
|
427
|
+
exports.deepMergeWithArrayOverrides = deepMergeWithArrayOverrides;
|
|
428
|
+
|
|
363
429
|
/***/ }),
|
|
364
430
|
/* 9 */
|
|
365
431
|
/***/ (function(module, exports) {
|
|
366
432
|
|
|
367
|
-
module.exports = require("@
|
|
433
|
+
module.exports = require("@splunk/visualizations-shared/Message");
|
|
368
434
|
|
|
369
435
|
/***/ }),
|
|
370
436
|
/* 10 */
|
|
371
437
|
/***/ (function(module, exports) {
|
|
372
438
|
|
|
373
|
-
module.exports = require("@
|
|
439
|
+
module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
374
440
|
|
|
375
441
|
/***/ }),
|
|
376
442
|
/* 11 */
|
|
443
|
+
/***/ (function(module, exports) {
|
|
444
|
+
|
|
445
|
+
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
446
|
+
|
|
447
|
+
/***/ }),
|
|
448
|
+
/* 12 */
|
|
377
449
|
/***/ (function(module, exports, __webpack_require__) {
|
|
378
450
|
|
|
379
451
|
"use strict";
|
|
@@ -387,11 +459,11 @@ var React = __webpack_require__(1);
|
|
|
387
459
|
|
|
388
460
|
var styled_components_1 = __webpack_require__(4);
|
|
389
461
|
|
|
390
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
462
|
+
var SizeAwareWrapper_1 = __webpack_require__(17);
|
|
391
463
|
|
|
392
464
|
var style_1 = __webpack_require__(13);
|
|
393
465
|
|
|
394
|
-
var colorUtils_1 = __webpack_require__(
|
|
466
|
+
var colorUtils_1 = __webpack_require__(11);
|
|
395
467
|
|
|
396
468
|
var Item = styled_components_1.default.div.attrs(function (_ref) {
|
|
397
469
|
var width = _ref.width;
|
|
@@ -467,37 +539,6 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
467
539
|
|
|
468
540
|
exports.default = withFixedSizeContainer;
|
|
469
541
|
|
|
470
|
-
/***/ }),
|
|
471
|
-
/* 12 */
|
|
472
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
473
|
-
|
|
474
|
-
"use strict";
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
Object.defineProperty(exports, "__esModule", {
|
|
478
|
-
value: true
|
|
479
|
-
});
|
|
480
|
-
exports.extendStaticWrapperProps = void 0;
|
|
481
|
-
/**
|
|
482
|
-
* @method extendStaticWrapperProps
|
|
483
|
-
* @param {Object} props
|
|
484
|
-
* @param {DashboardVizType} props.Wrapper
|
|
485
|
-
* @param {DashboardVizType} props.Visualization
|
|
486
|
-
*/
|
|
487
|
-
|
|
488
|
-
var extendStaticWrapperProps = function extendStaticWrapperProps(_ref) {
|
|
489
|
-
var Wrapper = _ref.Wrapper,
|
|
490
|
-
Visualization = _ref.Visualization;
|
|
491
|
-
var extendProperties = ['propTypes', 'defaultProps', 'config'];
|
|
492
|
-
extendProperties.forEach(function (prop) {
|
|
493
|
-
if (Visualization[prop]) {
|
|
494
|
-
Wrapper[prop] = Visualization[prop];
|
|
495
|
-
}
|
|
496
|
-
});
|
|
497
|
-
};
|
|
498
|
-
|
|
499
|
-
exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
500
|
-
|
|
501
542
|
/***/ }),
|
|
502
543
|
/* 13 */
|
|
503
544
|
/***/ (function(module, exports) {
|
|
@@ -518,13 +559,13 @@ module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
|
518
559
|
module.exports = require("@babel/runtime/helpers/createClass");
|
|
519
560
|
|
|
520
561
|
/***/ }),
|
|
521
|
-
/* 17
|
|
522
|
-
/* 18 */
|
|
562
|
+
/* 17 */
|
|
523
563
|
/***/ (function(module, exports) {
|
|
524
564
|
|
|
525
565
|
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
526
566
|
|
|
527
567
|
/***/ }),
|
|
568
|
+
/* 18 */,
|
|
528
569
|
/* 19 */
|
|
529
570
|
/***/ (function(module, exports) {
|
|
530
571
|
|
|
@@ -538,12 +579,24 @@ module.exports = require("@splunk/themes/pick");
|
|
|
538
579
|
|
|
539
580
|
/***/ }),
|
|
540
581
|
/* 21 */
|
|
582
|
+
/***/ (function(module, exports) {
|
|
583
|
+
|
|
584
|
+
module.exports = require("@splunk/visualizations-shared/numberUtils");
|
|
585
|
+
|
|
586
|
+
/***/ }),
|
|
587
|
+
/* 22 */
|
|
588
|
+
/***/ (function(module, exports) {
|
|
589
|
+
|
|
590
|
+
module.exports = require("@babel/runtime/helpers/typeof");
|
|
591
|
+
|
|
592
|
+
/***/ }),
|
|
593
|
+
/* 23 */
|
|
541
594
|
/***/ (function(module, exports, __webpack_require__) {
|
|
542
595
|
|
|
543
596
|
"use strict";
|
|
544
597
|
|
|
545
598
|
|
|
546
|
-
var _defineProperty = __webpack_require__(
|
|
599
|
+
var _defineProperty = __webpack_require__(7);
|
|
547
600
|
|
|
548
601
|
Object.defineProperty(exports, "__esModule", {
|
|
549
602
|
value: true
|
|
@@ -554,7 +607,7 @@ var T = __webpack_require__(0);
|
|
|
554
607
|
|
|
555
608
|
var lodash_1 = __webpack_require__(2);
|
|
556
609
|
|
|
557
|
-
var DataSource_1 = __webpack_require__(
|
|
610
|
+
var DataSource_1 = __webpack_require__(33);
|
|
558
611
|
|
|
559
612
|
exports.SortParamsPropTypes = T.shape({
|
|
560
613
|
currentSortKey: T.string,
|
|
@@ -607,7 +660,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
607
660
|
exports.getSortingParams = getSortingParams;
|
|
608
661
|
|
|
609
662
|
/***/ }),
|
|
610
|
-
/*
|
|
663
|
+
/* 24 */
|
|
611
664
|
/***/ (function(module, exports, __webpack_require__) {
|
|
612
665
|
|
|
613
666
|
"use strict";
|
|
@@ -671,7 +724,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
671
724
|
exports.getPaginationParams = getPaginationParams;
|
|
672
725
|
|
|
673
726
|
/***/ }),
|
|
674
|
-
/*
|
|
727
|
+
/* 25 */
|
|
675
728
|
/***/ (function(module, exports, __webpack_require__) {
|
|
676
729
|
|
|
677
730
|
"use strict";
|
|
@@ -690,9 +743,9 @@ var lodash_1 = __webpack_require__(2);
|
|
|
690
743
|
|
|
691
744
|
var i18n_1 = __webpack_require__(3);
|
|
692
745
|
|
|
693
|
-
var Message_1 = __webpack_require__(
|
|
746
|
+
var Message_1 = __webpack_require__(9);
|
|
694
747
|
|
|
695
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
748
|
+
var FixedSizeContainer_1 = __webpack_require__(12);
|
|
696
749
|
/**
|
|
697
750
|
* @method shouldShowIconPlaceholder
|
|
698
751
|
* @param {object} dataSources
|
|
@@ -715,6 +768,7 @@ var propTypes = {
|
|
|
715
768
|
icon: T.func,
|
|
716
769
|
width: T.oneOfType([T.string, T.number]),
|
|
717
770
|
height: T.oneOfType([T.string, T.number]),
|
|
771
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
718
772
|
backgroundColor: T.string
|
|
719
773
|
};
|
|
720
774
|
/**
|
|
@@ -758,13 +812,7 @@ IconPlaceholder.defaultProps = {
|
|
|
758
812
|
exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
759
813
|
|
|
760
814
|
/***/ }),
|
|
761
|
-
/*
|
|
762
|
-
/***/ (function(module, exports) {
|
|
763
|
-
|
|
764
|
-
module.exports = require("@splunk/visualizations-shared/numberUtils");
|
|
765
|
-
|
|
766
|
-
/***/ }),
|
|
767
|
-
/* 25 */
|
|
815
|
+
/* 26 */
|
|
768
816
|
/***/ (function(module, exports, __webpack_require__) {
|
|
769
817
|
|
|
770
818
|
"use strict";
|
|
@@ -787,10 +835,12 @@ var VizCategory;
|
|
|
787
835
|
VizCategory["SHAPES"] = "Shapes";
|
|
788
836
|
VizCategory["MISC"] = "misc";
|
|
789
837
|
VizCategory["FLOW"] = "Flow";
|
|
838
|
+
VizCategory["CORRELATION"] = "Correlation";
|
|
839
|
+
VizCategory["SPATIAL"] = "Spatial";
|
|
790
840
|
})(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
|
|
791
841
|
|
|
792
842
|
/***/ }),
|
|
793
|
-
/*
|
|
843
|
+
/* 27 */
|
|
794
844
|
/***/ (function(module, exports, __webpack_require__) {
|
|
795
845
|
|
|
796
846
|
"use strict";
|
|
@@ -804,31 +854,33 @@ var React = __webpack_require__(1);
|
|
|
804
854
|
|
|
805
855
|
var lodash_1 = __webpack_require__(2);
|
|
806
856
|
|
|
807
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
857
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(28);
|
|
808
858
|
|
|
809
|
-
var Options_1 = __webpack_require__(
|
|
859
|
+
var Options_1 = __webpack_require__(29);
|
|
810
860
|
|
|
811
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
861
|
+
var SanitizeProps_1 = __webpack_require__(30);
|
|
812
862
|
|
|
813
863
|
var styled_components_1 = __webpack_require__(4);
|
|
814
864
|
|
|
815
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
865
|
+
var SplunkVisualization_1 = __webpack_require__(31);
|
|
816
866
|
|
|
817
867
|
var VizBehavior_1 = __webpack_require__(5);
|
|
818
868
|
|
|
819
|
-
var getSorting_1 = __webpack_require__(
|
|
869
|
+
var getSorting_1 = __webpack_require__(23);
|
|
870
|
+
|
|
871
|
+
var getPagination_1 = __webpack_require__(24);
|
|
820
872
|
|
|
821
|
-
var
|
|
873
|
+
var useDeepMemo_1 = __webpack_require__(34);
|
|
822
874
|
|
|
823
|
-
var
|
|
875
|
+
var JSONSchemaUtils_1 = __webpack_require__(35);
|
|
824
876
|
|
|
825
|
-
var
|
|
877
|
+
var MissingPropsMessage_1 = __webpack_require__(36);
|
|
826
878
|
|
|
827
|
-
var
|
|
879
|
+
var withEditModeCover_1 = __webpack_require__(37);
|
|
828
880
|
|
|
829
|
-
var
|
|
881
|
+
var withPlaceholder_1 = __webpack_require__(38);
|
|
830
882
|
|
|
831
|
-
var
|
|
883
|
+
var hocUtils_1 = __webpack_require__(8);
|
|
832
884
|
/**
|
|
833
885
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
834
886
|
* @param {DashboardVizOpts} opts
|
|
@@ -881,9 +933,10 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
881
933
|
try {
|
|
882
934
|
return Options_1.Options.evaluate({
|
|
883
935
|
context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
|
|
884
|
-
options:
|
|
936
|
+
options: hocUtils_1.deepMergeWithArrayOverrides({}, options, defaultOptions)
|
|
885
937
|
}, dataSources, themeFunc);
|
|
886
938
|
} catch (e) {
|
|
939
|
+
// eslint-disable-next-line no-console
|
|
887
940
|
console.error("unexpected error evaluating options: + ".concat(e.message));
|
|
888
941
|
return {};
|
|
889
942
|
}
|
|
@@ -924,7 +977,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
924
977
|
|
|
925
978
|
if (Array.isArray(payloadKeys) && payloadKeys.length) {
|
|
926
979
|
payloadKeys.forEach(function (p) {
|
|
927
|
-
|
|
980
|
+
payload[p] = evaluatedOptions[p];
|
|
928
981
|
});
|
|
929
982
|
}
|
|
930
983
|
|
|
@@ -1010,31 +1063,31 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1010
1063
|
exports.default = withDashboardViz;
|
|
1011
1064
|
|
|
1012
1065
|
/***/ }),
|
|
1013
|
-
/*
|
|
1066
|
+
/* 28 */
|
|
1014
1067
|
/***/ (function(module, exports) {
|
|
1015
1068
|
|
|
1016
1069
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1017
1070
|
|
|
1018
1071
|
/***/ }),
|
|
1019
|
-
/*
|
|
1072
|
+
/* 29 */
|
|
1020
1073
|
/***/ (function(module, exports) {
|
|
1021
1074
|
|
|
1022
1075
|
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1023
1076
|
|
|
1024
1077
|
/***/ }),
|
|
1025
|
-
/*
|
|
1078
|
+
/* 30 */
|
|
1026
1079
|
/***/ (function(module, exports) {
|
|
1027
1080
|
|
|
1028
1081
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
1029
1082
|
|
|
1030
1083
|
/***/ }),
|
|
1031
|
-
/*
|
|
1084
|
+
/* 31 */
|
|
1032
1085
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1033
1086
|
|
|
1034
1087
|
"use strict";
|
|
1035
1088
|
|
|
1036
1089
|
|
|
1037
|
-
var _classCallCheck = __webpack_require__(
|
|
1090
|
+
var _classCallCheck = __webpack_require__(10);
|
|
1038
1091
|
|
|
1039
1092
|
Object.defineProperty(exports, "__esModule", {
|
|
1040
1093
|
value: true
|
|
@@ -1046,7 +1099,7 @@ var T = __webpack_require__(0);
|
|
|
1046
1099
|
|
|
1047
1100
|
var lodash_1 = __webpack_require__(2);
|
|
1048
1101
|
|
|
1049
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
1102
|
+
var VizActionHandler_1 = __webpack_require__(32); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
1050
1103
|
|
|
1051
1104
|
|
|
1052
1105
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -1179,13 +1232,13 @@ SplunkVisualization.defaultProps = {
|
|
|
1179
1232
|
exports.default = SplunkVisualization;
|
|
1180
1233
|
|
|
1181
1234
|
/***/ }),
|
|
1182
|
-
/*
|
|
1235
|
+
/* 32 */
|
|
1183
1236
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1184
1237
|
|
|
1185
1238
|
"use strict";
|
|
1186
1239
|
|
|
1187
1240
|
|
|
1188
|
-
var _classCallCheck = __webpack_require__(
|
|
1241
|
+
var _classCallCheck = __webpack_require__(10);
|
|
1189
1242
|
|
|
1190
1243
|
var _createClass = __webpack_require__(16);
|
|
1191
1244
|
|
|
@@ -1201,12 +1254,12 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
|
|
|
1201
1254
|
|
|
1202
1255
|
_createClass(DefaultVizActionHandler, [{
|
|
1203
1256
|
key: "focus",
|
|
1204
|
-
value: function focus() {//noop
|
|
1257
|
+
value: function focus() {// noop
|
|
1205
1258
|
}
|
|
1206
1259
|
}, {
|
|
1207
1260
|
key: "snapshot",
|
|
1208
1261
|
value: function snapshot() {
|
|
1209
|
-
return null; //noop
|
|
1262
|
+
return null; // noop
|
|
1210
1263
|
}
|
|
1211
1264
|
}]);
|
|
1212
1265
|
|
|
@@ -1216,7 +1269,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
|
|
|
1216
1269
|
exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
1217
1270
|
|
|
1218
1271
|
/***/ }),
|
|
1219
|
-
/*
|
|
1272
|
+
/* 33 */
|
|
1220
1273
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1221
1274
|
|
|
1222
1275
|
"use strict";
|
|
@@ -1229,7 +1282,7 @@ exports.validSortDirs = void 0;
|
|
|
1229
1282
|
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
1230
1283
|
|
|
1231
1284
|
/***/ }),
|
|
1232
|
-
/*
|
|
1285
|
+
/* 34 */
|
|
1233
1286
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1234
1287
|
|
|
1235
1288
|
"use strict";
|
|
@@ -1274,7 +1327,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
|
1274
1327
|
exports.useDeepMemo = useDeepMemo;
|
|
1275
1328
|
|
|
1276
1329
|
/***/ }),
|
|
1277
|
-
/*
|
|
1330
|
+
/* 35 */
|
|
1278
1331
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1279
1332
|
|
|
1280
1333
|
"use strict";
|
|
@@ -1307,7 +1360,7 @@ var pickFieldFromJSONSchema = function pickFieldFromJSONSchema(optionsSchema) {
|
|
|
1307
1360
|
exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
|
|
1308
1361
|
|
|
1309
1362
|
/***/ }),
|
|
1310
|
-
/*
|
|
1363
|
+
/* 36 */
|
|
1311
1364
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1312
1365
|
|
|
1313
1366
|
"use strict";
|
|
@@ -1324,9 +1377,9 @@ var T = __webpack_require__(0);
|
|
|
1324
1377
|
|
|
1325
1378
|
var i18n_1 = __webpack_require__(3);
|
|
1326
1379
|
|
|
1327
|
-
var Message_1 = __webpack_require__(
|
|
1380
|
+
var Message_1 = __webpack_require__(9);
|
|
1328
1381
|
|
|
1329
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
1382
|
+
var FixedSizeContainer_1 = __webpack_require__(12);
|
|
1330
1383
|
/**
|
|
1331
1384
|
* @method isMissing
|
|
1332
1385
|
* @param {any} v
|
|
@@ -1356,6 +1409,7 @@ exports.missingKeys = missingKeys;
|
|
|
1356
1409
|
var propTypes = {
|
|
1357
1410
|
width: T.oneOfType([T.string, T.number]),
|
|
1358
1411
|
height: T.oneOfType([T.string, T.number]),
|
|
1412
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
1359
1413
|
backgroundColor: T.string,
|
|
1360
1414
|
missingProps: T.arrayOf(T.string)
|
|
1361
1415
|
};
|
|
@@ -1386,7 +1440,7 @@ exports.MissingPropsMessage.defaultProps = {
|
|
|
1386
1440
|
exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
1387
1441
|
|
|
1388
1442
|
/***/ }),
|
|
1389
|
-
/*
|
|
1443
|
+
/* 37 */
|
|
1390
1444
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1391
1445
|
|
|
1392
1446
|
"use strict";
|
|
@@ -1400,7 +1454,7 @@ var React = __webpack_require__(1);
|
|
|
1400
1454
|
|
|
1401
1455
|
var styled_components_1 = __webpack_require__(4);
|
|
1402
1456
|
|
|
1403
|
-
var hocUtils_1 = __webpack_require__(
|
|
1457
|
+
var hocUtils_1 = __webpack_require__(8);
|
|
1404
1458
|
|
|
1405
1459
|
var Cover = styled_components_1.default.div.withConfig({
|
|
1406
1460
|
displayName: "withEditModeCover__Cover",
|
|
@@ -1435,7 +1489,7 @@ var withEditModeCover = function withEditModeCover(Visualization) {
|
|
|
1435
1489
|
exports.default = withEditModeCover;
|
|
1436
1490
|
|
|
1437
1491
|
/***/ }),
|
|
1438
|
-
/*
|
|
1492
|
+
/* 38 */
|
|
1439
1493
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1440
1494
|
|
|
1441
1495
|
"use strict";
|
|
@@ -1447,13 +1501,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1447
1501
|
|
|
1448
1502
|
var React = __webpack_require__(1);
|
|
1449
1503
|
|
|
1450
|
-
var colorUtils_1 = __webpack_require__(
|
|
1504
|
+
var colorUtils_1 = __webpack_require__(11);
|
|
1451
1505
|
|
|
1452
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
1506
|
+
var IconPlaceholder_1 = __webpack_require__(25);
|
|
1453
1507
|
|
|
1454
1508
|
var VizBehavior_1 = __webpack_require__(5);
|
|
1455
1509
|
|
|
1456
|
-
var hocUtils_1 = __webpack_require__(
|
|
1510
|
+
var hocUtils_1 = __webpack_require__(8);
|
|
1457
1511
|
|
|
1458
1512
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
1459
1513
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -1493,12 +1547,6 @@ var withPlaceholder = function withPlaceholder(Visualization) {
|
|
|
1493
1547
|
|
|
1494
1548
|
exports.default = withPlaceholder;
|
|
1495
1549
|
|
|
1496
|
-
/***/ }),
|
|
1497
|
-
/* 38 */
|
|
1498
|
-
/***/ (function(module, exports) {
|
|
1499
|
-
|
|
1500
|
-
module.exports = require("@splunk/visualizations-shared/colorConstants");
|
|
1501
|
-
|
|
1502
1550
|
/***/ }),
|
|
1503
1551
|
/* 39 */
|
|
1504
1552
|
/***/ (function(module, exports) {
|
|
@@ -1509,19 +1557,48 @@ module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
|
1509
1557
|
/* 40 */
|
|
1510
1558
|
/***/ (function(module, exports) {
|
|
1511
1559
|
|
|
1512
|
-
module.exports = require("@splunk/
|
|
1560
|
+
module.exports = require("@splunk/visualizations-shared/colorConstants");
|
|
1513
1561
|
|
|
1514
1562
|
/***/ }),
|
|
1515
1563
|
/* 41 */,
|
|
1516
|
-
/* 42
|
|
1564
|
+
/* 42 */,
|
|
1565
|
+
/* 43 */
|
|
1517
1566
|
/***/ (function(module, exports) {
|
|
1518
1567
|
|
|
1519
1568
|
module.exports = require("@babel/runtime/helpers/extends");
|
|
1520
1569
|
|
|
1521
1570
|
/***/ }),
|
|
1522
|
-
/* 43 */,
|
|
1523
1571
|
/* 44 */,
|
|
1524
|
-
/* 45
|
|
1572
|
+
/* 45 */
|
|
1573
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1574
|
+
|
|
1575
|
+
"use strict";
|
|
1576
|
+
|
|
1577
|
+
|
|
1578
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1579
|
+
value: true
|
|
1580
|
+
});
|
|
1581
|
+
|
|
1582
|
+
var i18n_1 = __webpack_require__(3);
|
|
1583
|
+
|
|
1584
|
+
var background = function background(_ref) {
|
|
1585
|
+
var label = _ref.label,
|
|
1586
|
+
themes = _ref.themes,
|
|
1587
|
+
labelPosition = _ref.labelPosition;
|
|
1588
|
+
return [{
|
|
1589
|
+
label: i18n_1._(label || 'Background'),
|
|
1590
|
+
option: 'backgroundColor',
|
|
1591
|
+
editor: 'editor.color',
|
|
1592
|
+
editorProps: {
|
|
1593
|
+
labelPosition: labelPosition || 'top',
|
|
1594
|
+
themes: themes
|
|
1595
|
+
}
|
|
1596
|
+
}];
|
|
1597
|
+
};
|
|
1598
|
+
|
|
1599
|
+
exports.default = background;
|
|
1600
|
+
|
|
1601
|
+
/***/ }),
|
|
1525
1602
|
/* 46 */,
|
|
1526
1603
|
/* 47 */,
|
|
1527
1604
|
/* 48 */,
|
|
@@ -1547,1739 +1624,1887 @@ module.exports = require("@babel/runtime/helpers/extends");
|
|
|
1547
1624
|
/* 68 */,
|
|
1548
1625
|
/* 69 */,
|
|
1549
1626
|
/* 70 */,
|
|
1550
|
-
/* 71
|
|
1551
|
-
/* 72 */,
|
|
1552
|
-
/* 73 */,
|
|
1553
|
-
/* 74 */,
|
|
1554
|
-
/* 75 */,
|
|
1555
|
-
/* 76 */,
|
|
1556
|
-
/* 77 */,
|
|
1557
|
-
/* 78 */,
|
|
1558
|
-
/* 79 */,
|
|
1559
|
-
/* 80 */,
|
|
1560
|
-
/* 81 */,
|
|
1561
|
-
/* 82 */,
|
|
1562
|
-
/* 83 */,
|
|
1563
|
-
/* 84 */,
|
|
1564
|
-
/* 85 */,
|
|
1565
|
-
/* 86 */,
|
|
1566
|
-
/* 87 */,
|
|
1567
|
-
/* 88 */,
|
|
1568
|
-
/* 89 */,
|
|
1569
|
-
/* 90 */,
|
|
1570
|
-
/* 91 */,
|
|
1571
|
-
/* 92 */,
|
|
1572
|
-
/* 93 */,
|
|
1573
|
-
/* 94 */,
|
|
1574
|
-
/* 95 */,
|
|
1575
|
-
/* 96 */,
|
|
1576
|
-
/* 97 */,
|
|
1577
|
-
/* 98 */,
|
|
1578
|
-
/* 99 */,
|
|
1579
|
-
/* 100 */,
|
|
1580
|
-
/* 101 */
|
|
1581
|
-
/***/ (function(module, exports) {
|
|
1582
|
-
|
|
1583
|
-
module.exports = require("lodash/uniqBy");
|
|
1584
|
-
|
|
1585
|
-
/***/ }),
|
|
1586
|
-
/* 102 */,
|
|
1587
|
-
/* 103 */,
|
|
1588
|
-
/* 104 */,
|
|
1589
|
-
/* 105 */,
|
|
1590
|
-
/* 106 */,
|
|
1591
|
-
/* 107 */,
|
|
1592
|
-
/* 108 */,
|
|
1593
|
-
/* 109 */,
|
|
1594
|
-
/* 110 */,
|
|
1595
|
-
/* 111 */,
|
|
1596
|
-
/* 112 */,
|
|
1597
|
-
/* 113 */,
|
|
1598
|
-
/* 114 */,
|
|
1599
|
-
/* 115 */,
|
|
1600
|
-
/* 116 */,
|
|
1601
|
-
/* 117 */,
|
|
1602
|
-
/* 118 */,
|
|
1603
|
-
/* 119 */,
|
|
1604
|
-
/* 120 */
|
|
1627
|
+
/* 71 */
|
|
1605
1628
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1606
1629
|
|
|
1607
1630
|
"use strict";
|
|
1608
1631
|
|
|
1609
1632
|
|
|
1610
|
-
var
|
|
1611
|
-
var t = {};
|
|
1612
|
-
|
|
1613
|
-
for (var p in s) {
|
|
1614
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
1615
|
-
}
|
|
1616
|
-
|
|
1617
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
1618
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
1619
|
-
}
|
|
1620
|
-
return t;
|
|
1621
|
-
};
|
|
1633
|
+
var _toConsumableArray = __webpack_require__(39);
|
|
1622
1634
|
|
|
1623
1635
|
Object.defineProperty(exports, "__esModule", {
|
|
1624
1636
|
value: true
|
|
1625
1637
|
});
|
|
1626
|
-
exports.
|
|
1638
|
+
exports.convertToGaugeProperties = exports.mapValueLabelDisplay = exports.mapToOldKey = exports.getGradientDimensions = exports.getGradientStops = exports.getGradientStopColors = exports.getGradientStopOffsets = exports.getGaugeRange = exports.validateRanges = exports.getSortedRanges = exports.getMarkerGaugeValueMarkerPositions = exports.getMarkerBarDimensions = exports.getFillerGaugeValueMarkerPositions = exports.getFillBarDimensions = exports.getGaugeBarHeight = exports.getGaugeBarWidth = exports.getGaugeBarStartPositions = exports.getGaugeBarLength = exports.assignGaugeColor = exports.getGaugeDimensions = exports.getGaugeStartPosition = exports.getGaugeLength = exports.getGaugeHeight = exports.getGaugeWidth = exports.FILL_THICKNESS = exports.GAUGE_THICKNESS = void 0;
|
|
1627
1639
|
|
|
1628
1640
|
var lodash_1 = __webpack_require__(2);
|
|
1629
1641
|
|
|
1630
|
-
var
|
|
1642
|
+
var colorConstants_1 = __webpack_require__(40);
|
|
1631
1643
|
|
|
1632
|
-
var
|
|
1644
|
+
var i18n_1 = __webpack_require__(3);
|
|
1633
1645
|
|
|
1634
|
-
exports.
|
|
1646
|
+
exports.GAUGE_THICKNESS = 50;
|
|
1647
|
+
exports.FILL_THICKNESS = 38;
|
|
1648
|
+
var GRADIENT_STOP_OFFSET_MIN = 0;
|
|
1649
|
+
var GRADIENT_STOP_OFFSET_MAX = 100;
|
|
1650
|
+
/**
|
|
1651
|
+
* get width for the whole gauge viz for horizontal or vertical view
|
|
1652
|
+
* @method getGaugeWidth
|
|
1653
|
+
* @param {Object} input
|
|
1654
|
+
* @param {Number} containerWidth
|
|
1655
|
+
* @param {String} orientation
|
|
1656
|
+
* @return {Number} width
|
|
1657
|
+
*/
|
|
1635
1658
|
|
|
1636
|
-
var
|
|
1659
|
+
var getGaugeWidth = function getGaugeWidth(_ref) {
|
|
1660
|
+
var containerWidth = _ref.containerWidth,
|
|
1661
|
+
orientation = _ref.orientation;
|
|
1662
|
+
return orientation === 'vertical' ? exports.GAUGE_THICKNESS : containerWidth * 0.8;
|
|
1663
|
+
};
|
|
1637
1664
|
|
|
1638
|
-
|
|
1665
|
+
exports.getGaugeWidth = getGaugeWidth;
|
|
1666
|
+
/**
|
|
1667
|
+
* get height for the whole gauge viz for horizontal or vertical view
|
|
1668
|
+
* @method getGaugeHeight
|
|
1669
|
+
* @param {Object} input
|
|
1670
|
+
* @param {Number} containerHeight
|
|
1671
|
+
* @param {String} orientation
|
|
1672
|
+
* @return {Number} height
|
|
1673
|
+
*/
|
|
1639
1674
|
|
|
1640
|
-
|
|
1641
|
-
var
|
|
1675
|
+
var getGaugeHeight = function getGaugeHeight(_ref2) {
|
|
1676
|
+
var containerHeight = _ref2.containerHeight,
|
|
1677
|
+
orientation = _ref2.orientation;
|
|
1678
|
+
return orientation === 'vertical' ? containerHeight * 0.8 : exports.GAUGE_THICKNESS;
|
|
1679
|
+
};
|
|
1642
1680
|
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1681
|
+
exports.getGaugeHeight = getGaugeHeight;
|
|
1682
|
+
/**
|
|
1683
|
+
* get how long the gauge shoud be.
|
|
1684
|
+
* In horizontal view, gauge length equals to gauge width. In vertical view, it equals to gauge height.
|
|
1685
|
+
* @method getGaugeLength
|
|
1686
|
+
* @param {Object} input
|
|
1687
|
+
* @param {Number} input.containerWidth
|
|
1688
|
+
* @param {Number} input.containerHeight
|
|
1689
|
+
* @param {String} input.orientation
|
|
1690
|
+
* @return {Number} gaugeLength
|
|
1691
|
+
*/
|
|
1646
1692
|
|
|
1647
|
-
|
|
1648
|
-
var
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
}
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
}, options), defaultColors);
|
|
1659
|
-
return computedProps;
|
|
1693
|
+
var getGaugeLength = function getGaugeLength(_ref3) {
|
|
1694
|
+
var containerWidth = _ref3.containerWidth,
|
|
1695
|
+
containerHeight = _ref3.containerHeight,
|
|
1696
|
+
orientation = _ref3.orientation;
|
|
1697
|
+
return orientation === 'vertical' ? exports.getGaugeHeight({
|
|
1698
|
+
containerHeight: containerHeight,
|
|
1699
|
+
orientation: orientation
|
|
1700
|
+
}) : exports.getGaugeWidth({
|
|
1701
|
+
containerWidth: containerWidth,
|
|
1702
|
+
orientation: orientation
|
|
1703
|
+
});
|
|
1660
1704
|
};
|
|
1661
1705
|
|
|
1662
|
-
exports.
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
}
|
|
1668
|
-
|
|
1706
|
+
exports.getGaugeLength = getGaugeLength;
|
|
1707
|
+
/**
|
|
1708
|
+
* get start x and y for rendering gauge
|
|
1709
|
+
* @method getGaugeStartPosition
|
|
1710
|
+
* @param {Object} input
|
|
1711
|
+
* @param {Number} containerWidth
|
|
1712
|
+
* @param {Number} containerHeight
|
|
1713
|
+
* @param {Number} gaugeLength
|
|
1714
|
+
* @param {String} orientation
|
|
1715
|
+
* @return {Object} position
|
|
1716
|
+
* @return {Number} position.gaugeStartX
|
|
1717
|
+
* @return {Number} position.gaugeStartY
|
|
1718
|
+
*/
|
|
1669
1719
|
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
/* 128 */,
|
|
1679
|
-
/* 129 */,
|
|
1680
|
-
/* 130 */,
|
|
1681
|
-
/* 131 */,
|
|
1682
|
-
/* 132 */,
|
|
1683
|
-
/* 133 */,
|
|
1684
|
-
/* 134 */,
|
|
1685
|
-
/* 135 */,
|
|
1686
|
-
/* 136 */,
|
|
1687
|
-
/* 137 */,
|
|
1688
|
-
/* 138 */,
|
|
1689
|
-
/* 139 */,
|
|
1690
|
-
/* 140 */,
|
|
1691
|
-
/* 141 */,
|
|
1692
|
-
/* 142 */,
|
|
1693
|
-
/* 143 */,
|
|
1694
|
-
/* 144 */,
|
|
1695
|
-
/* 145 */,
|
|
1696
|
-
/* 146 */,
|
|
1697
|
-
/* 147 */,
|
|
1698
|
-
/* 148 */,
|
|
1699
|
-
/* 149 */,
|
|
1700
|
-
/* 150 */,
|
|
1701
|
-
/* 151 */,
|
|
1702
|
-
/* 152 */,
|
|
1703
|
-
/* 153 */,
|
|
1704
|
-
/* 154 */,
|
|
1705
|
-
/* 155 */,
|
|
1706
|
-
/* 156 */,
|
|
1707
|
-
/* 157 */,
|
|
1708
|
-
/* 158 */,
|
|
1709
|
-
/* 159 */,
|
|
1710
|
-
/* 160 */,
|
|
1711
|
-
/* 161 */,
|
|
1712
|
-
/* 162 */,
|
|
1713
|
-
/* 163 */,
|
|
1714
|
-
/* 164 */,
|
|
1715
|
-
/* 165 */,
|
|
1716
|
-
/* 166 */,
|
|
1717
|
-
/* 167 */,
|
|
1718
|
-
/* 168 */,
|
|
1719
|
-
/* 169 */,
|
|
1720
|
-
/* 170 */,
|
|
1721
|
-
/* 171 */,
|
|
1722
|
-
/* 172 */,
|
|
1723
|
-
/* 173 */,
|
|
1724
|
-
/* 174 */,
|
|
1725
|
-
/* 175 */,
|
|
1726
|
-
/* 176 */,
|
|
1727
|
-
/* 177 */,
|
|
1728
|
-
/* 178 */,
|
|
1729
|
-
/* 179 */,
|
|
1730
|
-
/* 180 */,
|
|
1731
|
-
/* 181 */
|
|
1732
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1720
|
+
var getGaugeStartPosition = function getGaugeStartPosition(_ref4) {
|
|
1721
|
+
var containerWidth = _ref4.containerWidth,
|
|
1722
|
+
containerHeight = _ref4.containerHeight,
|
|
1723
|
+
gaugeLength = _ref4.gaugeLength,
|
|
1724
|
+
orientation = _ref4.orientation;
|
|
1725
|
+
// for horizontal view
|
|
1726
|
+
var gaugeStartX = (containerWidth - gaugeLength) / 2.0;
|
|
1727
|
+
var gaugeStartY = (containerHeight - exports.GAUGE_THICKNESS) / 2.0;
|
|
1733
1728
|
|
|
1734
|
-
|
|
1729
|
+
if (orientation === 'vertical') {
|
|
1730
|
+
gaugeStartX = (containerWidth - exports.GAUGE_THICKNESS) / 2.0;
|
|
1731
|
+
gaugeStartY = (containerHeight - gaugeLength) / 2.0;
|
|
1732
|
+
}
|
|
1735
1733
|
|
|
1734
|
+
return {
|
|
1735
|
+
gaugeStartX: gaugeStartX,
|
|
1736
|
+
gaugeStartY: gaugeStartY
|
|
1737
|
+
};
|
|
1738
|
+
};
|
|
1736
1739
|
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1740
|
+
exports.getGaugeStartPosition = getGaugeStartPosition;
|
|
1741
|
+
/**
|
|
1742
|
+
* get dimensions for the whole gauge viz,
|
|
1743
|
+
* which can be useful to calculate background bar and major ticks positions.
|
|
1744
|
+
* @method getGaugeDimensions
|
|
1745
|
+
* @param {Object} input
|
|
1746
|
+
* @param {Number} input.containerWidth
|
|
1747
|
+
* @param {Number} input.containerHeight
|
|
1748
|
+
* @param {String} input.orientation 'horizontal' or 'vertical'
|
|
1749
|
+
* @return {Object} gaugeDimensions
|
|
1750
|
+
* @return {Number} gaugeDimensions.gaugeLength how long the gauge shoud be in horizontal or vertical orientation.
|
|
1751
|
+
* @return {Number} gaugeDimensions.gaugeStartX start x to render gauge
|
|
1752
|
+
* @return {Number} gaugeDimensions.gaugeStartY start y to render gauge
|
|
1753
|
+
* @return {Number} gaugeDimensions.gaugeWidth natural width of gauge
|
|
1754
|
+
* @return {Number} gaugeDimensions.gaugeHeight natural height of gauge
|
|
1755
|
+
*/
|
|
1756
|
+
|
|
1757
|
+
var getGaugeDimensions = function getGaugeDimensions(_ref5) {
|
|
1758
|
+
var containerWidth = _ref5.containerWidth,
|
|
1759
|
+
containerHeight = _ref5.containerHeight,
|
|
1760
|
+
orientation = _ref5.orientation;
|
|
1761
|
+
var gaugeLength = exports.getGaugeLength({
|
|
1762
|
+
containerWidth: containerWidth,
|
|
1763
|
+
containerHeight: containerHeight,
|
|
1764
|
+
orientation: orientation
|
|
1744
1765
|
});
|
|
1745
|
-
} : function (o, m, k, k2) {
|
|
1746
|
-
if (k2 === undefined) k2 = k;
|
|
1747
|
-
o[k2] = m[k];
|
|
1748
|
-
});
|
|
1749
1766
|
|
|
1750
|
-
var
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1767
|
+
var _exports$getGaugeStar = exports.getGaugeStartPosition({
|
|
1768
|
+
containerWidth: containerWidth,
|
|
1769
|
+
containerHeight: containerHeight,
|
|
1770
|
+
gaugeLength: gaugeLength,
|
|
1771
|
+
orientation: orientation
|
|
1772
|
+
}),
|
|
1773
|
+
gaugeStartX = _exports$getGaugeStar.gaugeStartX,
|
|
1774
|
+
gaugeStartY = _exports$getGaugeStar.gaugeStartY;
|
|
1755
1775
|
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1776
|
+
var gaugeWidth = exports.getGaugeWidth({
|
|
1777
|
+
containerWidth: containerWidth,
|
|
1778
|
+
orientation: orientation
|
|
1779
|
+
});
|
|
1780
|
+
var gaugeHeight = exports.getGaugeHeight({
|
|
1781
|
+
containerHeight: containerHeight,
|
|
1782
|
+
orientation: orientation
|
|
1783
|
+
});
|
|
1784
|
+
return {
|
|
1785
|
+
gaugeLength: gaugeLength,
|
|
1786
|
+
gaugeStartX: gaugeStartX,
|
|
1787
|
+
gaugeStartY: gaugeStartY,
|
|
1788
|
+
gaugeWidth: gaugeWidth,
|
|
1789
|
+
gaugeHeight: gaugeHeight
|
|
1790
|
+
};
|
|
1791
|
+
};
|
|
1760
1792
|
|
|
1761
|
-
|
|
1793
|
+
exports.getGaugeDimensions = getGaugeDimensions;
|
|
1794
|
+
/**
|
|
1795
|
+
* if gaugeColor is not specified, auto assign a gauge color to the fill bar
|
|
1796
|
+
* based on how much percentage the value is taken between min and max
|
|
1797
|
+
* @method assignGaugeColor
|
|
1798
|
+
* @params
|
|
1799
|
+
* */
|
|
1762
1800
|
|
|
1763
|
-
var
|
|
1801
|
+
var assignGaugeColor = function assignGaugeColor(_ref6) {
|
|
1802
|
+
var value = _ref6.value,
|
|
1803
|
+
min = _ref6.min,
|
|
1804
|
+
max = _ref6.max;
|
|
1805
|
+
var rate = (value - min) / (max - min);
|
|
1764
1806
|
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
get: function get() {
|
|
1768
|
-
return MarkerGauge_1.default;
|
|
1807
|
+
if (rate <= 0.3) {
|
|
1808
|
+
return colorConstants_1.SEMANTIC_SUCCESS;
|
|
1769
1809
|
}
|
|
1770
|
-
});
|
|
1771
1810
|
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1811
|
+
if (rate > 0.3 && rate <= 0.6) {
|
|
1812
|
+
return colorConstants_1.SEMANTIC_WARNING;
|
|
1813
|
+
}
|
|
1775
1814
|
|
|
1776
|
-
|
|
1815
|
+
return colorConstants_1.SEMANTIC_ERROR;
|
|
1816
|
+
};
|
|
1777
1817
|
|
|
1818
|
+
exports.assignGaugeColor = assignGaugeColor;
|
|
1819
|
+
/**
|
|
1820
|
+
* get inner bar length in gauge
|
|
1821
|
+
* @method getGaugeBarLength
|
|
1822
|
+
* @param {Object} input
|
|
1823
|
+
* @param {Number} input.gaugeLength
|
|
1824
|
+
* @param {Number} input.value
|
|
1825
|
+
* @param {Number} input.min
|
|
1826
|
+
* @param {Number} input.max
|
|
1827
|
+
* @return {Number} gaugeBarLength
|
|
1828
|
+
*/
|
|
1778
1829
|
|
|
1779
|
-
var
|
|
1780
|
-
var
|
|
1830
|
+
var getGaugeBarLength = function getGaugeBarLength(_ref7) {
|
|
1831
|
+
var gaugeLength = _ref7.gaugeLength,
|
|
1832
|
+
value = _ref7.value,
|
|
1833
|
+
min = _ref7.min,
|
|
1834
|
+
max = _ref7.max;
|
|
1781
1835
|
|
|
1782
|
-
|
|
1783
|
-
|
|
1836
|
+
if (max < min) {
|
|
1837
|
+
return null;
|
|
1784
1838
|
}
|
|
1785
1839
|
|
|
1786
|
-
if (
|
|
1787
|
-
|
|
1840
|
+
if (value >= max) {
|
|
1841
|
+
return gaugeLength;
|
|
1788
1842
|
}
|
|
1789
|
-
return t;
|
|
1790
|
-
};
|
|
1791
|
-
|
|
1792
|
-
Object.defineProperty(exports, "__esModule", {
|
|
1793
|
-
value: true
|
|
1794
|
-
});
|
|
1795
1843
|
|
|
1796
|
-
|
|
1844
|
+
if (value < min) {
|
|
1845
|
+
return 0;
|
|
1846
|
+
}
|
|
1797
1847
|
|
|
1798
|
-
|
|
1848
|
+
return gaugeLength * (value - min) / (max - min);
|
|
1849
|
+
};
|
|
1799
1850
|
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1851
|
+
exports.getGaugeBarLength = getGaugeBarLength;
|
|
1852
|
+
/**
|
|
1853
|
+
* get x and y position for rendering inner bar in gauge
|
|
1854
|
+
* @method getGaugeBarStartPositions
|
|
1855
|
+
* @param {Object} input
|
|
1856
|
+
* @param {Number} input.gaugeStartX
|
|
1857
|
+
* @param {Number} input.gaugeStartY
|
|
1858
|
+
* @param {Number} input.gaugeWidth
|
|
1859
|
+
* @param {Number} input.gaugeHeight
|
|
1860
|
+
* @param {Number} input.gaugeBarLength
|
|
1861
|
+
* @param {String} input.orientation
|
|
1862
|
+
* @return {Object} position
|
|
1863
|
+
* @return {Number} position.gaugeBarX
|
|
1864
|
+
* @return {Number} position.gaugeBarY
|
|
1865
|
+
*/
|
|
1803
1866
|
|
|
1804
|
-
var
|
|
1867
|
+
var getGaugeBarStartPositions = function getGaugeBarStartPositions(_ref8) {
|
|
1868
|
+
var gaugeStartX = _ref8.gaugeStartX,
|
|
1869
|
+
gaugeStartY = _ref8.gaugeStartY,
|
|
1870
|
+
gaugeWidth = _ref8.gaugeWidth,
|
|
1871
|
+
gaugeHeight = _ref8.gaugeHeight,
|
|
1872
|
+
gaugeBarLength = _ref8.gaugeBarLength,
|
|
1873
|
+
orientation = _ref8.orientation;
|
|
1874
|
+
var gaugeBarX = gaugeStartX;
|
|
1875
|
+
var gaugeBarY = gaugeStartY;
|
|
1805
1876
|
|
|
1806
|
-
|
|
1877
|
+
if (orientation === 'vertical') {
|
|
1878
|
+
gaugeBarX += (gaugeWidth - exports.FILL_THICKNESS) / 2;
|
|
1879
|
+
gaugeBarY += gaugeHeight - gaugeBarLength;
|
|
1880
|
+
} else {
|
|
1881
|
+
gaugeBarY += (gaugeHeight - exports.FILL_THICKNESS) / 2;
|
|
1882
|
+
}
|
|
1807
1883
|
|
|
1808
|
-
|
|
1884
|
+
return {
|
|
1885
|
+
gaugeBarX: gaugeBarX,
|
|
1886
|
+
gaugeBarY: gaugeBarY
|
|
1887
|
+
};
|
|
1888
|
+
};
|
|
1809
1889
|
|
|
1810
|
-
|
|
1890
|
+
exports.getGaugeBarStartPositions = getGaugeBarStartPositions;
|
|
1891
|
+
/**
|
|
1892
|
+
* get width of inner bar in gauge
|
|
1893
|
+
* @method getGaugeBarWidth
|
|
1894
|
+
* @param {Object} input
|
|
1895
|
+
* @param {Number} input.gaugeBarLength
|
|
1896
|
+
* @param {String} orientation
|
|
1897
|
+
* @return {Number} gaugeBarWidth
|
|
1898
|
+
*/
|
|
1811
1899
|
|
|
1812
|
-
var
|
|
1900
|
+
var getGaugeBarWidth = function getGaugeBarWidth(_ref9) {
|
|
1901
|
+
var gaugeBarLength = _ref9.gaugeBarLength,
|
|
1902
|
+
orientation = _ref9.orientation;
|
|
1903
|
+
return orientation === 'vertical' ? exports.FILL_THICKNESS : gaugeBarLength;
|
|
1904
|
+
};
|
|
1813
1905
|
|
|
1814
|
-
|
|
1906
|
+
exports.getGaugeBarWidth = getGaugeBarWidth;
|
|
1907
|
+
/**
|
|
1908
|
+
* get height of inner bar in gauge
|
|
1909
|
+
* @method getGaugeBarWidth
|
|
1910
|
+
* @param {Object} input
|
|
1911
|
+
* @param {Number} input.gaugeBarLength
|
|
1912
|
+
* @param {String} orientation
|
|
1913
|
+
* @return {Number} gaugeBarHeight
|
|
1914
|
+
*/
|
|
1815
1915
|
|
|
1816
|
-
var
|
|
1916
|
+
var getGaugeBarHeight = function getGaugeBarHeight(_ref10) {
|
|
1917
|
+
var gaugeBarLength = _ref10.gaugeBarLength,
|
|
1918
|
+
orientation = _ref10.orientation;
|
|
1919
|
+
return orientation === 'vertical' ? gaugeBarLength : exports.FILL_THICKNESS;
|
|
1920
|
+
};
|
|
1817
1921
|
|
|
1818
|
-
|
|
1922
|
+
exports.getGaugeBarHeight = getGaugeBarHeight;
|
|
1923
|
+
/**
|
|
1924
|
+
* get dimensions for the fill bar in the gauge
|
|
1925
|
+
* @method getFillBarDimensions
|
|
1926
|
+
* @param {Object} input
|
|
1927
|
+
* @param {Number} input.gaugeLength
|
|
1928
|
+
* @param {Number} input.gaugeStartX
|
|
1929
|
+
* @param {Number} input.gaugeStartY
|
|
1930
|
+
* @param {Number} input.gaugeWidth,
|
|
1931
|
+
* @param {Number} input.gaugeHeight,
|
|
1932
|
+
* @param {Number} input.value,
|
|
1933
|
+
* @param {Number} input.min,
|
|
1934
|
+
* @param {Number} input.max,
|
|
1935
|
+
* @param {String} input.orientation
|
|
1936
|
+
* @return {Object} fillBarDimensions
|
|
1937
|
+
* @return {Number} fillBarDimensions.fillBarLength
|
|
1938
|
+
* @return {Number} fillBarDimensions.fillBarX
|
|
1939
|
+
* @return {Number} fillBarDimensions.fillBarY
|
|
1940
|
+
* @return {Number} fillBarDimensions.fillBarWidth
|
|
1941
|
+
* @return {Number} fillBarDimensions.fillBarHeight
|
|
1942
|
+
*/
|
|
1819
1943
|
|
|
1820
|
-
var
|
|
1944
|
+
var getFillBarDimensions = function getFillBarDimensions(_ref11) {
|
|
1945
|
+
var gaugeLength = _ref11.gaugeLength,
|
|
1946
|
+
gaugeStartX = _ref11.gaugeStartX,
|
|
1947
|
+
gaugeStartY = _ref11.gaugeStartY,
|
|
1948
|
+
gaugeWidth = _ref11.gaugeWidth,
|
|
1949
|
+
gaugeHeight = _ref11.gaugeHeight,
|
|
1950
|
+
value = _ref11.value,
|
|
1951
|
+
min = _ref11.min,
|
|
1952
|
+
max = _ref11.max,
|
|
1953
|
+
orientation = _ref11.orientation;
|
|
1954
|
+
var gaugeBarLength = exports.getGaugeBarLength({
|
|
1955
|
+
gaugeLength: gaugeLength,
|
|
1956
|
+
value: value,
|
|
1957
|
+
max: max,
|
|
1958
|
+
min: min
|
|
1959
|
+
});
|
|
1821
1960
|
|
|
1822
|
-
var
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
})
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
return props.backgroundColor;
|
|
1833
|
-
});
|
|
1834
|
-
var MarkerGaugeWrapper = styled_components_1.default.div.withConfig({
|
|
1835
|
-
displayName: "MarkerGauge__MarkerGaugeWrapper",
|
|
1836
|
-
componentId: "sc-10z02va-1"
|
|
1837
|
-
})(["display:flex;justify-content:center;flex-direction:row;width:100%;height:100%;background-color:", ";"], function (props) {
|
|
1838
|
-
return props.backgroundColor;
|
|
1839
|
-
});
|
|
1840
|
-
var MarkerGaugeContainer = styled_components_1.default.div.withConfig({
|
|
1841
|
-
displayName: "MarkerGauge__MarkerGaugeContainer",
|
|
1842
|
-
componentId: "sc-10z02va-2"
|
|
1843
|
-
})(["overflow:hidden;position:relative;", ";"], function (props) {
|
|
1844
|
-
return style_1.toDimension(lodash_1.pick(props, ['width', 'height']));
|
|
1845
|
-
});
|
|
1846
|
-
var MarkerGaugeSVG = styled_components_1.default.svg.withConfig({
|
|
1847
|
-
displayName: "MarkerGauge__MarkerGaugeSVG",
|
|
1848
|
-
componentId: "sc-10z02va-3"
|
|
1849
|
-
})(["", ";"], function (props) {
|
|
1850
|
-
return style_1.toDimension(lodash_1.pick(props, ['width', 'height']));
|
|
1851
|
-
});
|
|
1852
|
-
var BackgroundBar = styled_components_1.default.rect.attrs({
|
|
1853
|
-
'data-test': 'background-bar-rect'
|
|
1854
|
-
}).withConfig({
|
|
1855
|
-
displayName: "MarkerGauge__BackgroundBar",
|
|
1856
|
-
componentId: "sc-10z02va-4"
|
|
1857
|
-
})(["fill:", ";"], function (props) {
|
|
1858
|
-
return props.fillColor;
|
|
1859
|
-
});
|
|
1860
|
-
var MarkerBar = styled_components_1.default.rect.attrs({
|
|
1861
|
-
'data-test': 'marker-bar-rect'
|
|
1862
|
-
}).withConfig({
|
|
1863
|
-
displayName: "MarkerGauge__MarkerBar",
|
|
1864
|
-
componentId: "sc-10z02va-5"
|
|
1865
|
-
})([""]);
|
|
1961
|
+
var _exports$getGaugeBarS = exports.getGaugeBarStartPositions({
|
|
1962
|
+
gaugeStartX: gaugeStartX,
|
|
1963
|
+
gaugeStartY: gaugeStartY,
|
|
1964
|
+
gaugeWidth: gaugeWidth,
|
|
1965
|
+
gaugeHeight: gaugeHeight,
|
|
1966
|
+
gaugeBarLength: gaugeBarLength,
|
|
1967
|
+
orientation: orientation
|
|
1968
|
+
}),
|
|
1969
|
+
fillBarX = _exports$getGaugeBarS.gaugeBarX,
|
|
1970
|
+
fillBarY = _exports$getGaugeBarS.gaugeBarY;
|
|
1866
1971
|
|
|
1867
|
-
var
|
|
1868
|
-
|
|
1972
|
+
var fillBarWidth = exports.getGaugeBarWidth({
|
|
1973
|
+
gaugeBarLength: gaugeBarLength,
|
|
1974
|
+
orientation: orientation
|
|
1975
|
+
});
|
|
1976
|
+
var fillBarHeight = exports.getGaugeBarHeight({
|
|
1977
|
+
gaugeBarLength: gaugeBarLength,
|
|
1978
|
+
orientation: orientation
|
|
1979
|
+
});
|
|
1980
|
+
return {
|
|
1981
|
+
fillBarLength: gaugeBarLength,
|
|
1982
|
+
fillBarX: fillBarX,
|
|
1983
|
+
fillBarY: fillBarY,
|
|
1984
|
+
fillBarWidth: fillBarWidth,
|
|
1985
|
+
fillBarHeight: fillBarHeight
|
|
1986
|
+
};
|
|
1987
|
+
};
|
|
1869
1988
|
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
majorTickStrokeColor = props.majorTickStrokeColor,
|
|
1884
|
-
valueMarkerFillColor = props.valueMarkerFillColor,
|
|
1885
|
-
valueMarkerLabelFillColor = props.valueMarkerLabelFillColor;
|
|
1886
|
-
/**
|
|
1887
|
-
* Standard error message render
|
|
1888
|
-
*/
|
|
1989
|
+
exports.getFillBarDimensions = getFillBarDimensions;
|
|
1990
|
+
/**
|
|
1991
|
+
* get position x and y for value marker in filler gauge
|
|
1992
|
+
* @method getFillerGaugeValueMarkerPositions
|
|
1993
|
+
* @param {Object} input
|
|
1994
|
+
* @param {Number} input.fillBarX
|
|
1995
|
+
* @param {Number} input.fillBarY
|
|
1996
|
+
* @param {Number} input.fillBarLength
|
|
1997
|
+
* @param {String} input.orientation
|
|
1998
|
+
* @return {Object} position
|
|
1999
|
+
* @return {Number} position.valueMarkerX
|
|
2000
|
+
* @return {Number} position.valueMarkerY
|
|
2001
|
+
*/
|
|
1889
2002
|
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
}, []);
|
|
1898
|
-
/**
|
|
1899
|
-
* Pre-calculate linearGradientId, error, sortedRanges, gauge range and linear gradient
|
|
1900
|
-
*/
|
|
2003
|
+
var getFillerGaugeValueMarkerPositions = function getFillerGaugeValueMarkerPositions(_ref12) {
|
|
2004
|
+
var fillBarX = _ref12.fillBarX,
|
|
2005
|
+
fillBarY = _ref12.fillBarY,
|
|
2006
|
+
fillBarLength = _ref12.fillBarLength,
|
|
2007
|
+
orientation = _ref12.orientation;
|
|
2008
|
+
var valueMarkerX = fillBarX;
|
|
2009
|
+
var valueMarkerY = fillBarY;
|
|
1901
2010
|
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
}
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
}
|
|
2011
|
+
if (orientation === 'vertical') {
|
|
2012
|
+
valueMarkerX -= (exports.GAUGE_THICKNESS - exports.FILL_THICKNESS) / 4;
|
|
2013
|
+
} else {
|
|
2014
|
+
valueMarkerX += fillBarLength;
|
|
2015
|
+
valueMarkerY -= (exports.GAUGE_THICKNESS - exports.FILL_THICKNESS) / 4;
|
|
2016
|
+
}
|
|
1908
2017
|
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
2018
|
+
return {
|
|
2019
|
+
valueMarkerX: valueMarkerX,
|
|
2020
|
+
valueMarkerY: valueMarkerY
|
|
2021
|
+
};
|
|
2022
|
+
};
|
|
1914
2023
|
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
2024
|
+
exports.getFillerGaugeValueMarkerPositions = getFillerGaugeValueMarkerPositions;
|
|
2025
|
+
/**
|
|
2026
|
+
* get dimensions for the marker bar in the gauge
|
|
2027
|
+
* @method getMarkerBarDimensions
|
|
2028
|
+
* @param {Object} input
|
|
2029
|
+
* @param {Number} input.gaugeLength
|
|
2030
|
+
* @param {Number} input.gaugeStartX
|
|
2031
|
+
* @param {Number} input.gaugeStartY
|
|
2032
|
+
* @param {Number} input.gaugeWidth,
|
|
2033
|
+
* @param {Number} input.gaugeHeight,
|
|
2034
|
+
* @param {String} input.orientation
|
|
2035
|
+
* @return {Object} markerBarDimensions
|
|
2036
|
+
* @return {Number} markerBarDimensions.markerBarLength
|
|
2037
|
+
* @return {Number} markerBarDimensions.markerBarX
|
|
2038
|
+
* @return {Number} markerBarDimensions.markerBarY
|
|
2039
|
+
* @return {Number} markerBarDimensions.markerBarWidth
|
|
2040
|
+
* @return {Number} markerBarDimensions.markerBarHeight
|
|
2041
|
+
*/
|
|
1923
2042
|
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
2043
|
+
var getMarkerBarDimensions = function getMarkerBarDimensions(_ref13) {
|
|
2044
|
+
var gaugeLength = _ref13.gaugeLength,
|
|
2045
|
+
gaugeStartX = _ref13.gaugeStartX,
|
|
2046
|
+
gaugeStartY = _ref13.gaugeStartY,
|
|
2047
|
+
gaugeWidth = _ref13.gaugeWidth,
|
|
2048
|
+
gaugeHeight = _ref13.gaugeHeight,
|
|
2049
|
+
orientation = _ref13.orientation;
|
|
2050
|
+
var gaugeBarLength = gaugeLength; // For marker gauge, inner marker bar spans the entire gauge
|
|
1929
2051
|
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
y1: y1,
|
|
1941
|
-
x2: x2,
|
|
1942
|
-
y2: y2
|
|
1943
|
-
}, linearGradientStops);
|
|
1944
|
-
}, [sortedRanges, orientation, linearGradientId]);
|
|
1945
|
-
/**
|
|
1946
|
-
* Calculate marker gauge dimensions
|
|
1947
|
-
*/
|
|
2052
|
+
var _exports$getGaugeBarS2 = exports.getGaugeBarStartPositions({
|
|
2053
|
+
gaugeStartX: gaugeStartX,
|
|
2054
|
+
gaugeStartY: gaugeStartY,
|
|
2055
|
+
gaugeWidth: gaugeWidth,
|
|
2056
|
+
gaugeHeight: gaugeHeight,
|
|
2057
|
+
gaugeBarLength: gaugeBarLength,
|
|
2058
|
+
orientation: orientation
|
|
2059
|
+
}),
|
|
2060
|
+
markerBarX = _exports$getGaugeBarS2.gaugeBarX,
|
|
2061
|
+
markerBarY = _exports$getGaugeBarS2.gaugeBarY;
|
|
1948
2062
|
|
|
1949
|
-
var
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
2063
|
+
var markerBarWidth = exports.getGaugeBarWidth({
|
|
2064
|
+
gaugeBarLength: gaugeBarLength,
|
|
2065
|
+
orientation: orientation
|
|
2066
|
+
});
|
|
2067
|
+
var markerBarHeight = exports.getGaugeBarHeight({
|
|
2068
|
+
gaugeBarLength: gaugeBarLength,
|
|
2069
|
+
orientation: orientation
|
|
2070
|
+
});
|
|
2071
|
+
return {
|
|
2072
|
+
markerBarLength: gaugeBarLength,
|
|
2073
|
+
markerBarX: markerBarX,
|
|
2074
|
+
markerBarY: markerBarY,
|
|
2075
|
+
markerBarWidth: markerBarWidth,
|
|
2076
|
+
markerBarHeight: markerBarHeight
|
|
2077
|
+
};
|
|
2078
|
+
};
|
|
1960
2079
|
|
|
1961
|
-
|
|
2080
|
+
exports.getMarkerBarDimensions = getMarkerBarDimensions;
|
|
2081
|
+
/**
|
|
2082
|
+
* get position x and y for value marker in marker gauge
|
|
2083
|
+
* @method getMarkerGaugeValueMarkerPositions
|
|
2084
|
+
* @param {Object} input
|
|
2085
|
+
* @param {Number} input.markerBarX
|
|
2086
|
+
* @param {Number} input.markerBarY
|
|
2087
|
+
* @param {Number} input.markerBarHeight
|
|
2088
|
+
* @param {Number} input.markerBarLength
|
|
2089
|
+
* @param {Number} input.value
|
|
2090
|
+
* @param {Number} input.min
|
|
2091
|
+
* @param {Number} input.max
|
|
2092
|
+
* @param {String} input.orientation
|
|
2093
|
+
* @return {Object} position
|
|
2094
|
+
* @return {Number} position.valueMarkerX
|
|
2095
|
+
* @return {Number} position.valueMarkerY
|
|
2096
|
+
*/
|
|
2097
|
+
|
|
2098
|
+
var getMarkerGaugeValueMarkerPositions = function getMarkerGaugeValueMarkerPositions(_ref14) {
|
|
2099
|
+
var markerBarX = _ref14.markerBarX,
|
|
2100
|
+
markerBarY = _ref14.markerBarY,
|
|
2101
|
+
markerBarHeight = _ref14.markerBarHeight,
|
|
2102
|
+
gaugeLength = _ref14.markerBarLength,
|
|
2103
|
+
orientation = _ref14.orientation,
|
|
2104
|
+
value = _ref14.value,
|
|
2105
|
+
min = _ref14.min,
|
|
2106
|
+
max = _ref14.max;
|
|
2107
|
+
var valueMarkerX = markerBarX;
|
|
2108
|
+
var valueMarkerY = markerBarY;
|
|
2109
|
+
|
|
2110
|
+
if (orientation === 'vertical') {
|
|
2111
|
+
valueMarkerY += markerBarHeight - exports.getGaugeBarLength({
|
|
1962
2112
|
gaugeLength: gaugeLength,
|
|
1963
|
-
gaugeStartX: gaugeStartX,
|
|
1964
|
-
gaugeStartY: gaugeStartY,
|
|
1965
|
-
gaugeWidth: gaugeWidth,
|
|
1966
|
-
gaugeHeight: gaugeHeight,
|
|
1967
2113
|
value: value,
|
|
1968
|
-
min: min,
|
|
1969
2114
|
max: max,
|
|
1970
|
-
|
|
1971
|
-
})
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
markerBarHeight = _gaugeUtils_1$getMark.markerBarHeight;
|
|
1977
|
-
|
|
1978
|
-
var _gaugeUtils_1$getMark2 = gaugeUtils_1.getMarkerGaugeValueMarkerPositions({
|
|
1979
|
-
markerBarX: markerBarX,
|
|
1980
|
-
markerBarY: markerBarY,
|
|
1981
|
-
markerBarHeight: markerBarHeight,
|
|
1982
|
-
markerBarLength: markerBarLength,
|
|
1983
|
-
orientation: orientation,
|
|
2115
|
+
min: min
|
|
2116
|
+
});
|
|
2117
|
+
valueMarkerX -= (exports.GAUGE_THICKNESS - exports.FILL_THICKNESS) / 4;
|
|
2118
|
+
} else {
|
|
2119
|
+
valueMarkerX += exports.getGaugeBarLength({
|
|
2120
|
+
gaugeLength: gaugeLength,
|
|
1984
2121
|
value: value,
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
})
|
|
1988
|
-
|
|
1989
|
-
|
|
2122
|
+
max: max,
|
|
2123
|
+
min: min
|
|
2124
|
+
});
|
|
2125
|
+
valueMarkerY -= (exports.GAUGE_THICKNESS - exports.FILL_THICKNESS) / 4;
|
|
2126
|
+
}
|
|
1990
2127
|
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
valueMarkerX: valueMarkerX,
|
|
1997
|
-
valueMarkerY: valueMarkerY,
|
|
1998
|
-
gaugeStartX: gaugeStartX,
|
|
1999
|
-
gaugeStartY: gaugeStartY,
|
|
2000
|
-
gaugeWidth: gaugeWidth,
|
|
2001
|
-
gaugeHeight: gaugeHeight
|
|
2002
|
-
};
|
|
2003
|
-
}, [orientation, value, min, max]);
|
|
2004
|
-
var renderVisualization = react_1.useCallback(function (_ref) {
|
|
2005
|
-
var containerWidth = _ref.width,
|
|
2006
|
-
containerHeight = _ref.height;
|
|
2128
|
+
return {
|
|
2129
|
+
valueMarkerX: valueMarkerX,
|
|
2130
|
+
valueMarkerY: valueMarkerY
|
|
2131
|
+
};
|
|
2132
|
+
};
|
|
2007
2133
|
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2134
|
+
exports.getMarkerGaugeValueMarkerPositions = getMarkerGaugeValueMarkerPositions;
|
|
2135
|
+
/**
|
|
2136
|
+
* sort the ranges in ascending order
|
|
2137
|
+
* @method getSortedRanges
|
|
2138
|
+
* @param {Array} ranges
|
|
2139
|
+
* @return {Array} sortedRanges
|
|
2140
|
+
*/
|
|
2013
2141
|
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2142
|
+
var getSortedRanges = function getSortedRanges(ranges) {
|
|
2143
|
+
return ranges.sort(function (a, b) {
|
|
2144
|
+
return a.from - b.from;
|
|
2145
|
+
});
|
|
2146
|
+
};
|
|
2017
2147
|
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
gaugeStartX = _calculateMarkerGauge.gaugeStartX,
|
|
2026
|
-
gaugeStartY = _calculateMarkerGauge.gaugeStartY,
|
|
2027
|
-
gaugeWidth = _calculateMarkerGauge.gaugeWidth,
|
|
2028
|
-
gaugeHeight = _calculateMarkerGauge.gaugeHeight;
|
|
2148
|
+
exports.getSortedRanges = getSortedRanges;
|
|
2149
|
+
/**
|
|
2150
|
+
* validate whether ranges prop is valid - continuous ranges, range.to < range.from, range.from != range.to
|
|
2151
|
+
* @method validateRanges
|
|
2152
|
+
* @param {Array} ranges
|
|
2153
|
+
* @return {String} error
|
|
2154
|
+
*/
|
|
2029
2155
|
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
majorTickStrokeColor: majorTickStrokeColor
|
|
2057
|
-
}), React.createElement(MarkerBar, {
|
|
2058
|
-
x: markerBarX,
|
|
2059
|
-
y: markerBarY,
|
|
2060
|
-
width: markerBarWidth,
|
|
2061
|
-
height: markerBarHeight,
|
|
2062
|
-
fill: "url(#".concat(linearGradientId, ")")
|
|
2063
|
-
}), React.createElement(GaugeValueMarker_1.default, {
|
|
2064
|
-
x: valueMarkerX,
|
|
2065
|
-
y: valueMarkerY,
|
|
2066
|
-
length: gaugeUtils_1.GAUGE_THICKNESS,
|
|
2067
|
-
min: min,
|
|
2068
|
-
max: max,
|
|
2069
|
-
value: value,
|
|
2070
|
-
orientation: orientation,
|
|
2071
|
-
showValue: showValue,
|
|
2072
|
-
usePercentageValue: usePercentageValue,
|
|
2073
|
-
valueMarkerFillColor: valueMarkerFillColor,
|
|
2074
|
-
valueMarkerLabelFillColor: valueMarkerLabelFillColor
|
|
2075
|
-
}))));
|
|
2076
|
-
}, [orientation, error, calculateMarkerGaugeDimensions, backgroundColor, linearGradient, fillColor, min, max, majorUnit, showLabels, usePercentageRange, majorTickFillColor, majorTickStrokeColor, linearGradientId, value, showValue, usePercentageValue, valueMarkerFillColor, valueMarkerLabelFillColor, errorMessage]);
|
|
2077
|
-
return React.createElement(Container, {
|
|
2078
|
-
width: width,
|
|
2079
|
-
height: height,
|
|
2080
|
-
backgroundColor: backgroundColor
|
|
2081
|
-
}, React.createElement(SizeAwareWrapper_1.default, null, function (containerDimension) {
|
|
2082
|
-
return renderVisualization(containerDimension);
|
|
2083
|
-
}));
|
|
2156
|
+
var validateRanges = function validateRanges(ranges) {
|
|
2157
|
+
if (!ranges.length) {
|
|
2158
|
+
return i18n_1._('Prop "ranges" is missing entries');
|
|
2159
|
+
} // check whether a range has "from" >= "to" eg: 10 - 10, 100 - 10, -20 - -10 are invalid
|
|
2160
|
+
|
|
2161
|
+
|
|
2162
|
+
if (ranges.some(function (range) {
|
|
2163
|
+
return range.from >= range.to;
|
|
2164
|
+
})) {
|
|
2165
|
+
return i18n_1._('Prop "ranges" has invalid entries: invalid range');
|
|
2166
|
+
} // check whether ranges have duplicate "from/to" eg: 0 - 50, 25 - 50
|
|
2167
|
+
|
|
2168
|
+
|
|
2169
|
+
if (ranges.length !== lodash_1.uniqBy(ranges, 'to').length || ranges.length !== lodash_1.uniqBy(ranges, 'from').length) {
|
|
2170
|
+
return i18n_1._('Prop "ranges" has invalid entries: duplicate values');
|
|
2171
|
+
}
|
|
2172
|
+
|
|
2173
|
+
var sortedRanges = exports.getSortedRanges(ranges); // check whether ranges are continuous eg: 0 - 10, 10 - 20, 20 - 30
|
|
2174
|
+
|
|
2175
|
+
for (var i = 1; i < sortedRanges.length; i += 1) {
|
|
2176
|
+
if (sortedRanges[i].from !== sortedRanges[i - 1].to) {
|
|
2177
|
+
return i18n_1._('Prop "ranges" has invalid entries: discontinuous ranges');
|
|
2178
|
+
}
|
|
2179
|
+
}
|
|
2180
|
+
|
|
2181
|
+
return null;
|
|
2084
2182
|
};
|
|
2085
2183
|
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
usePercentageRange: T.bool,
|
|
2096
|
-
usePercentageValue: T.bool,
|
|
2097
|
-
backgroundColor: T.string,
|
|
2098
|
-
fillColor: T.string,
|
|
2099
|
-
ranges: T.arrayOf(T.shape({
|
|
2100
|
-
from: T.number.isRequired,
|
|
2101
|
-
to: T.number.isRequired,
|
|
2102
|
-
value: T.string.isRequired
|
|
2103
|
-
})),
|
|
2104
|
-
majorTickFillColor: T.string,
|
|
2105
|
-
majorTickStrokeColor: T.string,
|
|
2106
|
-
valueMarkerFillColor: T.string,
|
|
2107
|
-
valueMarkerLabelFillColor: T.string
|
|
2108
|
-
};
|
|
2109
|
-
MarkerGauge.defaultProps = {
|
|
2110
|
-
width: '100%',
|
|
2111
|
-
height: 250,
|
|
2112
|
-
orientation: 'vertical',
|
|
2113
|
-
majorUnit: 'auto',
|
|
2114
|
-
showLabels: true,
|
|
2115
|
-
showValue: true,
|
|
2116
|
-
usePercentageRange: false,
|
|
2117
|
-
usePercentageValue: false,
|
|
2118
|
-
backgroundColor: 'transparent',
|
|
2119
|
-
value: 0,
|
|
2120
|
-
fillColor: '#f2f4f5',
|
|
2121
|
-
majorTickFillColor: '#3c444d',
|
|
2122
|
-
majorTickStrokeColor: '#6b7785',
|
|
2123
|
-
valueMarkerFillColor: '#3c444d',
|
|
2124
|
-
valueMarkerLabelFillColor: '#f2f4f5',
|
|
2125
|
-
ranges: [{
|
|
2126
|
-
from: 0,
|
|
2127
|
-
to: 50,
|
|
2128
|
-
value: '#4BEBA8'
|
|
2129
|
-
}, {
|
|
2130
|
-
from: 50,
|
|
2131
|
-
to: 90,
|
|
2132
|
-
value: '#F4DF7A'
|
|
2133
|
-
}, {
|
|
2134
|
-
from: 90,
|
|
2135
|
-
to: 100,
|
|
2136
|
-
value: '#CB3B43'
|
|
2137
|
-
}]
|
|
2138
|
-
};
|
|
2139
|
-
exports.default = MarkerGauge;
|
|
2140
|
-
|
|
2141
|
-
/***/ }),
|
|
2142
|
-
/* 183 */
|
|
2143
|
-
/***/ (function(module, exports) {
|
|
2144
|
-
|
|
2145
|
-
module.exports = require("@splunk/ui-utils/id");
|
|
2184
|
+
exports.validateRanges = validateRanges;
|
|
2185
|
+
/**
|
|
2186
|
+
* calculate min and max value of gauge
|
|
2187
|
+
* @method getGaugeRange
|
|
2188
|
+
* @param {Array} ranges
|
|
2189
|
+
* @return {Object} gaugeRange
|
|
2190
|
+
* @return {Number} gaugeRange.min
|
|
2191
|
+
* @return {Number} gaugeRange.max
|
|
2192
|
+
*/
|
|
2146
2193
|
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2194
|
+
var getGaugeRange = function getGaugeRange(ranges) {
|
|
2195
|
+
var min = Math.min.apply(Math, _toConsumableArray(ranges.map(function (range) {
|
|
2196
|
+
return range.from;
|
|
2197
|
+
})));
|
|
2198
|
+
var max = Math.max.apply(Math, _toConsumableArray(ranges.map(function (range) {
|
|
2199
|
+
return range.to;
|
|
2200
|
+
})));
|
|
2201
|
+
return {
|
|
2202
|
+
min: min,
|
|
2203
|
+
max: max
|
|
2204
|
+
};
|
|
2205
|
+
};
|
|
2150
2206
|
|
|
2151
|
-
|
|
2152
|
-
__webpack_require__.r(__webpack_exports__);
|
|
2153
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GAUGE_THICKNESS", function() { return GAUGE_THICKNESS; });
|
|
2154
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FILL_THICKNESS", function() { return FILL_THICKNESS; });
|
|
2155
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getGaugeWidth", function() { return getGaugeWidth; });
|
|
2156
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getGaugeHeight", function() { return getGaugeHeight; });
|
|
2157
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getGaugeLength", function() { return getGaugeLength; });
|
|
2158
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getGaugeStartPosition", function() { return getGaugeStartPosition; });
|
|
2159
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getGaugeDimensions", function() { return getGaugeDimensions; });
|
|
2160
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "assignGaugeColor", function() { return assignGaugeColor; });
|
|
2161
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getGaugeBarLength", function() { return getGaugeBarLength; });
|
|
2162
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getGaugeBarStartPositions", function() { return getGaugeBarStartPositions; });
|
|
2163
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getGaugeBarWidth", function() { return getGaugeBarWidth; });
|
|
2164
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getGaugeBarHeight", function() { return getGaugeBarHeight; });
|
|
2165
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getFillBarDimensions", function() { return getFillBarDimensions; });
|
|
2166
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getFillerGaugeValueMarkerPositions", function() { return getFillerGaugeValueMarkerPositions; });
|
|
2167
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getMarkerBarDimensions", function() { return getMarkerBarDimensions; });
|
|
2168
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getMarkerGaugeValueMarkerPositions", function() { return getMarkerGaugeValueMarkerPositions; });
|
|
2169
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getSortedRanges", function() { return getSortedRanges; });
|
|
2170
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "validateRanges", function() { return validateRanges; });
|
|
2171
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getGaugeRange", function() { return getGaugeRange; });
|
|
2172
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getGradientStopOffsets", function() { return getGradientStopOffsets; });
|
|
2173
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getGradientStopColors", function() { return getGradientStopColors; });
|
|
2174
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getGradientStops", function() { return getGradientStops; });
|
|
2175
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getGradientDimensions", function() { return getGradientDimensions; });
|
|
2176
|
-
/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(39);
|
|
2177
|
-
/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__);
|
|
2178
|
-
/* harmony import */ var lodash_uniqBy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(101);
|
|
2179
|
-
/* harmony import */ var lodash_uniqBy__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_uniqBy__WEBPACK_IMPORTED_MODULE_1__);
|
|
2180
|
-
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(38);
|
|
2181
|
-
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_2__);
|
|
2182
|
-
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3);
|
|
2183
|
-
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_3__);
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
var GAUGE_THICKNESS = 50;
|
|
2189
|
-
var FILL_THICKNESS = 38;
|
|
2190
|
-
var GRADIENT_STOP_OFFSET_MIN = 0;
|
|
2191
|
-
var GRADIENT_STOP_OFFSET_MAX = 100;
|
|
2207
|
+
exports.getGaugeRange = getGaugeRange;
|
|
2192
2208
|
/**
|
|
2193
|
-
*
|
|
2194
|
-
* @method
|
|
2195
|
-
* @param {
|
|
2196
|
-
* @param {Number} containerWidth
|
|
2209
|
+
* calculate stop offsets for linear gradient
|
|
2210
|
+
* @method getGradientStopOffsets
|
|
2211
|
+
* @param {Array} ranges
|
|
2197
2212
|
* @param {String} orientation
|
|
2198
|
-
* @return {
|
|
2213
|
+
* @return {Array} cumulativeOffsets
|
|
2199
2214
|
*/
|
|
2200
2215
|
|
|
2201
|
-
var
|
|
2202
|
-
var
|
|
2203
|
-
orientation =
|
|
2204
|
-
|
|
2216
|
+
var getGradientStopOffsets = function getGradientStopOffsets(_ref15) {
|
|
2217
|
+
var ranges = _ref15.ranges,
|
|
2218
|
+
orientation = _ref15.orientation;
|
|
2219
|
+
|
|
2220
|
+
var _exports$getGaugeRang = exports.getGaugeRange(ranges),
|
|
2221
|
+
min = _exports$getGaugeRang.min,
|
|
2222
|
+
max = _exports$getGaugeRang.max;
|
|
2223
|
+
|
|
2224
|
+
var offsetScale = (GRADIENT_STOP_OFFSET_MAX - GRADIENT_STOP_OFFSET_MIN) / (max - min);
|
|
2225
|
+
var offsets = ranges.map(function (range) {
|
|
2226
|
+
return Math.abs(range.from - range.to) * offsetScale;
|
|
2227
|
+
}); // When orientation is vertical, since the gauge starts from bottom to top, linear gradient should be reversed
|
|
2228
|
+
|
|
2229
|
+
offsets = orientation === 'vertical' ? offsets.reverse() : offsets;
|
|
2230
|
+
var cumulativeOffsets = [];
|
|
2231
|
+
offsets.reduce(function (accumulator, currentValue, idx) {
|
|
2232
|
+
cumulativeOffsets[idx] = accumulator + currentValue;
|
|
2233
|
+
return cumulativeOffsets[idx];
|
|
2234
|
+
}, 0);
|
|
2235
|
+
return cumulativeOffsets;
|
|
2205
2236
|
};
|
|
2237
|
+
|
|
2238
|
+
exports.getGradientStopOffsets = getGradientStopOffsets;
|
|
2206
2239
|
/**
|
|
2207
|
-
*
|
|
2208
|
-
* @method
|
|
2209
|
-
* @param {
|
|
2210
|
-
* @param {Number} containerHeight
|
|
2240
|
+
* calculate stop colors for linear gradient
|
|
2241
|
+
* @method getGradientStopColors
|
|
2242
|
+
* @param {Array} ranges
|
|
2211
2243
|
* @param {String} orientation
|
|
2212
|
-
* @return {
|
|
2244
|
+
* @return {Array} stopColors
|
|
2213
2245
|
*/
|
|
2214
2246
|
|
|
2215
|
-
var
|
|
2216
|
-
var
|
|
2217
|
-
orientation =
|
|
2218
|
-
|
|
2247
|
+
var getGradientStopColors = function getGradientStopColors(_ref16) {
|
|
2248
|
+
var ranges = _ref16.ranges,
|
|
2249
|
+
orientation = _ref16.orientation;
|
|
2250
|
+
var stopColors = ranges.map(function (range) {
|
|
2251
|
+
return range.value;
|
|
2252
|
+
}); // When orientation is vertical, since the gauge starts from bottom to top, linear gradient should be reversed
|
|
2253
|
+
|
|
2254
|
+
return orientation === 'vertical' ? stopColors.reverse() : stopColors;
|
|
2219
2255
|
};
|
|
2256
|
+
|
|
2257
|
+
exports.getGradientStopColors = getGradientStopColors;
|
|
2220
2258
|
/**
|
|
2221
|
-
*
|
|
2222
|
-
*
|
|
2223
|
-
* @method getGaugeLength
|
|
2259
|
+
* calculate linear gradient stops from ranges
|
|
2260
|
+
* @method getGradientStops
|
|
2224
2261
|
* @param {Object} input
|
|
2225
|
-
* @param {
|
|
2226
|
-
* @param {
|
|
2227
|
-
* @
|
|
2228
|
-
* @return {Number} gaugeLength
|
|
2262
|
+
* @param {Array} ranges
|
|
2263
|
+
* @param {String} orientation
|
|
2264
|
+
* @return {Array} stops
|
|
2229
2265
|
*/
|
|
2230
2266
|
|
|
2231
|
-
var
|
|
2232
|
-
var
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
orientation: orientation
|
|
2238
|
-
}) : getGaugeWidth({
|
|
2239
|
-
containerWidth: containerWidth,
|
|
2267
|
+
var getGradientStops = function getGradientStops(_ref17) {
|
|
2268
|
+
var ranges = _ref17.ranges,
|
|
2269
|
+
orientation = _ref17.orientation;
|
|
2270
|
+
var stops = [];
|
|
2271
|
+
var offsets = exports.getGradientStopOffsets({
|
|
2272
|
+
ranges: ranges,
|
|
2240
2273
|
orientation: orientation
|
|
2241
2274
|
});
|
|
2275
|
+
var stopColors = exports.getGradientStopColors({
|
|
2276
|
+
ranges: ranges,
|
|
2277
|
+
orientation: orientation
|
|
2278
|
+
}); // Initialize stops with the first color stop
|
|
2279
|
+
|
|
2280
|
+
stops.push({
|
|
2281
|
+
offset: "".concat(offsets[0], "%"),
|
|
2282
|
+
stopColor: stopColors[0]
|
|
2283
|
+
}); // Add the remaining color stops with gradient change at each stop
|
|
2284
|
+
|
|
2285
|
+
for (var i = 1; i < ranges.length; i += 1) {
|
|
2286
|
+
stops.push({
|
|
2287
|
+
offset: "".concat(offsets[i - 1], "%"),
|
|
2288
|
+
stopColor: stopColors[i]
|
|
2289
|
+
});
|
|
2290
|
+
stops.push({
|
|
2291
|
+
offset: "".concat(offsets[i], "%"),
|
|
2292
|
+
stopColor: stopColors[i]
|
|
2293
|
+
});
|
|
2294
|
+
}
|
|
2295
|
+
|
|
2296
|
+
return stops;
|
|
2242
2297
|
};
|
|
2298
|
+
|
|
2299
|
+
exports.getGradientStops = getGradientStops;
|
|
2243
2300
|
/**
|
|
2244
|
-
*
|
|
2245
|
-
* @method
|
|
2246
|
-
* @param {Object} input
|
|
2247
|
-
* @param {Number} containerWidth
|
|
2248
|
-
* @param {Number} containerHeight
|
|
2249
|
-
* @param {Number} gaugeLength
|
|
2301
|
+
* calculate linear gradient dimensions
|
|
2302
|
+
* @method getGradientDimensions
|
|
2250
2303
|
* @param {String} orientation
|
|
2251
|
-
* @return {Object}
|
|
2252
|
-
* @return {
|
|
2253
|
-
* @return {
|
|
2304
|
+
* @return {Object} dimensions
|
|
2305
|
+
* @return {String} dimensions.x1
|
|
2306
|
+
* @return {String} dimensions.y1
|
|
2307
|
+
* @return {String} dimensions.x2
|
|
2308
|
+
* @return {String} dimensions.y2
|
|
2254
2309
|
*/
|
|
2255
2310
|
|
|
2256
|
-
var
|
|
2257
|
-
var
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
var gaugeStartX = (containerWidth - gaugeLength) / 2.0;
|
|
2263
|
-
var gaugeStartY = (containerHeight - GAUGE_THICKNESS) / 2.0;
|
|
2264
|
-
|
|
2265
|
-
if (orientation === 'vertical') {
|
|
2266
|
-
gaugeStartX = (containerWidth - GAUGE_THICKNESS) / 2.0;
|
|
2267
|
-
gaugeStartY = (containerHeight - gaugeLength) / 2.0;
|
|
2268
|
-
}
|
|
2269
|
-
|
|
2311
|
+
var getGradientDimensions = function getGradientDimensions(orientation) {
|
|
2312
|
+
var x1 = '0%';
|
|
2313
|
+
var y1 = '0%';
|
|
2314
|
+
var x2 = orientation === 'horizontal' ? '100%' : '0%';
|
|
2315
|
+
var y2 = orientation === 'horizontal' ? '0%' : '100%';
|
|
2270
2316
|
return {
|
|
2271
|
-
|
|
2272
|
-
|
|
2317
|
+
x1: x1,
|
|
2318
|
+
y1: y1,
|
|
2319
|
+
x2: x2,
|
|
2320
|
+
y2: y2
|
|
2273
2321
|
};
|
|
2274
2322
|
};
|
|
2323
|
+
|
|
2324
|
+
exports.getGradientDimensions = getGradientDimensions; // map for new options names to old option names
|
|
2325
|
+
|
|
2326
|
+
var gaugeOptionsMapping = {
|
|
2327
|
+
majorTickInterval: 'majorUnit',
|
|
2328
|
+
gaugeRanges: 'ranges'
|
|
2329
|
+
};
|
|
2275
2330
|
/**
|
|
2276
|
-
*
|
|
2277
|
-
*
|
|
2278
|
-
* @
|
|
2279
|
-
* @
|
|
2280
|
-
* @param {Number} input.containerWidth
|
|
2281
|
-
* @param {Number} input.containerHeight
|
|
2282
|
-
* @param {String} input.orientation 'horizontal' or 'vertical'
|
|
2283
|
-
* @return {Object} gaugeDimensions
|
|
2284
|
-
* @return {Number} gaugeDimensions.gaugeLength how long the gauge shoud be in horizontal or vertical orientation.
|
|
2285
|
-
* @return {Number} gaugeDimensions.gaugeStartX start x to render gauge
|
|
2286
|
-
* @return {Number} gaugeDimensions.gaugeStartY start y to render gauge
|
|
2287
|
-
* @return {Number} gaugeDimensions.gaugeWidth natural width of gauge
|
|
2288
|
-
* @return {Number} gaugeDimensions.gaugeHeight natural height of gauge
|
|
2331
|
+
* Helper method to update the option names which can be mapped to pure component options
|
|
2332
|
+
* @method mapToOldKey
|
|
2333
|
+
* @param {Object} options
|
|
2334
|
+
* @returns {Object}
|
|
2289
2335
|
*/
|
|
2290
2336
|
|
|
2291
|
-
var
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
orientation = _ref5.orientation;
|
|
2295
|
-
var gaugeLength = getGaugeLength({
|
|
2296
|
-
containerWidth: containerWidth,
|
|
2297
|
-
containerHeight: containerHeight,
|
|
2298
|
-
orientation: orientation
|
|
2337
|
+
var mapToOldKey = function mapToOldKey(options) {
|
|
2338
|
+
return lodash_1.mapKeys(options, function (val, key) {
|
|
2339
|
+
return gaugeOptionsMapping[key] ? gaugeOptionsMapping[key] : key;
|
|
2299
2340
|
});
|
|
2341
|
+
};
|
|
2300
2342
|
|
|
2301
|
-
|
|
2302
|
-
containerWidth: containerWidth,
|
|
2303
|
-
containerHeight: containerHeight,
|
|
2304
|
-
gaugeLength: gaugeLength,
|
|
2305
|
-
orientation: orientation
|
|
2306
|
-
}),
|
|
2307
|
-
gaugeStartX = _getGaugeStartPositio.gaugeStartX,
|
|
2308
|
-
gaugeStartY = _getGaugeStartPositio.gaugeStartY;
|
|
2309
|
-
|
|
2310
|
-
var gaugeWidth = getGaugeWidth({
|
|
2311
|
-
containerWidth: containerWidth,
|
|
2312
|
-
orientation: orientation
|
|
2313
|
-
});
|
|
2314
|
-
var gaugeHeight = getGaugeHeight({
|
|
2315
|
-
containerHeight: containerHeight,
|
|
2316
|
-
orientation: orientation
|
|
2317
|
-
});
|
|
2318
|
-
return {
|
|
2319
|
-
gaugeLength: gaugeLength,
|
|
2320
|
-
gaugeStartX: gaugeStartX,
|
|
2321
|
-
gaugeStartY: gaugeStartY,
|
|
2322
|
-
gaugeWidth: gaugeWidth,
|
|
2323
|
-
gaugeHeight: gaugeHeight
|
|
2324
|
-
};
|
|
2325
|
-
};
|
|
2343
|
+
exports.mapToOldKey = mapToOldKey;
|
|
2326
2344
|
/**
|
|
2327
|
-
*
|
|
2328
|
-
*
|
|
2329
|
-
* @
|
|
2330
|
-
* @
|
|
2331
|
-
*
|
|
2332
|
-
|
|
2333
|
-
var assignGaugeColor = function assignGaugeColor(_ref6) {
|
|
2334
|
-
var value = _ref6.value,
|
|
2335
|
-
min = _ref6.min,
|
|
2336
|
-
max = _ref6.max;
|
|
2337
|
-
var rate = (value - min) / (max - min);
|
|
2345
|
+
* Helper method to map labelDisplay and valueDisplay options to pure component option names
|
|
2346
|
+
* @method mapToOldKey
|
|
2347
|
+
* @param {string} labelOrValue
|
|
2348
|
+
* @param {Object} options
|
|
2349
|
+
* @returns {Object}
|
|
2350
|
+
*/
|
|
2338
2351
|
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2352
|
+
var mapValueLabelDisplay = function mapValueLabelDisplay(labelOrValue, options) {
|
|
2353
|
+
var rangeOrValue = labelOrValue === 'value' ? 'Value' : 'Range';
|
|
2354
|
+
var showKey = labelOrValue === 'value' ? 'showValue' : 'showLabels';
|
|
2355
|
+
var percentKey = "usePercentage".concat(rangeOrValue);
|
|
2356
|
+
var optionString = "".concat(labelOrValue, "Display");
|
|
2357
|
+
var newOptions = Object.assign({}, options);
|
|
2342
2358
|
|
|
2343
|
-
if (
|
|
2344
|
-
|
|
2359
|
+
if (newOptions[optionString]) {
|
|
2360
|
+
if (newOptions[optionString] === 'number') {
|
|
2361
|
+
newOptions[showKey] = true;
|
|
2362
|
+
newOptions[percentKey] = false;
|
|
2363
|
+
} else if (newOptions[optionString] === 'percentage') {
|
|
2364
|
+
newOptions[showKey] = true;
|
|
2365
|
+
newOptions[percentKey] = true;
|
|
2366
|
+
} else {
|
|
2367
|
+
newOptions[showKey] = false;
|
|
2368
|
+
newOptions[percentKey] = false;
|
|
2369
|
+
}
|
|
2345
2370
|
}
|
|
2346
2371
|
|
|
2347
|
-
return
|
|
2372
|
+
return lodash_1.omit(newOptions, [optionString]);
|
|
2348
2373
|
};
|
|
2374
|
+
|
|
2375
|
+
exports.mapValueLabelDisplay = mapValueLabelDisplay;
|
|
2349
2376
|
/**
|
|
2350
|
-
*
|
|
2351
|
-
*
|
|
2352
|
-
* @
|
|
2353
|
-
* @param {
|
|
2354
|
-
* @
|
|
2355
|
-
* @param {Number} input.min
|
|
2356
|
-
* @param {Number} input.max
|
|
2357
|
-
* @return {Number} gaugeBarLength
|
|
2377
|
+
* Chained helper for mapping the option properties (and values) we expose in config.ts into property values that pure component accepts
|
|
2378
|
+
* This is for options that has new key name and can not directly be mapped with pure component props
|
|
2379
|
+
* @method convertToGaugeProperties
|
|
2380
|
+
* @param {Object} originalOptions
|
|
2381
|
+
* @returns {Object}
|
|
2358
2382
|
*/
|
|
2359
2383
|
|
|
2360
|
-
var
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2384
|
+
var convertToGaugeProperties = function convertToGaugeProperties(originalOptions) {
|
|
2385
|
+
return lodash_1.chain(exports.mapToOldKey(originalOptions)).thru(function (options) {
|
|
2386
|
+
return exports.mapValueLabelDisplay('label', options);
|
|
2387
|
+
}).thru(function (options) {
|
|
2388
|
+
return exports.mapValueLabelDisplay('value', options);
|
|
2389
|
+
}).value();
|
|
2390
|
+
};
|
|
2365
2391
|
|
|
2366
|
-
|
|
2367
|
-
return null;
|
|
2368
|
-
}
|
|
2392
|
+
exports.convertToGaugeProperties = convertToGaugeProperties;
|
|
2369
2393
|
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2394
|
+
/***/ }),
|
|
2395
|
+
/* 72 */,
|
|
2396
|
+
/* 73 */,
|
|
2397
|
+
/* 74 */,
|
|
2398
|
+
/* 75 */,
|
|
2399
|
+
/* 76 */,
|
|
2400
|
+
/* 77 */,
|
|
2401
|
+
/* 78 */,
|
|
2402
|
+
/* 79 */,
|
|
2403
|
+
/* 80 */,
|
|
2404
|
+
/* 81 */,
|
|
2405
|
+
/* 82 */,
|
|
2406
|
+
/* 83 */,
|
|
2407
|
+
/* 84 */,
|
|
2408
|
+
/* 85 */,
|
|
2409
|
+
/* 86 */,
|
|
2410
|
+
/* 87 */,
|
|
2411
|
+
/* 88 */,
|
|
2412
|
+
/* 89 */,
|
|
2413
|
+
/* 90 */,
|
|
2414
|
+
/* 91 */,
|
|
2415
|
+
/* 92 */,
|
|
2416
|
+
/* 93 */,
|
|
2417
|
+
/* 94 */,
|
|
2418
|
+
/* 95 */
|
|
2419
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2373
2420
|
|
|
2374
|
-
|
|
2375
|
-
return 0;
|
|
2376
|
-
}
|
|
2421
|
+
"use strict";
|
|
2377
2422
|
|
|
2378
|
-
|
|
2423
|
+
|
|
2424
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2425
|
+
value: true
|
|
2426
|
+
});
|
|
2427
|
+
|
|
2428
|
+
var i18n_1 = __webpack_require__(3);
|
|
2429
|
+
|
|
2430
|
+
var gauge = {
|
|
2431
|
+
label: i18n_1._('Gauge Settings'),
|
|
2432
|
+
layout: [[{
|
|
2433
|
+
label: i18n_1._('Value Display'),
|
|
2434
|
+
option: 'valueDisplay',
|
|
2435
|
+
editor: 'editor.radioBar',
|
|
2436
|
+
editorProps: {
|
|
2437
|
+
values: [{
|
|
2438
|
+
label: i18n_1._('Number'),
|
|
2439
|
+
value: 'number'
|
|
2440
|
+
}, {
|
|
2441
|
+
label: i18n_1._('Percentage'),
|
|
2442
|
+
value: 'percentage'
|
|
2443
|
+
}, {
|
|
2444
|
+
label: i18n_1._('Off'),
|
|
2445
|
+
value: 'off'
|
|
2446
|
+
}]
|
|
2447
|
+
}
|
|
2448
|
+
}], [{
|
|
2449
|
+
label: i18n_1._('Label Display'),
|
|
2450
|
+
option: 'labelDisplay',
|
|
2451
|
+
editor: 'editor.radioBar',
|
|
2452
|
+
editorProps: {
|
|
2453
|
+
values: [{
|
|
2454
|
+
label: i18n_1._('Numbers'),
|
|
2455
|
+
value: 'number'
|
|
2456
|
+
}, {
|
|
2457
|
+
label: i18n_1._('Percentages'),
|
|
2458
|
+
value: 'percentage'
|
|
2459
|
+
}, {
|
|
2460
|
+
label: i18n_1._('Off'),
|
|
2461
|
+
value: 'off'
|
|
2462
|
+
}]
|
|
2463
|
+
}
|
|
2464
|
+
}], [{
|
|
2465
|
+
label: i18n_1._('Orientation'),
|
|
2466
|
+
option: 'orientation',
|
|
2467
|
+
editor: 'editor.radioBar',
|
|
2468
|
+
editorProps: {
|
|
2469
|
+
values: [{
|
|
2470
|
+
label: i18n_1._('Vertical'),
|
|
2471
|
+
value: 'vertical'
|
|
2472
|
+
}, {
|
|
2473
|
+
label: i18n_1._('Horizontal'),
|
|
2474
|
+
value: 'horizontal'
|
|
2475
|
+
}]
|
|
2476
|
+
}
|
|
2477
|
+
}]]
|
|
2478
|
+
};
|
|
2479
|
+
exports.default = gauge;
|
|
2480
|
+
|
|
2481
|
+
/***/ }),
|
|
2482
|
+
/* 96 */
|
|
2483
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2484
|
+
|
|
2485
|
+
"use strict";
|
|
2486
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2487
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MajorTick", function() { return MajorTick; });
|
|
2488
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "positionMajorTick", function() { return positionMajorTick; });
|
|
2489
|
+
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43);
|
|
2490
|
+
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);
|
|
2491
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
|
|
2492
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
2493
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(0);
|
|
2494
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
|
|
2495
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4);
|
|
2496
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_3__);
|
|
2497
|
+
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21);
|
|
2498
|
+
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__);
|
|
2499
|
+
|
|
2500
|
+
|
|
2501
|
+
|
|
2502
|
+
|
|
2503
|
+
|
|
2504
|
+
var DEFAULT_NUM_OF_TICKS = 5;
|
|
2505
|
+
var TICK_LENGTH_DELTA = 5;
|
|
2506
|
+
var TICK_LABEL_PADDING_FACTOR = 3.2;
|
|
2507
|
+
var MajorTickLine = styled_components__WEBPACK_IMPORTED_MODULE_3___default.a.line.withConfig({
|
|
2508
|
+
displayName: "GaugeMajorTicks__MajorTickLine",
|
|
2509
|
+
componentId: "mchiad-0"
|
|
2510
|
+
})(["stroke:", ";stroke-width:2px;stroke-dasharray:", ";"], function (props) {
|
|
2511
|
+
return props.majorTickStrokeColor;
|
|
2512
|
+
}, function (props) {
|
|
2513
|
+
return props.index === 0 ? 0 : 3;
|
|
2514
|
+
});
|
|
2515
|
+
var MajorTickLabel = styled_components__WEBPACK_IMPORTED_MODULE_3___default.a.text.withConfig({
|
|
2516
|
+
displayName: "GaugeMajorTicks__MajorTickLabel",
|
|
2517
|
+
componentId: "mchiad-1"
|
|
2518
|
+
})(["font-size:12px;font-family:Splunk Platform Sans,sans-serif;line-height:19px;fill:", ";text-anchor:middle;text-align:center;"], function (props) {
|
|
2519
|
+
return props.majorTickFillColor;
|
|
2520
|
+
});
|
|
2521
|
+
var MajorTick = function MajorTick(_ref) {
|
|
2522
|
+
var index = _ref.index,
|
|
2523
|
+
x1 = _ref.x1,
|
|
2524
|
+
y1 = _ref.y1,
|
|
2525
|
+
x2 = _ref.x2,
|
|
2526
|
+
y2 = _ref.y2,
|
|
2527
|
+
showLabels = _ref.showLabels,
|
|
2528
|
+
label = _ref.label,
|
|
2529
|
+
labelX = _ref.labelX,
|
|
2530
|
+
labelY = _ref.labelY,
|
|
2531
|
+
majorTickStrokeColor = _ref.majorTickStrokeColor,
|
|
2532
|
+
majorTickFillColor = _ref.majorTickFillColor;
|
|
2533
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("g", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(MajorTickLine, {
|
|
2534
|
+
index: index,
|
|
2535
|
+
x1: x1,
|
|
2536
|
+
y1: y1,
|
|
2537
|
+
x2: x2,
|
|
2538
|
+
y2: y2,
|
|
2539
|
+
majorTickStrokeColor: majorTickStrokeColor
|
|
2540
|
+
}), showLabels && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(MajorTickLabel, {
|
|
2541
|
+
x: labelX,
|
|
2542
|
+
y: labelY,
|
|
2543
|
+
majorTickFillColor: majorTickFillColor
|
|
2544
|
+
}, Object(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__["isNumerial"])(label) ? Object(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__["formatNumber"])(label, 0, {
|
|
2545
|
+
useThousandSeparators: true,
|
|
2546
|
+
useTrendUnits: true
|
|
2547
|
+
}) : label));
|
|
2548
|
+
};
|
|
2549
|
+
MajorTick.propTypes = {
|
|
2550
|
+
index: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2551
|
+
x1: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2552
|
+
y1: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2553
|
+
x2: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2554
|
+
y2: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2555
|
+
showLabels: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,
|
|
2556
|
+
label: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number]),
|
|
2557
|
+
labelX: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2558
|
+
labelY: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2559
|
+
majorTickStrokeColor: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,
|
|
2560
|
+
majorTickFillColor: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string
|
|
2379
2561
|
};
|
|
2380
2562
|
/**
|
|
2381
|
-
*
|
|
2382
|
-
* @method
|
|
2563
|
+
* calculate position for each major tick
|
|
2564
|
+
* @method positionMajorTick
|
|
2383
2565
|
* @param {Object} input
|
|
2384
|
-
* @param {Number} input.
|
|
2385
|
-
* @param {Number} input.
|
|
2386
|
-
* @param {Number} input.
|
|
2387
|
-
* @param {Number} input.
|
|
2388
|
-
* @param {Number} input.gaugeBarLength
|
|
2566
|
+
* @param {Number} input.width
|
|
2567
|
+
* @param {Number} input.height
|
|
2568
|
+
* @param {Number} input.startX start x for rendering the first major tick
|
|
2569
|
+
* @param {Number} input.startY start y for rendering the first major tick
|
|
2389
2570
|
* @param {String} input.orientation
|
|
2390
|
-
* @
|
|
2391
|
-
* @
|
|
2392
|
-
* @return {
|
|
2571
|
+
* @param {Number} input.numOfTicks how many ticks need to render
|
|
2572
|
+
* @param {Number} input.i index of major tick
|
|
2573
|
+
* @return {Object} MajorTick positions
|
|
2393
2574
|
*/
|
|
2394
2575
|
|
|
2395
|
-
var
|
|
2396
|
-
var
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
var
|
|
2576
|
+
var positionMajorTick = function positionMajorTick(_ref2) {
|
|
2577
|
+
var width = _ref2.width,
|
|
2578
|
+
height = _ref2.height,
|
|
2579
|
+
startX = _ref2.startX,
|
|
2580
|
+
startY = _ref2.startY,
|
|
2581
|
+
orientation = _ref2.orientation,
|
|
2582
|
+
numOfTicks = _ref2.numOfTicks,
|
|
2583
|
+
i = _ref2.i;
|
|
2584
|
+
var x1 = startX;
|
|
2585
|
+
var y1 = startY;
|
|
2586
|
+
var x2 = startX;
|
|
2587
|
+
var y2 = startY;
|
|
2588
|
+
var labelX = startX;
|
|
2589
|
+
var labelY;
|
|
2404
2590
|
|
|
2405
2591
|
if (orientation === 'vertical') {
|
|
2406
|
-
|
|
2407
|
-
|
|
2592
|
+
var y = height / numOfTicks * (numOfTicks - i) + startY;
|
|
2593
|
+
x1 -= TICK_LENGTH_DELTA;
|
|
2594
|
+
y1 = y;
|
|
2595
|
+
x2 += width + TICK_LENGTH_DELTA;
|
|
2596
|
+
y2 = y;
|
|
2597
|
+
labelX += width + TICK_LENGTH_DELTA * TICK_LABEL_PADDING_FACTOR;
|
|
2598
|
+
labelY = y;
|
|
2408
2599
|
} else {
|
|
2409
|
-
|
|
2600
|
+
var x = width / numOfTicks * i + startX;
|
|
2601
|
+
x1 = x;
|
|
2602
|
+
y1 -= TICK_LENGTH_DELTA;
|
|
2603
|
+
x2 = x;
|
|
2604
|
+
y2 += height + TICK_LENGTH_DELTA;
|
|
2605
|
+
labelX = x;
|
|
2606
|
+
labelY = y2 + 16;
|
|
2410
2607
|
}
|
|
2411
2608
|
|
|
2412
2609
|
return {
|
|
2413
|
-
|
|
2414
|
-
|
|
2610
|
+
x1: x1,
|
|
2611
|
+
y1: y1,
|
|
2612
|
+
x2: x2,
|
|
2613
|
+
y2: y2,
|
|
2614
|
+
labelX: labelX,
|
|
2615
|
+
labelY: labelY
|
|
2415
2616
|
};
|
|
2416
2617
|
};
|
|
2417
|
-
/**
|
|
2418
|
-
* get width of inner bar in gauge
|
|
2419
|
-
* @method getGaugeBarWidth
|
|
2420
|
-
* @param {Object} input
|
|
2421
|
-
* @param {Number} input.gaugeBarLength
|
|
2422
|
-
* @param {String} orientation
|
|
2423
|
-
* @return {Number} gaugeBarWidth
|
|
2424
|
-
*/
|
|
2425
2618
|
|
|
2426
|
-
var
|
|
2427
|
-
var
|
|
2428
|
-
orientation = _ref9.orientation;
|
|
2429
|
-
return orientation === 'vertical' ? FILL_THICKNESS : gaugeBarLength;
|
|
2430
|
-
};
|
|
2431
|
-
/**
|
|
2432
|
-
* get height of inner bar in gauge
|
|
2433
|
-
* @method getGaugeBarWidth
|
|
2434
|
-
* @param {Object} input
|
|
2435
|
-
* @param {Number} input.gaugeBarLength
|
|
2436
|
-
* @param {String} orientation
|
|
2437
|
-
* @return {Number} gaugeBarHeight
|
|
2438
|
-
*/
|
|
2619
|
+
var MajorTicks = function MajorTicks(_ref3) {
|
|
2620
|
+
var props = _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, _ref3);
|
|
2439
2621
|
|
|
2440
|
-
var
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
* @param {Number} input.min,
|
|
2456
|
-
* @param {Number} input.max,
|
|
2457
|
-
* @param {String} input.orientation
|
|
2458
|
-
* @return {Object} fillBarDimensions
|
|
2459
|
-
* @return {Number} fillBarDimensions.fillBarLength
|
|
2460
|
-
* @return {Number} fillBarDimensions.fillBarX
|
|
2461
|
-
* @return {Number} fillBarDimensions.fillBarY
|
|
2462
|
-
* @return {Number} fillBarDimensions.fillBarWidth
|
|
2463
|
-
* @return {Number} fillBarDimensions.fillBarHeight
|
|
2464
|
-
*/
|
|
2622
|
+
var width = props.width,
|
|
2623
|
+
height = props.height,
|
|
2624
|
+
startX = props.startX,
|
|
2625
|
+
startY = props.startY,
|
|
2626
|
+
min = props.min,
|
|
2627
|
+
max = props.max,
|
|
2628
|
+
majorUnit = props.majorUnit,
|
|
2629
|
+
orientation = props.orientation,
|
|
2630
|
+
showLabels = props.showLabels,
|
|
2631
|
+
usePercentageRange = props.usePercentageRange,
|
|
2632
|
+
majorTickFillColor = props.majorTickFillColor,
|
|
2633
|
+
majorTickStrokeColor = props.majorTickStrokeColor;
|
|
2634
|
+
var range = max - min;
|
|
2635
|
+
var numOfTicks = majorUnit === 'auto' || Number.isNaN(Number(majorUnit)) || majorUnit <= 0 ? DEFAULT_NUM_OF_TICKS : range / majorUnit;
|
|
2636
|
+
var majorTicks = [];
|
|
2465
2637
|
|
|
2466
|
-
var
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2638
|
+
for (var i = 0; i <= numOfTicks; i += 1) {
|
|
2639
|
+
var _positionMajorTick = positionMajorTick({
|
|
2640
|
+
width: width,
|
|
2641
|
+
height: height,
|
|
2642
|
+
startX: startX,
|
|
2643
|
+
startY: startY,
|
|
2644
|
+
orientation: orientation,
|
|
2645
|
+
numOfTicks: numOfTicks,
|
|
2646
|
+
i: i
|
|
2647
|
+
}),
|
|
2648
|
+
x1 = _positionMajorTick.x1,
|
|
2649
|
+
y1 = _positionMajorTick.y1,
|
|
2650
|
+
x2 = _positionMajorTick.x2,
|
|
2651
|
+
y2 = _positionMajorTick.y2,
|
|
2652
|
+
labelX = _positionMajorTick.labelX,
|
|
2653
|
+
labelY = _positionMajorTick.labelY;
|
|
2482
2654
|
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2655
|
+
var label = usePercentageRange ? "".concat(parseInt((i / numOfTicks - min / range) * 100, 10), "%") : parseInt(min + range / numOfTicks * i, 10);
|
|
2656
|
+
majorTicks.push( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(MajorTick, {
|
|
2657
|
+
key: i,
|
|
2658
|
+
index: i,
|
|
2659
|
+
x1: x1,
|
|
2660
|
+
y1: y1,
|
|
2661
|
+
x2: x2,
|
|
2662
|
+
y2: y2,
|
|
2663
|
+
showLabels: showLabels,
|
|
2664
|
+
label: label,
|
|
2665
|
+
labelX: labelX,
|
|
2666
|
+
labelY: labelY,
|
|
2667
|
+
majorTickFillColor: majorTickFillColor,
|
|
2668
|
+
majorTickStrokeColor: majorTickStrokeColor
|
|
2669
|
+
}));
|
|
2670
|
+
} // if the gauge is not divided evenly, put the last tick at the end of the gauge
|
|
2493
2671
|
|
|
2494
|
-
var fillBarWidth = getGaugeBarWidth({
|
|
2495
|
-
gaugeBarLength: gaugeBarLength,
|
|
2496
|
-
orientation: orientation
|
|
2497
|
-
});
|
|
2498
|
-
var fillBarHeight = getGaugeBarHeight({
|
|
2499
|
-
gaugeBarLength: gaugeBarLength,
|
|
2500
|
-
orientation: orientation
|
|
2501
|
-
});
|
|
2502
|
-
return {
|
|
2503
|
-
fillBarLength: gaugeBarLength,
|
|
2504
|
-
fillBarX: fillBarX,
|
|
2505
|
-
fillBarY: fillBarY,
|
|
2506
|
-
fillBarWidth: fillBarWidth,
|
|
2507
|
-
fillBarHeight: fillBarHeight
|
|
2508
|
-
};
|
|
2509
|
-
};
|
|
2510
|
-
/**
|
|
2511
|
-
* get position x and y for value marker in filler gauge
|
|
2512
|
-
* @method getFillerGaugeValueMarkerPositions
|
|
2513
|
-
* @param {Object} input
|
|
2514
|
-
* @param {Number} input.fillBarX
|
|
2515
|
-
* @param {Number} input.fillBarY
|
|
2516
|
-
* @param {Number} input.fillBarLength
|
|
2517
|
-
* @param {String} input.orientation
|
|
2518
|
-
* @return {Object} position
|
|
2519
|
-
* @return {Number} position.valueMarkerX
|
|
2520
|
-
* @return {Number} position.valueMarkerY
|
|
2521
|
-
*/
|
|
2522
2672
|
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
fillBarY = _ref12.fillBarY,
|
|
2526
|
-
fillBarLength = _ref12.fillBarLength,
|
|
2527
|
-
orientation = _ref12.orientation;
|
|
2528
|
-
var valueMarkerX = fillBarX;
|
|
2529
|
-
var valueMarkerY = fillBarY;
|
|
2673
|
+
if (!Number.isInteger(numOfTicks)) {
|
|
2674
|
+
var extraNumOfTicks = Math.ceil(numOfTicks);
|
|
2530
2675
|
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2676
|
+
var _positionMajorTick2 = positionMajorTick({
|
|
2677
|
+
width: width,
|
|
2678
|
+
height: height,
|
|
2679
|
+
startX: startX,
|
|
2680
|
+
startY: startY,
|
|
2681
|
+
orientation: orientation,
|
|
2682
|
+
numOfTicks: extraNumOfTicks,
|
|
2683
|
+
i: extraNumOfTicks
|
|
2684
|
+
}),
|
|
2685
|
+
_x = _positionMajorTick2.x1,
|
|
2686
|
+
_y = _positionMajorTick2.y1,
|
|
2687
|
+
_x2 = _positionMajorTick2.x2,
|
|
2688
|
+
_y2 = _positionMajorTick2.y2,
|
|
2689
|
+
_labelX = _positionMajorTick2.labelX,
|
|
2690
|
+
_labelY = _positionMajorTick2.labelY;
|
|
2691
|
+
|
|
2692
|
+
majorTicks.push( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(MajorTick, {
|
|
2693
|
+
key: extraNumOfTicks,
|
|
2694
|
+
id: extraNumOfTicks,
|
|
2695
|
+
x1: _x,
|
|
2696
|
+
y1: _y,
|
|
2697
|
+
x2: _x2,
|
|
2698
|
+
y2: _y2,
|
|
2699
|
+
showLabels: showLabels,
|
|
2700
|
+
label: usePercentageRange ? '100%' : max,
|
|
2701
|
+
labelX: _labelX,
|
|
2702
|
+
labelY: _labelY,
|
|
2703
|
+
majorTickFillColor: majorTickFillColor,
|
|
2704
|
+
majorTickStrokeColor: majorTickStrokeColor
|
|
2705
|
+
}));
|
|
2536
2706
|
}
|
|
2537
2707
|
|
|
2538
|
-
return
|
|
2539
|
-
valueMarkerX: valueMarkerX,
|
|
2540
|
-
valueMarkerY: valueMarkerY
|
|
2541
|
-
};
|
|
2708
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("g", null, majorTicks);
|
|
2542
2709
|
};
|
|
2543
|
-
/**
|
|
2544
|
-
* get dimensions for the marker bar in the gauge
|
|
2545
|
-
* @method getMarkerBarDimensions
|
|
2546
|
-
* @param {Object} input
|
|
2547
|
-
* @param {Number} input.gaugeLength
|
|
2548
|
-
* @param {Number} input.gaugeStartX
|
|
2549
|
-
* @param {Number} input.gaugeStartY
|
|
2550
|
-
* @param {Number} input.gaugeWidth,
|
|
2551
|
-
* @param {Number} input.gaugeHeight,
|
|
2552
|
-
* @param {String} input.orientation
|
|
2553
|
-
* @return {Object} markerBarDimensions
|
|
2554
|
-
* @return {Number} markerBarDimensions.markerBarLength
|
|
2555
|
-
* @return {Number} markerBarDimensions.markerBarX
|
|
2556
|
-
* @return {Number} markerBarDimensions.markerBarY
|
|
2557
|
-
* @return {Number} markerBarDimensions.markerBarWidth
|
|
2558
|
-
* @return {Number} markerBarDimensions.markerBarHeight
|
|
2559
|
-
*/
|
|
2560
2710
|
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2711
|
+
MajorTicks.propTypes = {
|
|
2712
|
+
width: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2713
|
+
height: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2714
|
+
startX: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2715
|
+
startY: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2716
|
+
min: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2717
|
+
max: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2718
|
+
majorUnit: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number]),
|
|
2719
|
+
orientation: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,
|
|
2720
|
+
showLabels: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,
|
|
2721
|
+
usePercentageRange: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,
|
|
2722
|
+
majorTickFillColor: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,
|
|
2723
|
+
majorTickStrokeColor: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string
|
|
2724
|
+
};
|
|
2725
|
+
MajorTicks.defaultProps = {
|
|
2726
|
+
min: 0,
|
|
2727
|
+
max: 100,
|
|
2728
|
+
majorUnit: 'auto',
|
|
2729
|
+
orientation: 'horizontal',
|
|
2730
|
+
showLabels: true,
|
|
2731
|
+
usePercentageRange: false
|
|
2732
|
+
};
|
|
2733
|
+
/* harmony default export */ __webpack_exports__["default"] = (MajorTicks);
|
|
2569
2734
|
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
gaugeWidth: gaugeWidth,
|
|
2574
|
-
gaugeHeight: gaugeHeight,
|
|
2575
|
-
gaugeBarLength: gaugeBarLength,
|
|
2576
|
-
orientation: orientation
|
|
2577
|
-
}),
|
|
2578
|
-
markerBarX = _getGaugeBarStartPosi2.gaugeBarX,
|
|
2579
|
-
markerBarY = _getGaugeBarStartPosi2.gaugeBarY;
|
|
2735
|
+
/***/ }),
|
|
2736
|
+
/* 97 */
|
|
2737
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2580
2738
|
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2739
|
+
"use strict";
|
|
2740
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2741
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "positionValueMarkerRect", function() { return positionValueMarkerRect; });
|
|
2742
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "positionLabel", function() { return positionLabel; });
|
|
2743
|
+
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43);
|
|
2744
|
+
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);
|
|
2745
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
|
|
2746
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
2747
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(0);
|
|
2748
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
|
|
2749
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4);
|
|
2750
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_3__);
|
|
2751
|
+
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21);
|
|
2752
|
+
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__);
|
|
2753
|
+
|
|
2754
|
+
|
|
2755
|
+
|
|
2756
|
+
|
|
2757
|
+
|
|
2758
|
+
var MARKER_THICKNESS = 15;
|
|
2759
|
+
var MARKER_INNER_LENGTH = 30;
|
|
2760
|
+
var MARKER_LABEL_WIDTH = 60;
|
|
2761
|
+
var MARKER_LABEL_HEIGHT = 25;
|
|
2762
|
+
var RADIUS = 2;
|
|
2763
|
+
var DELTA_LENGTH = 12;
|
|
2764
|
+
var ValueMarkerRect = styled_components__WEBPACK_IMPORTED_MODULE_3___default.a.path.withConfig({
|
|
2765
|
+
displayName: "GaugeValueMarker__ValueMarkerRect",
|
|
2766
|
+
componentId: "sc-1bxkeao-0"
|
|
2767
|
+
})(["stroke-width:2px;fill:", ";"], function (props) {
|
|
2768
|
+
return props.valueMarkerFillColor;
|
|
2769
|
+
});
|
|
2770
|
+
var ValueMarkerLabelRect = styled_components__WEBPACK_IMPORTED_MODULE_3___default.a.rect.withConfig({
|
|
2771
|
+
displayName: "GaugeValueMarker__ValueMarkerLabelRect",
|
|
2772
|
+
componentId: "sc-1bxkeao-1"
|
|
2773
|
+
})(["fill:", ";"], function (props) {
|
|
2774
|
+
return props.valueMarkerFillColor;
|
|
2775
|
+
});
|
|
2776
|
+
var ValueMarkerLabel = styled_components__WEBPACK_IMPORTED_MODULE_3___default.a.text.withConfig({
|
|
2777
|
+
displayName: "GaugeValueMarker__ValueMarkerLabel",
|
|
2778
|
+
componentId: "sc-1bxkeao-2"
|
|
2779
|
+
})(["fill:", ";font-size:14px;font-family:Splunk Platform Sans,sans-serif;line-height:16px;text-anchor:middle;text-align:center;dominant-baseline:middle;"], function (props) {
|
|
2780
|
+
return props.valueMarkerLabelFillColor;
|
|
2781
|
+
});
|
|
2597
2782
|
/**
|
|
2598
|
-
*
|
|
2599
|
-
* @method
|
|
2783
|
+
* calculate the path of Value Marker shape
|
|
2784
|
+
* @method positionValueMarkerRect
|
|
2600
2785
|
* @param {Object} input
|
|
2601
|
-
* @param {Number} input.
|
|
2602
|
-
* @param {Number} input.
|
|
2603
|
-
* @param {Number} input.markerBarHeight
|
|
2604
|
-
* @param {Number} input.markerBarLength
|
|
2605
|
-
* @param {Number} input.value
|
|
2606
|
-
* @param {Number} input.min
|
|
2607
|
-
* @param {Number} input.max
|
|
2786
|
+
* @param {Number} input.x
|
|
2787
|
+
* @param {Number} input.y
|
|
2608
2788
|
* @param {String} input.orientation
|
|
2609
|
-
* @
|
|
2610
|
-
* @return {
|
|
2611
|
-
* @return {Number} position.valueMarkerY
|
|
2789
|
+
* @param {Number} input.valueMarkerRectLength
|
|
2790
|
+
* @return {String} d containing a series of path commands that define the path to be
|
|
2612
2791
|
*/
|
|
2613
2792
|
|
|
2614
|
-
var
|
|
2615
|
-
var
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
var
|
|
2624
|
-
var
|
|
2793
|
+
var positionValueMarkerRect = function positionValueMarkerRect(_ref) {
|
|
2794
|
+
var x = _ref.x,
|
|
2795
|
+
y = _ref.y,
|
|
2796
|
+
orientation = _ref.orientation,
|
|
2797
|
+
valueMarkerRectLength = _ref.valueMarkerRectLength;
|
|
2798
|
+
var hLength = MARKER_THICKNESS;
|
|
2799
|
+
var vLength = valueMarkerRectLength;
|
|
2800
|
+
var markerStartX = x - MARKER_THICKNESS;
|
|
2801
|
+
var markerStartY = y;
|
|
2802
|
+
var innerHLength = hLength / 3;
|
|
2803
|
+
var innerVLength = MARKER_INNER_LENGTH;
|
|
2804
|
+
var innerStartX = markerStartX + innerHLength;
|
|
2805
|
+
var innerStartY = markerStartY + 7;
|
|
2625
2806
|
|
|
2626
2807
|
if (orientation === 'vertical') {
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
} else {
|
|
2635
|
-
valueMarkerX += getGaugeBarLength({
|
|
2636
|
-
gaugeLength: gaugeLength,
|
|
2637
|
-
value: value,
|
|
2638
|
-
max: max,
|
|
2639
|
-
min: min
|
|
2640
|
-
});
|
|
2641
|
-
valueMarkerY -= (GAUGE_THICKNESS - FILL_THICKNESS) / 4;
|
|
2808
|
+
hLength = valueMarkerRectLength;
|
|
2809
|
+
vLength = MARKER_THICKNESS;
|
|
2810
|
+
markerStartX = x;
|
|
2811
|
+
innerHLength = MARKER_INNER_LENGTH;
|
|
2812
|
+
innerVLength = vLength / 3;
|
|
2813
|
+
innerStartX = markerStartX + 7;
|
|
2814
|
+
innerStartY = markerStartY + innerVLength;
|
|
2642
2815
|
}
|
|
2643
2816
|
|
|
2644
|
-
return
|
|
2645
|
-
valueMarkerX: valueMarkerX,
|
|
2646
|
-
valueMarkerY: valueMarkerY
|
|
2647
|
-
};
|
|
2648
|
-
};
|
|
2649
|
-
/**
|
|
2650
|
-
* sort the ranges in ascending order
|
|
2651
|
-
* @method getSortedRanges
|
|
2652
|
-
* @param {Array} ranges
|
|
2653
|
-
* @return {Array} sortedRanges
|
|
2654
|
-
*/
|
|
2655
|
-
|
|
2656
|
-
var getSortedRanges = function getSortedRanges(ranges) {
|
|
2657
|
-
return ranges.sort(function (a, b) {
|
|
2658
|
-
return a.from - b.from;
|
|
2659
|
-
});
|
|
2817
|
+
return "M".concat(markerStartX, ",").concat(markerStartY, "h").concat(hLength, "a").concat(RADIUS, ",").concat(RADIUS, " 0 0 1 ").concat(RADIUS, ",").concat(RADIUS, "v").concat(vLength - 2 * RADIUS, "a").concat(RADIUS, ",").concat(RADIUS, " 0 0 1 ").concat(-RADIUS, ",").concat(RADIUS, "h").concat(-hLength, "a").concat(RADIUS, ",").concat(RADIUS, " 0 0 1 ").concat(-RADIUS, ",").concat(-RADIUS, "v").concat(2 * RADIUS - vLength, "a").concat(RADIUS, ",").concat(RADIUS, " 0 0 1 ").concat(RADIUS, ",").concat(-RADIUS, "z") + "M".concat(innerStartX, ",").concat(innerStartY, "v").concat(innerVLength - RADIUS, "a").concat(RADIUS, ",").concat(RADIUS, " 0 0 0 ").concat(RADIUS, ",").concat(RADIUS, "h").concat(innerHLength - 2 * RADIUS, "a").concat(RADIUS, ",").concat(RADIUS, " 0 0 0 ").concat(RADIUS, ",").concat(-RADIUS, "v").concat(RADIUS - innerVLength, "a").concat(RADIUS, ",").concat(RADIUS, " 0 0 0 ").concat(-RADIUS, ",").concat(-RADIUS, "h").concat(2 * RADIUS - innerHLength, "a").concat(RADIUS, ",").concat(RADIUS, " 0 0 0 ").concat(-RADIUS, ",").concat(RADIUS, "z");
|
|
2660
2818
|
};
|
|
2661
2819
|
/**
|
|
2662
|
-
*
|
|
2663
|
-
* @method
|
|
2664
|
-
* @param {
|
|
2665
|
-
* @
|
|
2820
|
+
* calculate the position of value marker label
|
|
2821
|
+
* @method positionLabel
|
|
2822
|
+
* @param {Object} input
|
|
2823
|
+
* @param {Number} input.x
|
|
2824
|
+
* @param {Number} input.y
|
|
2825
|
+
* @param {Number} input.length gauge thickness
|
|
2826
|
+
* @param {String} input.orientation
|
|
2827
|
+
* @return {Object} positions
|
|
2828
|
+
* @return {Number} positions.labelRectX x of value marker label rect
|
|
2829
|
+
* @return {Number} positions.labelRectY y of value marker label rect
|
|
2830
|
+
* @return {Number} positions.labelX x of value marker label text
|
|
2831
|
+
* @return {Number} positions.labelY y of value marker label text
|
|
2666
2832
|
*/
|
|
2667
2833
|
|
|
2668
|
-
var
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
if (ranges.some(function (range) {
|
|
2675
|
-
return range.from >= range.to;
|
|
2676
|
-
})) {
|
|
2677
|
-
return Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_3__["_"])('Prop "ranges" has invalid entries: invalid range');
|
|
2678
|
-
} // check whether ranges have duplicate "from/to" eg: 0 - 50, 25 - 50
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
if (ranges.length !== lodash_uniqBy__WEBPACK_IMPORTED_MODULE_1___default()(ranges, 'to').length || ranges.length !== lodash_uniqBy__WEBPACK_IMPORTED_MODULE_1___default()(ranges, 'from').length) {
|
|
2682
|
-
return Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_3__["_"])('Prop "ranges" has invalid entries: duplicate values');
|
|
2683
|
-
}
|
|
2834
|
+
var positionLabel = function positionLabel(_ref2) {
|
|
2835
|
+
var x = _ref2.x,
|
|
2836
|
+
y = _ref2.y,
|
|
2837
|
+
length = _ref2.length,
|
|
2838
|
+
orientation = _ref2.orientation; // for horizontal view
|
|
2684
2839
|
|
|
2685
|
-
var
|
|
2840
|
+
var labelRectX = x - MARKER_THICKNESS / 2 - MARKER_LABEL_WIDTH / 2;
|
|
2841
|
+
var labelRectY = y + length;
|
|
2686
2842
|
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
}
|
|
2843
|
+
if (orientation === 'vertical') {
|
|
2844
|
+
labelRectX = x + length;
|
|
2845
|
+
labelRectY = y - (MARKER_LABEL_HEIGHT - MARKER_THICKNESS) / 2;
|
|
2691
2846
|
}
|
|
2692
2847
|
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
/**
|
|
2696
|
-
* calculate min and max value of gauge
|
|
2697
|
-
* @method getGaugeRange
|
|
2698
|
-
* @param {Array} ranges
|
|
2699
|
-
* @return {Object} gaugeRange
|
|
2700
|
-
* @return {Number} gaugeRange.min
|
|
2701
|
-
* @return {Number} gaugeRange.max
|
|
2702
|
-
*/
|
|
2703
|
-
|
|
2704
|
-
var getGaugeRange = function getGaugeRange(ranges) {
|
|
2705
|
-
var min = Math.min.apply(Math, _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default()(ranges.map(function (range) {
|
|
2706
|
-
return range.from;
|
|
2707
|
-
})));
|
|
2708
|
-
var max = Math.max.apply(Math, _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default()(ranges.map(function (range) {
|
|
2709
|
-
return range.to;
|
|
2710
|
-
})));
|
|
2848
|
+
var labelX = labelRectX + MARKER_LABEL_WIDTH / 2;
|
|
2849
|
+
var labelY = labelRectY + MARKER_LABEL_HEIGHT / 2;
|
|
2711
2850
|
return {
|
|
2712
|
-
|
|
2713
|
-
|
|
2851
|
+
labelRectX: labelRectX,
|
|
2852
|
+
labelRectY: labelRectY,
|
|
2853
|
+
labelX: labelX,
|
|
2854
|
+
labelY: labelY
|
|
2714
2855
|
};
|
|
2715
2856
|
};
|
|
2716
|
-
/**
|
|
2717
|
-
* calculate stop offsets for linear gradient
|
|
2718
|
-
* @method getGradientStopOffsets
|
|
2719
|
-
* @param {Array} ranges
|
|
2720
|
-
* @param {String} orientation
|
|
2721
|
-
* @return {Array} cumulativeOffsets
|
|
2722
|
-
*/
|
|
2723
|
-
|
|
2724
|
-
var getGradientStopOffsets = function getGradientStopOffsets(_ref15) {
|
|
2725
|
-
var ranges = _ref15.ranges,
|
|
2726
|
-
orientation = _ref15.orientation;
|
|
2727
|
-
|
|
2728
|
-
var _getGaugeRange = getGaugeRange(ranges),
|
|
2729
|
-
min = _getGaugeRange.min,
|
|
2730
|
-
max = _getGaugeRange.max;
|
|
2731
2857
|
|
|
2732
|
-
|
|
2733
|
-
var
|
|
2734
|
-
return Math.abs(range.from - range.to) * offsetScale;
|
|
2735
|
-
}); // When orientation is vertical, since the gauge starts from bottom to top, linear gradient should be reversed
|
|
2858
|
+
var ValueMarker = function ValueMarker(_ref3) {
|
|
2859
|
+
var props = _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, _ref3);
|
|
2736
2860
|
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
* @param {String} orientation
|
|
2750
|
-
* @return {Array} stopColors
|
|
2751
|
-
*/
|
|
2861
|
+
var x = props.x,
|
|
2862
|
+
y = props.y,
|
|
2863
|
+
length = props.length,
|
|
2864
|
+
min = props.min,
|
|
2865
|
+
max = props.max,
|
|
2866
|
+
value = props.value,
|
|
2867
|
+
orientation = props.orientation,
|
|
2868
|
+
showValue = props.showValue,
|
|
2869
|
+
usePercentageValue = props.usePercentageValue,
|
|
2870
|
+
valueMarkerFillColor = props.valueMarkerFillColor,
|
|
2871
|
+
valueMarkerLabelFillColor = props.valueMarkerLabelFillColor;
|
|
2872
|
+
var valueMarkerRectLength = length + DELTA_LENGTH;
|
|
2752
2873
|
|
|
2753
|
-
var
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
})
|
|
2874
|
+
var _positionLabel = positionLabel({
|
|
2875
|
+
x: x,
|
|
2876
|
+
y: y,
|
|
2877
|
+
length: length,
|
|
2878
|
+
orientation: orientation
|
|
2879
|
+
}),
|
|
2880
|
+
labelRectX = _positionLabel.labelRectX,
|
|
2881
|
+
labelRectY = _positionLabel.labelRectY,
|
|
2882
|
+
labelX = _positionLabel.labelX,
|
|
2883
|
+
labelY = _positionLabel.labelY;
|
|
2759
2884
|
|
|
2760
|
-
return
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
*/
|
|
2885
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("g", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(ValueMarkerRect, {
|
|
2886
|
+
"data-test": "value-marker-rect",
|
|
2887
|
+
d: positionValueMarkerRect({
|
|
2888
|
+
x: x,
|
|
2889
|
+
y: y,
|
|
2890
|
+
orientation: orientation,
|
|
2891
|
+
valueMarkerRectLength: valueMarkerRectLength
|
|
2892
|
+
}),
|
|
2893
|
+
valueMarkerFillColor: valueMarkerFillColor
|
|
2894
|
+
}), showValue && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("g", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(ValueMarkerLabelRect, {
|
|
2895
|
+
"data-test": "value-marker-label-rect",
|
|
2896
|
+
x: labelRectX,
|
|
2897
|
+
y: labelRectY,
|
|
2898
|
+
width: MARKER_LABEL_WIDTH,
|
|
2899
|
+
height: MARKER_LABEL_HEIGHT,
|
|
2900
|
+
rx: RADIUS,
|
|
2901
|
+
ry: RADIUS,
|
|
2902
|
+
valueMarkerFillColor: valueMarkerFillColor
|
|
2903
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(ValueMarkerLabel, {
|
|
2904
|
+
"data-test": "value-marker-label",
|
|
2905
|
+
x: labelX,
|
|
2906
|
+
y: labelY,
|
|
2907
|
+
valueMarkerLabelFillColor: valueMarkerLabelFillColor
|
|
2908
|
+
}, usePercentageValue ? "".concat((value / (max - min) * 100).toFixed(2), "%") : Object(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__["formatNumber"])(value, 0, {
|
|
2909
|
+
useThousandSeparators: true,
|
|
2910
|
+
useTrendUnits: true
|
|
2911
|
+
}))));
|
|
2912
|
+
};
|
|
2770
2913
|
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2914
|
+
ValueMarker.propTypes = {
|
|
2915
|
+
x: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2916
|
+
y: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2917
|
+
length: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2918
|
+
min: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2919
|
+
max: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2920
|
+
value: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2921
|
+
orientation: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,
|
|
2922
|
+
showValue: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,
|
|
2923
|
+
usePercentageValue: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,
|
|
2924
|
+
valueMarkerFillColor: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,
|
|
2925
|
+
valueMarkerLabelFillColor: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string
|
|
2926
|
+
};
|
|
2927
|
+
ValueMarker.defaultProps = {
|
|
2928
|
+
min: 0,
|
|
2929
|
+
max: 100,
|
|
2930
|
+
orientation: 'horizontal',
|
|
2931
|
+
showValue: true,
|
|
2932
|
+
usePercentageValue: false
|
|
2933
|
+
};
|
|
2934
|
+
/* harmony default export */ __webpack_exports__["default"] = (ValueMarker);
|
|
2783
2935
|
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2936
|
+
/***/ }),
|
|
2937
|
+
/* 98 */,
|
|
2938
|
+
/* 99 */,
|
|
2939
|
+
/* 100 */,
|
|
2940
|
+
/* 101 */,
|
|
2941
|
+
/* 102 */,
|
|
2942
|
+
/* 103 */,
|
|
2943
|
+
/* 104 */,
|
|
2944
|
+
/* 105 */,
|
|
2945
|
+
/* 106 */,
|
|
2946
|
+
/* 107 */,
|
|
2947
|
+
/* 108 */,
|
|
2948
|
+
/* 109 */,
|
|
2949
|
+
/* 110 */,
|
|
2950
|
+
/* 111 */,
|
|
2951
|
+
/* 112 */,
|
|
2952
|
+
/* 113 */,
|
|
2953
|
+
/* 114 */,
|
|
2954
|
+
/* 115 */,
|
|
2955
|
+
/* 116 */,
|
|
2956
|
+
/* 117 */,
|
|
2957
|
+
/* 118 */,
|
|
2958
|
+
/* 119 */,
|
|
2959
|
+
/* 120 */,
|
|
2960
|
+
/* 121 */,
|
|
2961
|
+
/* 122 */
|
|
2962
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2788
2963
|
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
});
|
|
2964
|
+
"use strict";
|
|
2965
|
+
|
|
2966
|
+
|
|
2967
|
+
var __rest = this && this.__rest || function (s, e) {
|
|
2968
|
+
var t = {};
|
|
2969
|
+
|
|
2970
|
+
for (var p in s) {
|
|
2971
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
2798
2972
|
}
|
|
2799
2973
|
|
|
2800
|
-
|
|
2974
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
2975
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
2976
|
+
}
|
|
2977
|
+
return t;
|
|
2801
2978
|
};
|
|
2802
|
-
/**
|
|
2803
|
-
* calculate linear gradient dimensions
|
|
2804
|
-
* @method getGradientDimensions
|
|
2805
|
-
* @param {String} orientation
|
|
2806
|
-
* @return {Object} dimensions
|
|
2807
|
-
* @return {String} dimensions.x1
|
|
2808
|
-
* @return {String} dimensions.y1
|
|
2809
|
-
* @return {String} dimensions.x2
|
|
2810
|
-
* @return {String} dimensions.y2
|
|
2811
|
-
*/
|
|
2812
2979
|
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2980
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2981
|
+
value: true
|
|
2982
|
+
});
|
|
2983
|
+
exports.config = exports.computeVizProps = exports.PureMarkerGauge = void 0;
|
|
2984
|
+
|
|
2985
|
+
var lodash_1 = __webpack_require__(2);
|
|
2986
|
+
|
|
2987
|
+
var MarkerGauge_1 = __webpack_require__(190);
|
|
2988
|
+
|
|
2989
|
+
var config_1 = __webpack_require__(192);
|
|
2990
|
+
|
|
2991
|
+
exports.config = config_1.default;
|
|
2992
|
+
|
|
2993
|
+
var withDashboardViz_1 = __webpack_require__(27);
|
|
2994
|
+
|
|
2995
|
+
var gaugeUtils_1 = __webpack_require__(71);
|
|
2996
|
+
|
|
2997
|
+
exports.PureMarkerGauge = MarkerGauge_1.default;
|
|
2998
|
+
var validOptions = Object.keys(config_1.default.optionsSchema);
|
|
2999
|
+
|
|
3000
|
+
var computeVizProps = function computeVizProps(_a) {
|
|
3001
|
+
var props = __rest(_a, []);
|
|
3002
|
+
|
|
3003
|
+
var options = lodash_1.chain(props).pick(validOptions).thru(gaugeUtils_1.convertToGaugeProperties).value();
|
|
3004
|
+
var defaultColors = {
|
|
3005
|
+
fillColor: config_1.default.themes.defaultFillColor(props),
|
|
3006
|
+
majorTickFillColor: config_1.default.themes.majorTickFillColor(props),
|
|
3007
|
+
majorTickStrokeColor: config_1.default.themes.majorTickStrokeColor(props),
|
|
3008
|
+
valueMarkerFillColor: config_1.default.themes.valueMarkerFillColor(props),
|
|
3009
|
+
valueMarkerLabelFillColor: config_1.default.themes.valueMarkerLabelFillColor(props)
|
|
2823
3010
|
};
|
|
3011
|
+
return Object.assign(Object.assign({}, options), defaultColors);
|
|
2824
3012
|
};
|
|
2825
3013
|
|
|
3014
|
+
exports.computeVizProps = computeVizProps;
|
|
3015
|
+
var viz = withDashboardViz_1.default({
|
|
3016
|
+
ReactViz: MarkerGauge_1.default,
|
|
3017
|
+
computeVizProps: exports.computeVizProps,
|
|
3018
|
+
vizConfig: config_1.default
|
|
3019
|
+
});
|
|
3020
|
+
exports.default = viz;
|
|
3021
|
+
|
|
2826
3022
|
/***/ }),
|
|
2827
|
-
/*
|
|
2828
|
-
|
|
3023
|
+
/* 123 */,
|
|
3024
|
+
/* 124 */,
|
|
3025
|
+
/* 125 */,
|
|
3026
|
+
/* 126 */,
|
|
3027
|
+
/* 127 */,
|
|
3028
|
+
/* 128 */,
|
|
3029
|
+
/* 129 */,
|
|
3030
|
+
/* 130 */,
|
|
3031
|
+
/* 131 */,
|
|
3032
|
+
/* 132 */,
|
|
3033
|
+
/* 133 */,
|
|
3034
|
+
/* 134 */,
|
|
3035
|
+
/* 135 */,
|
|
3036
|
+
/* 136 */,
|
|
3037
|
+
/* 137 */,
|
|
3038
|
+
/* 138 */,
|
|
3039
|
+
/* 139 */,
|
|
3040
|
+
/* 140 */,
|
|
3041
|
+
/* 141 */,
|
|
3042
|
+
/* 142 */,
|
|
3043
|
+
/* 143 */,
|
|
3044
|
+
/* 144 */,
|
|
3045
|
+
/* 145 */,
|
|
3046
|
+
/* 146 */,
|
|
3047
|
+
/* 147 */,
|
|
3048
|
+
/* 148 */,
|
|
3049
|
+
/* 149 */,
|
|
3050
|
+
/* 150 */,
|
|
3051
|
+
/* 151 */,
|
|
3052
|
+
/* 152 */,
|
|
3053
|
+
/* 153 */,
|
|
3054
|
+
/* 154 */,
|
|
3055
|
+
/* 155 */,
|
|
3056
|
+
/* 156 */,
|
|
3057
|
+
/* 157 */,
|
|
3058
|
+
/* 158 */,
|
|
3059
|
+
/* 159 */,
|
|
3060
|
+
/* 160 */,
|
|
3061
|
+
/* 161 */,
|
|
3062
|
+
/* 162 */,
|
|
3063
|
+
/* 163 */,
|
|
3064
|
+
/* 164 */,
|
|
3065
|
+
/* 165 */,
|
|
3066
|
+
/* 166 */,
|
|
3067
|
+
/* 167 */,
|
|
3068
|
+
/* 168 */,
|
|
3069
|
+
/* 169 */,
|
|
3070
|
+
/* 170 */,
|
|
3071
|
+
/* 171 */,
|
|
3072
|
+
/* 172 */,
|
|
3073
|
+
/* 173 */,
|
|
3074
|
+
/* 174 */,
|
|
3075
|
+
/* 175 */,
|
|
3076
|
+
/* 176 */,
|
|
3077
|
+
/* 177 */,
|
|
3078
|
+
/* 178 */,
|
|
3079
|
+
/* 179 */,
|
|
3080
|
+
/* 180 */,
|
|
3081
|
+
/* 181 */,
|
|
3082
|
+
/* 182 */,
|
|
3083
|
+
/* 183 */,
|
|
3084
|
+
/* 184 */,
|
|
3085
|
+
/* 185 */,
|
|
3086
|
+
/* 186 */,
|
|
3087
|
+
/* 187 */,
|
|
3088
|
+
/* 188 */,
|
|
3089
|
+
/* 189 */
|
|
3090
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2829
3091
|
|
|
2830
3092
|
"use strict";
|
|
2831
|
-
__webpack_require__.r(__webpack_exports__);
|
|
2832
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MajorTick", function() { return MajorTick; });
|
|
2833
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "positionMajorTick", function() { return positionMajorTick; });
|
|
2834
|
-
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(42);
|
|
2835
|
-
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);
|
|
2836
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
|
|
2837
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
2838
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(0);
|
|
2839
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
|
|
2840
|
-
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4);
|
|
2841
|
-
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_3__);
|
|
2842
|
-
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(24);
|
|
2843
|
-
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__);
|
|
2844
|
-
|
|
2845
3093
|
|
|
2846
3094
|
|
|
3095
|
+
var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
|
|
3096
|
+
if (k2 === undefined) k2 = k;
|
|
3097
|
+
Object.defineProperty(o, k2, {
|
|
3098
|
+
enumerable: true,
|
|
3099
|
+
get: function get() {
|
|
3100
|
+
return m[k];
|
|
3101
|
+
}
|
|
3102
|
+
});
|
|
3103
|
+
} : function (o, m, k, k2) {
|
|
3104
|
+
if (k2 === undefined) k2 = k;
|
|
3105
|
+
o[k2] = m[k];
|
|
3106
|
+
});
|
|
2847
3107
|
|
|
3108
|
+
var __exportStar = this && this.__exportStar || function (m, exports) {
|
|
3109
|
+
for (var p in m) {
|
|
3110
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
3111
|
+
}
|
|
3112
|
+
};
|
|
2848
3113
|
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
var TICK_LABEL_PADDING_FACTOR = 3.2;
|
|
2852
|
-
var MajorTickLine = styled_components__WEBPACK_IMPORTED_MODULE_3___default.a.line.withConfig({
|
|
2853
|
-
displayName: "GaugeMajorTicks__MajorTickLine",
|
|
2854
|
-
componentId: "mchiad-0"
|
|
2855
|
-
})(["stroke:", ";stroke-width:2px;stroke-dasharray:", ";"], function (props) {
|
|
2856
|
-
return props.majorTickStrokeColor;
|
|
2857
|
-
}, function (props) {
|
|
2858
|
-
return props.index === 0 ? 0 : 3;
|
|
3114
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3115
|
+
value: true
|
|
2859
3116
|
});
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
3117
|
+
exports.default = void 0;
|
|
3118
|
+
|
|
3119
|
+
__exportStar(__webpack_require__(122), exports);
|
|
3120
|
+
|
|
3121
|
+
var MarkerGauge_1 = __webpack_require__(122);
|
|
3122
|
+
|
|
3123
|
+
Object.defineProperty(exports, "default", {
|
|
3124
|
+
enumerable: true,
|
|
3125
|
+
get: function get() {
|
|
3126
|
+
return MarkerGauge_1.default;
|
|
3127
|
+
}
|
|
2865
3128
|
});
|
|
2866
|
-
var MajorTick = function MajorTick(_ref) {
|
|
2867
|
-
var index = _ref.index,
|
|
2868
|
-
x1 = _ref.x1,
|
|
2869
|
-
y1 = _ref.y1,
|
|
2870
|
-
x2 = _ref.x2,
|
|
2871
|
-
y2 = _ref.y2,
|
|
2872
|
-
showLabels = _ref.showLabels,
|
|
2873
|
-
label = _ref.label,
|
|
2874
|
-
labelX = _ref.labelX,
|
|
2875
|
-
labelY = _ref.labelY,
|
|
2876
|
-
majorTickStrokeColor = _ref.majorTickStrokeColor,
|
|
2877
|
-
majorTickFillColor = _ref.majorTickFillColor;
|
|
2878
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("g", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(MajorTickLine, {
|
|
2879
|
-
index: index,
|
|
2880
|
-
x1: x1,
|
|
2881
|
-
y1: y1,
|
|
2882
|
-
x2: x2,
|
|
2883
|
-
y2: y2,
|
|
2884
|
-
majorTickStrokeColor: majorTickStrokeColor
|
|
2885
|
-
}), showLabels && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(MajorTickLabel, {
|
|
2886
|
-
x: labelX,
|
|
2887
|
-
y: labelY,
|
|
2888
|
-
majorTickFillColor: majorTickFillColor
|
|
2889
|
-
}, Object(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__["isNumerial"])(label) ? Object(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__["formatNumber"])(label, 0, {
|
|
2890
|
-
useThousandSeparators: true,
|
|
2891
|
-
useTrendUnits: true
|
|
2892
|
-
}) : label));
|
|
2893
|
-
};
|
|
2894
|
-
MajorTick.propTypes = {
|
|
2895
|
-
index: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2896
|
-
x1: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2897
|
-
y1: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2898
|
-
x2: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2899
|
-
y2: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2900
|
-
showLabels: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,
|
|
2901
|
-
label: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number]),
|
|
2902
|
-
labelX: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2903
|
-
labelY: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2904
|
-
majorTickStrokeColor: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,
|
|
2905
|
-
majorTickFillColor: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string
|
|
2906
|
-
};
|
|
2907
|
-
/**
|
|
2908
|
-
* calculate position for each major tick
|
|
2909
|
-
* @method positionMajorTick
|
|
2910
|
-
* @param {Object} input
|
|
2911
|
-
* @param {Number} input.width
|
|
2912
|
-
* @param {Number} input.height
|
|
2913
|
-
* @param {Number} input.startX start x for rendering the first major tick
|
|
2914
|
-
* @param {Number} input.startY start y for rendering the first major tick
|
|
2915
|
-
* @param {String} input.orientation
|
|
2916
|
-
* @param {Number} input.numOfTicks how many ticks need to render
|
|
2917
|
-
* @param {Number} input.i index of major tick
|
|
2918
|
-
* @return {Object} MajorTick positions
|
|
2919
|
-
*/
|
|
2920
3129
|
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
startX = _ref2.startX,
|
|
2925
|
-
startY = _ref2.startY,
|
|
2926
|
-
orientation = _ref2.orientation,
|
|
2927
|
-
numOfTicks = _ref2.numOfTicks,
|
|
2928
|
-
i = _ref2.i;
|
|
2929
|
-
var x1 = startX;
|
|
2930
|
-
var y1 = startY;
|
|
2931
|
-
var x2 = startX;
|
|
2932
|
-
var y2 = startY;
|
|
2933
|
-
var labelX = startX;
|
|
2934
|
-
var labelY;
|
|
3130
|
+
/***/ }),
|
|
3131
|
+
/* 190 */
|
|
3132
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2935
3133
|
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
} else {
|
|
2945
|
-
var x = width / numOfTicks * i + startX;
|
|
2946
|
-
x1 = x;
|
|
2947
|
-
y1 -= TICK_LENGTH_DELTA;
|
|
2948
|
-
x2 = x;
|
|
2949
|
-
y2 += height + TICK_LENGTH_DELTA;
|
|
2950
|
-
labelX = x;
|
|
2951
|
-
labelY = y2 + 16;
|
|
3134
|
+
"use strict";
|
|
3135
|
+
|
|
3136
|
+
|
|
3137
|
+
var __rest = this && this.__rest || function (s, e) {
|
|
3138
|
+
var t = {};
|
|
3139
|
+
|
|
3140
|
+
for (var p in s) {
|
|
3141
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
2952
3142
|
}
|
|
2953
3143
|
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
y2: y2,
|
|
2959
|
-
labelX: labelX,
|
|
2960
|
-
labelY: labelY
|
|
2961
|
-
};
|
|
3144
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
3145
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
3146
|
+
}
|
|
3147
|
+
return t;
|
|
2962
3148
|
};
|
|
2963
3149
|
|
|
2964
|
-
|
|
2965
|
-
|
|
3150
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3151
|
+
value: true
|
|
3152
|
+
});
|
|
2966
3153
|
|
|
2967
|
-
|
|
2968
|
-
height = props.height,
|
|
2969
|
-
startX = props.startX,
|
|
2970
|
-
startY = props.startY,
|
|
2971
|
-
min = props.min,
|
|
2972
|
-
max = props.max,
|
|
2973
|
-
majorUnit = props.majorUnit,
|
|
2974
|
-
orientation = props.orientation,
|
|
2975
|
-
showLabels = props.showLabels,
|
|
2976
|
-
usePercentageRange = props.usePercentageRange,
|
|
2977
|
-
majorTickFillColor = props.majorTickFillColor,
|
|
2978
|
-
majorTickStrokeColor = props.majorTickStrokeColor;
|
|
2979
|
-
var range = max - min;
|
|
2980
|
-
var numOfTicks = majorUnit === 'auto' || Number.isNaN(Number(majorUnit)) || majorUnit <= 0 ? DEFAULT_NUM_OF_TICKS : range / majorUnit;
|
|
2981
|
-
var majorTicks = [];
|
|
3154
|
+
var React = __webpack_require__(1);
|
|
2982
3155
|
|
|
2983
|
-
|
|
2984
|
-
var _positionMajorTick = positionMajorTick({
|
|
2985
|
-
width: width,
|
|
2986
|
-
height: height,
|
|
2987
|
-
startX: startX,
|
|
2988
|
-
startY: startY,
|
|
2989
|
-
orientation: orientation,
|
|
2990
|
-
numOfTicks: numOfTicks,
|
|
2991
|
-
i: i
|
|
2992
|
-
}),
|
|
2993
|
-
x1 = _positionMajorTick.x1,
|
|
2994
|
-
y1 = _positionMajorTick.y1,
|
|
2995
|
-
x2 = _positionMajorTick.x2,
|
|
2996
|
-
y2 = _positionMajorTick.y2,
|
|
2997
|
-
labelX = _positionMajorTick.labelX,
|
|
2998
|
-
labelY = _positionMajorTick.labelY;
|
|
3156
|
+
var react_1 = __webpack_require__(1);
|
|
2999
3157
|
|
|
3000
|
-
|
|
3001
|
-
majorTicks.push( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(MajorTick, {
|
|
3002
|
-
key: i,
|
|
3003
|
-
index: i,
|
|
3004
|
-
x1: x1,
|
|
3005
|
-
y1: y1,
|
|
3006
|
-
x2: x2,
|
|
3007
|
-
y2: y2,
|
|
3008
|
-
showLabels: showLabels,
|
|
3009
|
-
label: label,
|
|
3010
|
-
labelX: labelX,
|
|
3011
|
-
labelY: labelY,
|
|
3012
|
-
majorTickFillColor: majorTickFillColor,
|
|
3013
|
-
majorTickStrokeColor: majorTickStrokeColor
|
|
3014
|
-
}));
|
|
3015
|
-
} // if the gauge is not divided evenly, put the last tick at the end of the gauge
|
|
3158
|
+
var T = __webpack_require__(0);
|
|
3016
3159
|
|
|
3160
|
+
var styled_components_1 = __webpack_require__(4);
|
|
3017
3161
|
|
|
3018
|
-
|
|
3019
|
-
var extraNumOfTicks = Math.ceil(numOfTicks);
|
|
3162
|
+
var lodash_1 = __webpack_require__(2);
|
|
3020
3163
|
|
|
3021
|
-
|
|
3022
|
-
width: width,
|
|
3023
|
-
height: height,
|
|
3024
|
-
startX: startX,
|
|
3025
|
-
startY: startY,
|
|
3026
|
-
orientation: orientation,
|
|
3027
|
-
numOfTicks: extraNumOfTicks,
|
|
3028
|
-
i: extraNumOfTicks
|
|
3029
|
-
}),
|
|
3030
|
-
_x = _positionMajorTick2.x1,
|
|
3031
|
-
_y = _positionMajorTick2.y1,
|
|
3032
|
-
_x2 = _positionMajorTick2.x2,
|
|
3033
|
-
_y2 = _positionMajorTick2.y2,
|
|
3034
|
-
_labelX = _positionMajorTick2.labelX,
|
|
3035
|
-
_labelY = _positionMajorTick2.labelY;
|
|
3164
|
+
var i18n_1 = __webpack_require__(3);
|
|
3036
3165
|
|
|
3037
|
-
|
|
3038
|
-
key: extraNumOfTicks,
|
|
3039
|
-
id: extraNumOfTicks,
|
|
3040
|
-
x1: _x,
|
|
3041
|
-
y1: _y,
|
|
3042
|
-
x2: _x2,
|
|
3043
|
-
y2: _y2,
|
|
3044
|
-
showLabels: showLabels,
|
|
3045
|
-
label: usePercentageRange ? '100%' : max,
|
|
3046
|
-
labelX: _labelX,
|
|
3047
|
-
labelY: _labelY,
|
|
3048
|
-
majorTickFillColor: majorTickFillColor,
|
|
3049
|
-
majorTickStrokeColor: majorTickStrokeColor
|
|
3050
|
-
}));
|
|
3051
|
-
}
|
|
3166
|
+
var style_1 = __webpack_require__(13);
|
|
3052
3167
|
|
|
3053
|
-
|
|
3054
|
-
};
|
|
3168
|
+
var SizeAwareWrapper_1 = __webpack_require__(17);
|
|
3055
3169
|
|
|
3056
|
-
|
|
3057
|
-
width: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
3058
|
-
height: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
3059
|
-
startX: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
3060
|
-
startY: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
3061
|
-
min: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
3062
|
-
max: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
3063
|
-
majorUnit: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number]),
|
|
3064
|
-
orientation: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,
|
|
3065
|
-
showLabels: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,
|
|
3066
|
-
usePercentageRange: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,
|
|
3067
|
-
majorTickFillColor: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,
|
|
3068
|
-
majorTickStrokeColor: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string
|
|
3069
|
-
};
|
|
3070
|
-
MajorTicks.defaultProps = {
|
|
3071
|
-
min: 0,
|
|
3072
|
-
max: 100,
|
|
3073
|
-
majorUnit: 'auto',
|
|
3074
|
-
orientation: 'horizontal',
|
|
3075
|
-
showLabels: true,
|
|
3076
|
-
usePercentageRange: false
|
|
3077
|
-
};
|
|
3078
|
-
/* harmony default export */ __webpack_exports__["default"] = (MajorTicks);
|
|
3170
|
+
var Message_1 = __webpack_require__(9);
|
|
3079
3171
|
|
|
3080
|
-
|
|
3081
|
-
/* 186 */
|
|
3082
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3083
|
-
|
|
3084
|
-
"use strict";
|
|
3085
|
-
__webpack_require__.r(__webpack_exports__);
|
|
3086
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "positionValueMarkerRect", function() { return positionValueMarkerRect; });
|
|
3087
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "positionLabel", function() { return positionLabel; });
|
|
3088
|
-
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(42);
|
|
3089
|
-
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);
|
|
3090
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
|
|
3091
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
3092
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(0);
|
|
3093
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
|
|
3094
|
-
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4);
|
|
3095
|
-
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_3__);
|
|
3096
|
-
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(24);
|
|
3097
|
-
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__);
|
|
3172
|
+
var id_1 = __webpack_require__(191);
|
|
3098
3173
|
|
|
3174
|
+
var gaugeUtils_1 = __webpack_require__(71);
|
|
3099
3175
|
|
|
3176
|
+
var GaugeMajorTicks_1 = __webpack_require__(96);
|
|
3100
3177
|
|
|
3178
|
+
var GaugeValueMarker_1 = __webpack_require__(97);
|
|
3101
3179
|
|
|
3102
|
-
|
|
3103
|
-
var
|
|
3104
|
-
var
|
|
3105
|
-
var
|
|
3106
|
-
var
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
return props.valueMarkerFillColor;
|
|
3180
|
+
var MAX_VERTICAL_CONTAINER_WIDTH = 200;
|
|
3181
|
+
var MIN_VERTICAL_CONTAINER_HEIGHT = 200;
|
|
3182
|
+
var MIN_HORIZONTAL_CONTAINER_WIDTH = 200;
|
|
3183
|
+
var MIN_HORIZONTAL_CONTAINER_HEIGHT = 100;
|
|
3184
|
+
var Container = styled_components_1.default.div.withConfig({
|
|
3185
|
+
displayName: "MarkerGauge__Container",
|
|
3186
|
+
componentId: "sc-10z02va-0"
|
|
3187
|
+
})(["overflow:hidden;", ";background-color:", ";"], function (props) {
|
|
3188
|
+
return style_1.toDimension(lodash_1.pick(props, ['width', 'height']));
|
|
3189
|
+
}, function (props) {
|
|
3190
|
+
return props.backgroundColor;
|
|
3114
3191
|
});
|
|
3115
|
-
var
|
|
3116
|
-
displayName: "
|
|
3117
|
-
componentId: "sc-
|
|
3118
|
-
})(["
|
|
3119
|
-
return props.
|
|
3192
|
+
var MarkerGaugeWrapper = styled_components_1.default.div.withConfig({
|
|
3193
|
+
displayName: "MarkerGauge__MarkerGaugeWrapper",
|
|
3194
|
+
componentId: "sc-10z02va-1"
|
|
3195
|
+
})(["display:flex;justify-content:center;flex-direction:row;width:100%;height:100%;background-color:", ";"], function (props) {
|
|
3196
|
+
return props.backgroundColor;
|
|
3120
3197
|
});
|
|
3121
|
-
var
|
|
3122
|
-
displayName: "
|
|
3123
|
-
componentId: "sc-
|
|
3124
|
-
})(["
|
|
3125
|
-
return props
|
|
3198
|
+
var MarkerGaugeContainer = styled_components_1.default.div.withConfig({
|
|
3199
|
+
displayName: "MarkerGauge__MarkerGaugeContainer",
|
|
3200
|
+
componentId: "sc-10z02va-2"
|
|
3201
|
+
})(["overflow:hidden;position:relative;", ";"], function (props) {
|
|
3202
|
+
return style_1.toDimension(lodash_1.pick(props, ['width', 'height']));
|
|
3126
3203
|
});
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3204
|
+
var MarkerGaugeSVG = styled_components_1.default.svg.withConfig({
|
|
3205
|
+
displayName: "MarkerGauge__MarkerGaugeSVG",
|
|
3206
|
+
componentId: "sc-10z02va-3"
|
|
3207
|
+
})(["", ";"], function (props) {
|
|
3208
|
+
return style_1.toDimension(lodash_1.pick(props, ['width', 'height']));
|
|
3209
|
+
});
|
|
3210
|
+
var BackgroundBar = styled_components_1.default.rect.attrs({
|
|
3211
|
+
'data-test': 'background-bar-rect'
|
|
3212
|
+
}).withConfig({
|
|
3213
|
+
displayName: "MarkerGauge__BackgroundBar",
|
|
3214
|
+
componentId: "sc-10z02va-4"
|
|
3215
|
+
})(["fill:", ";"], function (props) {
|
|
3216
|
+
return props.fillColor;
|
|
3217
|
+
});
|
|
3218
|
+
var MarkerBar = styled_components_1.default.rect.attrs({
|
|
3219
|
+
'data-test': 'marker-bar-rect'
|
|
3220
|
+
}).withConfig({
|
|
3221
|
+
displayName: "MarkerGauge__MarkerBar",
|
|
3222
|
+
componentId: "sc-10z02va-5"
|
|
3223
|
+
})([""]);
|
|
3137
3224
|
|
|
3138
|
-
var
|
|
3139
|
-
var
|
|
3140
|
-
y = _ref.y,
|
|
3141
|
-
orientation = _ref.orientation,
|
|
3142
|
-
valueMarkerRectLength = _ref.valueMarkerRectLength;
|
|
3143
|
-
var hLength = MARKER_THICKNESS;
|
|
3144
|
-
var vLength = valueMarkerRectLength;
|
|
3145
|
-
var markerStartX = x - MARKER_THICKNESS;
|
|
3146
|
-
var markerStartY = y;
|
|
3147
|
-
var innerHLength = hLength / 3;
|
|
3148
|
-
var innerVLength = MARKER_INNER_LENGTH;
|
|
3149
|
-
var innerStartX = markerStartX + innerHLength;
|
|
3150
|
-
var innerStartY = markerStartY + 7;
|
|
3225
|
+
var MarkerGauge = function MarkerGauge(_a) {
|
|
3226
|
+
var props = __rest(_a, []);
|
|
3151
3227
|
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3228
|
+
var width = props.width,
|
|
3229
|
+
height = props.height,
|
|
3230
|
+
value = props.value,
|
|
3231
|
+
orientation = props.orientation,
|
|
3232
|
+
majorUnit = props.majorUnit,
|
|
3233
|
+
showLabels = props.showLabels,
|
|
3234
|
+
showValue = props.showValue,
|
|
3235
|
+
usePercentageRange = props.usePercentageRange,
|
|
3236
|
+
usePercentageValue = props.usePercentageValue,
|
|
3237
|
+
backgroundColor = props.backgroundColor,
|
|
3238
|
+
fillColor = props.fillColor,
|
|
3239
|
+
ranges = props.ranges,
|
|
3240
|
+
majorTickFillColor = props.majorTickFillColor,
|
|
3241
|
+
majorTickStrokeColor = props.majorTickStrokeColor,
|
|
3242
|
+
valueMarkerFillColor = props.valueMarkerFillColor,
|
|
3243
|
+
valueMarkerLabelFillColor = props.valueMarkerLabelFillColor;
|
|
3244
|
+
/**
|
|
3245
|
+
* Standard error message render
|
|
3246
|
+
*/
|
|
3161
3247
|
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
*/
|
|
3248
|
+
var errorMessage = react_1.useCallback(function (containerWidth, containerHeight, err, errID) {
|
|
3249
|
+
return React.createElement(Message_1.default, {
|
|
3250
|
+
width: containerWidth,
|
|
3251
|
+
height: containerHeight,
|
|
3252
|
+
message: err,
|
|
3253
|
+
level: "info",
|
|
3254
|
+
id: errID
|
|
3255
|
+
});
|
|
3256
|
+
}, []);
|
|
3257
|
+
var errorId = react_1.useMemo(function () {
|
|
3258
|
+
return id_1.createDOMID();
|
|
3259
|
+
}, []);
|
|
3260
|
+
/**
|
|
3261
|
+
* Pre-calculate linearGradientId, error, sortedRanges, gauge range and linear gradient
|
|
3262
|
+
*/
|
|
3178
3263
|
|
|
3179
|
-
var
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3264
|
+
var error = react_1.useMemo(function () {
|
|
3265
|
+
return gaugeUtils_1.validateRanges(ranges);
|
|
3266
|
+
}, [ranges]);
|
|
3267
|
+
var sortedRanges = react_1.useMemo(function () {
|
|
3268
|
+
return gaugeUtils_1.getSortedRanges(ranges);
|
|
3269
|
+
}, [ranges]);
|
|
3184
3270
|
|
|
3185
|
-
var
|
|
3186
|
-
|
|
3271
|
+
var _react_1$useMemo = react_1.useMemo(function () {
|
|
3272
|
+
return gaugeUtils_1.getGaugeRange(sortedRanges);
|
|
3273
|
+
}, [sortedRanges]),
|
|
3274
|
+
min = _react_1$useMemo.min,
|
|
3275
|
+
max = _react_1$useMemo.max;
|
|
3187
3276
|
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3277
|
+
var linearGradientId = react_1.useMemo(function () {
|
|
3278
|
+
return id_1.createDOMID('marker');
|
|
3279
|
+
}, []);
|
|
3280
|
+
var linearGradient = react_1.useMemo(function () {
|
|
3281
|
+
var stops = gaugeUtils_1.getGradientStops({
|
|
3282
|
+
ranges: sortedRanges,
|
|
3283
|
+
orientation: orientation
|
|
3284
|
+
});
|
|
3192
3285
|
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
labelX: labelX,
|
|
3199
|
-
labelY: labelY
|
|
3200
|
-
};
|
|
3201
|
-
};
|
|
3286
|
+
var _gaugeUtils_1$getGrad = gaugeUtils_1.getGradientDimensions(orientation),
|
|
3287
|
+
x1 = _gaugeUtils_1$getGrad.x1,
|
|
3288
|
+
y1 = _gaugeUtils_1$getGrad.y1,
|
|
3289
|
+
x2 = _gaugeUtils_1$getGrad.x2,
|
|
3290
|
+
y2 = _gaugeUtils_1$getGrad.y2;
|
|
3202
3291
|
|
|
3203
|
-
var
|
|
3204
|
-
|
|
3292
|
+
var linearGradientStops = stops.map(function (stop) {
|
|
3293
|
+
return React.createElement("stop", {
|
|
3294
|
+
key: "".concat(stop.offset, "_").concat(stop.stopColor),
|
|
3295
|
+
offset: stop.offset,
|
|
3296
|
+
stopColor: stop.stopColor
|
|
3297
|
+
});
|
|
3298
|
+
});
|
|
3299
|
+
return React.createElement("linearGradient", {
|
|
3300
|
+
id: linearGradientId,
|
|
3301
|
+
x1: x1,
|
|
3302
|
+
y1: y1,
|
|
3303
|
+
x2: x2,
|
|
3304
|
+
y2: y2
|
|
3305
|
+
}, linearGradientStops);
|
|
3306
|
+
}, [sortedRanges, orientation, linearGradientId]);
|
|
3307
|
+
/**
|
|
3308
|
+
* Calculate marker gauge dimensions
|
|
3309
|
+
*/
|
|
3205
3310
|
|
|
3206
|
-
var
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
var valueMarkerRectLength = length + DELTA_LENGTH;
|
|
3311
|
+
var calculateMarkerGaugeDimensions = react_1.useCallback(function (containerWidth, containerHeight) {
|
|
3312
|
+
var _gaugeUtils_1$getGaug = gaugeUtils_1.getGaugeDimensions({
|
|
3313
|
+
containerWidth: containerWidth,
|
|
3314
|
+
containerHeight: containerHeight,
|
|
3315
|
+
orientation: orientation
|
|
3316
|
+
}),
|
|
3317
|
+
gaugeLength = _gaugeUtils_1$getGaug.gaugeLength,
|
|
3318
|
+
gaugeStartX = _gaugeUtils_1$getGaug.gaugeStartX,
|
|
3319
|
+
gaugeStartY = _gaugeUtils_1$getGaug.gaugeStartY,
|
|
3320
|
+
gaugeWidth = _gaugeUtils_1$getGaug.gaugeWidth,
|
|
3321
|
+
gaugeHeight = _gaugeUtils_1$getGaug.gaugeHeight;
|
|
3218
3322
|
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3323
|
+
var _gaugeUtils_1$getMark = gaugeUtils_1.getMarkerBarDimensions({
|
|
3324
|
+
gaugeLength: gaugeLength,
|
|
3325
|
+
gaugeStartX: gaugeStartX,
|
|
3326
|
+
gaugeStartY: gaugeStartY,
|
|
3327
|
+
gaugeWidth: gaugeWidth,
|
|
3328
|
+
gaugeHeight: gaugeHeight,
|
|
3329
|
+
orientation: orientation
|
|
3330
|
+
}),
|
|
3331
|
+
markerBarLength = _gaugeUtils_1$getMark.markerBarLength,
|
|
3332
|
+
markerBarX = _gaugeUtils_1$getMark.markerBarX,
|
|
3333
|
+
markerBarY = _gaugeUtils_1$getMark.markerBarY,
|
|
3334
|
+
markerBarWidth = _gaugeUtils_1$getMark.markerBarWidth,
|
|
3335
|
+
markerBarHeight = _gaugeUtils_1$getMark.markerBarHeight;
|
|
3229
3336
|
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3337
|
+
var _gaugeUtils_1$getMark2 = gaugeUtils_1.getMarkerGaugeValueMarkerPositions({
|
|
3338
|
+
markerBarX: markerBarX,
|
|
3339
|
+
markerBarY: markerBarY,
|
|
3340
|
+
markerBarHeight: markerBarHeight,
|
|
3341
|
+
markerBarLength: markerBarLength,
|
|
3342
|
+
orientation: orientation,
|
|
3343
|
+
value: value,
|
|
3344
|
+
min: min,
|
|
3345
|
+
max: max
|
|
3346
|
+
}),
|
|
3347
|
+
valueMarkerX = _gaugeUtils_1$getMark2.valueMarkerX,
|
|
3348
|
+
valueMarkerY = _gaugeUtils_1$getMark2.valueMarkerY;
|
|
3349
|
+
|
|
3350
|
+
return {
|
|
3351
|
+
markerBarX: markerBarX,
|
|
3352
|
+
markerBarY: markerBarY,
|
|
3353
|
+
markerBarWidth: markerBarWidth,
|
|
3354
|
+
markerBarHeight: markerBarHeight,
|
|
3355
|
+
valueMarkerX: valueMarkerX,
|
|
3356
|
+
valueMarkerY: valueMarkerY,
|
|
3357
|
+
gaugeStartX: gaugeStartX,
|
|
3358
|
+
gaugeStartY: gaugeStartY,
|
|
3359
|
+
gaugeWidth: gaugeWidth,
|
|
3360
|
+
gaugeHeight: gaugeHeight
|
|
3361
|
+
};
|
|
3362
|
+
}, [orientation, value, min, max]);
|
|
3363
|
+
var renderVisualization = react_1.useCallback(function (_ref) {
|
|
3364
|
+
var containerWidth = _ref.width,
|
|
3365
|
+
containerHeight = _ref.height;
|
|
3366
|
+
|
|
3367
|
+
// todo: need change the size when get design for smaller space
|
|
3368
|
+
// 58 is the title & description header height in dashboard visualization
|
|
3369
|
+
if ((containerWidth < MAX_VERTICAL_CONTAINER_WIDTH || containerHeight + 58 < MIN_VERTICAL_CONTAINER_HEIGHT) && orientation === 'vertical' || (containerWidth < MIN_HORIZONTAL_CONTAINER_WIDTH || containerHeight < MIN_HORIZONTAL_CONTAINER_HEIGHT) && orientation === 'horizontal') {
|
|
3370
|
+
return errorMessage(containerWidth, containerHeight, i18n_1._('Too small to render content'), errorId);
|
|
3371
|
+
}
|
|
3372
|
+
|
|
3373
|
+
if (error) {
|
|
3374
|
+
return errorMessage(containerWidth, containerHeight, error, errorId);
|
|
3375
|
+
}
|
|
3376
|
+
|
|
3377
|
+
var _calculateMarkerGauge = calculateMarkerGaugeDimensions(containerWidth, containerHeight),
|
|
3378
|
+
markerBarX = _calculateMarkerGauge.markerBarX,
|
|
3379
|
+
markerBarY = _calculateMarkerGauge.markerBarY,
|
|
3380
|
+
markerBarWidth = _calculateMarkerGauge.markerBarWidth,
|
|
3381
|
+
markerBarHeight = _calculateMarkerGauge.markerBarHeight,
|
|
3382
|
+
valueMarkerX = _calculateMarkerGauge.valueMarkerX,
|
|
3383
|
+
valueMarkerY = _calculateMarkerGauge.valueMarkerY,
|
|
3384
|
+
gaugeStartX = _calculateMarkerGauge.gaugeStartX,
|
|
3385
|
+
gaugeStartY = _calculateMarkerGauge.gaugeStartY,
|
|
3386
|
+
gaugeWidth = _calculateMarkerGauge.gaugeWidth,
|
|
3387
|
+
gaugeHeight = _calculateMarkerGauge.gaugeHeight;
|
|
3388
|
+
|
|
3389
|
+
return React.createElement(MarkerGaugeWrapper, {
|
|
3390
|
+
backgroundColor: backgroundColor
|
|
3391
|
+
}, React.createElement(MarkerGaugeContainer, {
|
|
3392
|
+
width: containerWidth,
|
|
3393
|
+
height: containerHeight
|
|
3394
|
+
}, React.createElement(MarkerGaugeSVG, {
|
|
3395
|
+
width: containerWidth,
|
|
3396
|
+
height: containerHeight
|
|
3397
|
+
}, linearGradient, React.createElement(BackgroundBar, {
|
|
3398
|
+
x: gaugeStartX,
|
|
3399
|
+
y: gaugeStartY,
|
|
3400
|
+
width: gaugeWidth,
|
|
3401
|
+
height: gaugeHeight,
|
|
3402
|
+
fillColor: fillColor
|
|
3403
|
+
}), React.createElement(GaugeMajorTicks_1.default, {
|
|
3404
|
+
width: gaugeWidth,
|
|
3405
|
+
height: gaugeHeight,
|
|
3406
|
+
startX: gaugeStartX,
|
|
3407
|
+
startY: gaugeStartY,
|
|
3408
|
+
min: min,
|
|
3409
|
+
max: max,
|
|
3410
|
+
majorUnit: majorUnit,
|
|
3411
|
+
orientation: orientation,
|
|
3412
|
+
showLabels: showLabels,
|
|
3413
|
+
usePercentageRange: usePercentageRange,
|
|
3414
|
+
majorTickFillColor: majorTickFillColor,
|
|
3415
|
+
majorTickStrokeColor: majorTickStrokeColor
|
|
3416
|
+
}), React.createElement(MarkerBar, {
|
|
3417
|
+
x: markerBarX,
|
|
3418
|
+
y: markerBarY,
|
|
3419
|
+
width: markerBarWidth,
|
|
3420
|
+
height: markerBarHeight,
|
|
3421
|
+
fill: "url(#".concat(linearGradientId, ")")
|
|
3422
|
+
}), React.createElement(GaugeValueMarker_1.default, {
|
|
3423
|
+
x: valueMarkerX,
|
|
3424
|
+
y: valueMarkerY,
|
|
3425
|
+
length: gaugeUtils_1.GAUGE_THICKNESS,
|
|
3426
|
+
min: min,
|
|
3427
|
+
max: max,
|
|
3428
|
+
value: value,
|
|
3235
3429
|
orientation: orientation,
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
width:
|
|
3244
|
-
height:
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
})
|
|
3249
|
-
"data-test": "value-marker-label",
|
|
3250
|
-
x: labelX,
|
|
3251
|
-
y: labelY,
|
|
3252
|
-
valueMarkerLabelFillColor: valueMarkerLabelFillColor
|
|
3253
|
-
}, usePercentageValue ? "".concat((value / (max - min) * 100).toFixed(2), "%") : Object(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__["formatNumber"])(value, 0, {
|
|
3254
|
-
useThousandSeparators: true,
|
|
3255
|
-
useTrendUnits: true
|
|
3256
|
-
}))));
|
|
3430
|
+
showValue: showValue,
|
|
3431
|
+
usePercentageValue: usePercentageValue,
|
|
3432
|
+
valueMarkerFillColor: valueMarkerFillColor,
|
|
3433
|
+
valueMarkerLabelFillColor: valueMarkerLabelFillColor
|
|
3434
|
+
}))));
|
|
3435
|
+
}, [orientation, error, calculateMarkerGaugeDimensions, backgroundColor, linearGradient, fillColor, min, max, majorUnit, showLabels, usePercentageRange, majorTickFillColor, majorTickStrokeColor, linearGradientId, value, showValue, usePercentageValue, valueMarkerFillColor, valueMarkerLabelFillColor, errorMessage, errorId]);
|
|
3436
|
+
return React.createElement(Container, {
|
|
3437
|
+
width: width,
|
|
3438
|
+
height: height,
|
|
3439
|
+
backgroundColor: backgroundColor
|
|
3440
|
+
}, React.createElement(SizeAwareWrapper_1.default, null, function (containerDimension) {
|
|
3441
|
+
return renderVisualization(containerDimension);
|
|
3442
|
+
}));
|
|
3257
3443
|
};
|
|
3258
3444
|
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
showValue:
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3445
|
+
MarkerGauge.propTypes = {
|
|
3446
|
+
width: T.oneOfType([T.string, T.number]),
|
|
3447
|
+
height: T.oneOfType([T.string, T.number]),
|
|
3448
|
+
value: T.number,
|
|
3449
|
+
// valueFieldName: T.string, // todo: need add it back when displaying name later
|
|
3450
|
+
orientation: T.oneOf(['horizontal', 'vertical']),
|
|
3451
|
+
majorUnit: T.oneOfType([T.string, T.number]),
|
|
3452
|
+
showLabels: T.bool,
|
|
3453
|
+
showValue: T.bool,
|
|
3454
|
+
usePercentageRange: T.bool,
|
|
3455
|
+
usePercentageValue: T.bool,
|
|
3456
|
+
backgroundColor: T.string,
|
|
3457
|
+
fillColor: T.string,
|
|
3458
|
+
ranges: T.arrayOf(T.shape({
|
|
3459
|
+
from: T.number.isRequired,
|
|
3460
|
+
to: T.number.isRequired,
|
|
3461
|
+
value: T.string.isRequired
|
|
3462
|
+
})),
|
|
3463
|
+
majorTickFillColor: T.string,
|
|
3464
|
+
majorTickStrokeColor: T.string,
|
|
3465
|
+
valueMarkerFillColor: T.string,
|
|
3466
|
+
valueMarkerLabelFillColor: T.string
|
|
3271
3467
|
};
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
orientation: '
|
|
3468
|
+
MarkerGauge.defaultProps = {
|
|
3469
|
+
width: '100%',
|
|
3470
|
+
height: 250,
|
|
3471
|
+
orientation: 'vertical',
|
|
3472
|
+
majorUnit: 'auto',
|
|
3473
|
+
showLabels: true,
|
|
3276
3474
|
showValue: true,
|
|
3277
|
-
|
|
3475
|
+
usePercentageRange: false,
|
|
3476
|
+
usePercentageValue: false,
|
|
3477
|
+
backgroundColor: 'transparent',
|
|
3478
|
+
value: 0,
|
|
3479
|
+
fillColor: '#f2f4f5',
|
|
3480
|
+
majorTickFillColor: '#3c444d',
|
|
3481
|
+
majorTickStrokeColor: '#6b7785',
|
|
3482
|
+
valueMarkerFillColor: '#3c444d',
|
|
3483
|
+
valueMarkerLabelFillColor: '#f2f4f5',
|
|
3484
|
+
ranges: [{
|
|
3485
|
+
from: 0,
|
|
3486
|
+
to: 50,
|
|
3487
|
+
value: '#4BEBA8'
|
|
3488
|
+
}, {
|
|
3489
|
+
from: 50,
|
|
3490
|
+
to: 90,
|
|
3491
|
+
value: '#F4DF7A'
|
|
3492
|
+
}, {
|
|
3493
|
+
from: 90,
|
|
3494
|
+
to: 100,
|
|
3495
|
+
value: '#CB3B43'
|
|
3496
|
+
}]
|
|
3278
3497
|
};
|
|
3279
|
-
|
|
3498
|
+
exports.default = MarkerGauge;
|
|
3499
|
+
|
|
3500
|
+
/***/ }),
|
|
3501
|
+
/* 191 */
|
|
3502
|
+
/***/ (function(module, exports) {
|
|
3503
|
+
|
|
3504
|
+
module.exports = require("@splunk/ui-utils/id");
|
|
3280
3505
|
|
|
3281
3506
|
/***/ }),
|
|
3282
|
-
/*
|
|
3507
|
+
/* 192 */
|
|
3283
3508
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3284
3509
|
|
|
3285
3510
|
"use strict";
|
|
@@ -3289,7 +3514,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3289
3514
|
value: true
|
|
3290
3515
|
});
|
|
3291
3516
|
|
|
3292
|
-
var
|
|
3517
|
+
var i18n_1 = __webpack_require__(3);
|
|
3518
|
+
|
|
3519
|
+
var GaugeMarker_1 = __webpack_require__(193);
|
|
3293
3520
|
|
|
3294
3521
|
var schemaUtils_1 = __webpack_require__(14);
|
|
3295
3522
|
|
|
@@ -3297,11 +3524,15 @@ var variables_1 = __webpack_require__(19);
|
|
|
3297
3524
|
|
|
3298
3525
|
var pick_1 = __webpack_require__(20);
|
|
3299
3526
|
|
|
3527
|
+
var Gauge_1 = __webpack_require__(95);
|
|
3528
|
+
|
|
3300
3529
|
var VizBehavior_1 = __webpack_require__(5);
|
|
3301
3530
|
|
|
3302
|
-
var VizCategory_1 = __webpack_require__(
|
|
3531
|
+
var VizCategory_1 = __webpack_require__(26);
|
|
3303
3532
|
|
|
3304
|
-
var configUtils_1 = __webpack_require__(
|
|
3533
|
+
var configUtils_1 = __webpack_require__(6);
|
|
3534
|
+
|
|
3535
|
+
var BackgroundColor_1 = __webpack_require__(45);
|
|
3305
3536
|
|
|
3306
3537
|
var dataContract = {
|
|
3307
3538
|
requiredDataSources: [{
|
|
@@ -3322,40 +3553,12 @@ var size = {
|
|
|
3322
3553
|
};
|
|
3323
3554
|
var defaultContext = {};
|
|
3324
3555
|
var optionsSchema = {
|
|
3325
|
-
value: {
|
|
3326
|
-
description: 'Specify the dataSource applied to the value of the marker gauge.',
|
|
3327
|
-
type: 'string',
|
|
3328
|
-
default: '> primary | seriesByType("number") | lastPoint()'
|
|
3329
|
-
},
|
|
3330
3556
|
backgroundColor: {
|
|
3331
3557
|
description: 'Specify the color used for the background. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',
|
|
3332
3558
|
type: 'string',
|
|
3333
3559
|
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
3334
3560
|
default: '> themes.defaultBackgroundColor'
|
|
3335
3561
|
},
|
|
3336
|
-
majorTickInterval: {
|
|
3337
|
-
description: 'Specify, in pixels, the spacing between major tick marks.',
|
|
3338
|
-
default: 'auto',
|
|
3339
|
-
type: ['string', 'number']
|
|
3340
|
-
},
|
|
3341
|
-
orientation: {
|
|
3342
|
-
description: 'Specify the axis orientation of the gauge.',
|
|
3343
|
-
default: 'vertical',
|
|
3344
|
-
type: 'string',
|
|
3345
|
-
pattern: schemaUtils_1.getPattern(['horizontal', 'vertical'])
|
|
3346
|
-
},
|
|
3347
|
-
labelDisplay: {
|
|
3348
|
-
description: 'Specify whether to display the labels as numbers, percentages, or off.',
|
|
3349
|
-
default: 'number',
|
|
3350
|
-
type: 'string',
|
|
3351
|
-
pattern: schemaUtils_1.getPattern(['number', 'percentage', 'off'])
|
|
3352
|
-
},
|
|
3353
|
-
valueDisplay: {
|
|
3354
|
-
description: 'Specify whether to display the value as a number, percentage, or off.',
|
|
3355
|
-
default: 'number',
|
|
3356
|
-
type: 'string',
|
|
3357
|
-
pattern: schemaUtils_1.getPattern(['number', 'percentage', 'off'])
|
|
3358
|
-
},
|
|
3359
3562
|
gaugeRanges: {
|
|
3360
3563
|
description: 'Specify the overall range of the gauge as a series of continuous, color-coded subranges. For example, [{"from": 0, "to": 20, "value": "#4BEBA8"}, {"from": 20, "to": 50, "value": "#F4DF7A"}].',
|
|
3361
3564
|
default: [{
|
|
@@ -3393,9 +3596,36 @@ var optionsSchema = {
|
|
|
3393
3596
|
required: ['from', 'to', 'value'],
|
|
3394
3597
|
additionalProperties: false
|
|
3395
3598
|
}
|
|
3599
|
+
},
|
|
3600
|
+
labelDisplay: {
|
|
3601
|
+
description: 'Specify whether to display the labels as numbers, percentages, or off.',
|
|
3602
|
+
default: 'number',
|
|
3603
|
+
type: 'string',
|
|
3604
|
+
pattern: schemaUtils_1.getPattern(['number', 'percentage', 'off'])
|
|
3605
|
+
},
|
|
3606
|
+
majorTickInterval: {
|
|
3607
|
+
description: 'Specify, in pixels, the spacing between major tick marks.',
|
|
3608
|
+
default: 'auto',
|
|
3609
|
+
type: ['string', 'number']
|
|
3610
|
+
},
|
|
3611
|
+
orientation: {
|
|
3612
|
+
description: 'Specify the axis orientation of the gauge.',
|
|
3613
|
+
default: 'vertical',
|
|
3614
|
+
type: 'string',
|
|
3615
|
+
pattern: schemaUtils_1.getPattern(['horizontal', 'vertical'])
|
|
3616
|
+
},
|
|
3617
|
+
value: {
|
|
3618
|
+
description: 'Specify the dataSource applied to the value of the marker gauge.',
|
|
3619
|
+
type: 'string',
|
|
3620
|
+
default: '> primary | seriesByType("number") | lastPoint()'
|
|
3621
|
+
},
|
|
3622
|
+
valueDisplay: {
|
|
3623
|
+
description: 'Specify whether to display the value as a number, percentage, or off.',
|
|
3624
|
+
default: 'number',
|
|
3625
|
+
type: 'string',
|
|
3626
|
+
pattern: schemaUtils_1.getPattern(['number', 'percentage', 'off'])
|
|
3396
3627
|
}
|
|
3397
3628
|
};
|
|
3398
|
-
var editorConfig = [];
|
|
3399
3629
|
var themes = {
|
|
3400
3630
|
defaultFillColor: function defaultFillColor(props) {
|
|
3401
3631
|
return pick_1.default({
|
|
@@ -3455,6 +3685,43 @@ var themes = {
|
|
|
3455
3685
|
})(props);
|
|
3456
3686
|
}
|
|
3457
3687
|
};
|
|
3688
|
+
var editorConfig = [{
|
|
3689
|
+
label: i18n_1._('Select Data Field'),
|
|
3690
|
+
layout: [[{
|
|
3691
|
+
label: '',
|
|
3692
|
+
editor: 'editor.columnSelector',
|
|
3693
|
+
option: 'value',
|
|
3694
|
+
context: 'defaultContext',
|
|
3695
|
+
editorProps: {
|
|
3696
|
+
dataSourceKey: 'primary',
|
|
3697
|
+
prepareValue: function prepareValue(definition) {
|
|
3698
|
+
var value = definition.options.value;
|
|
3699
|
+
return {
|
|
3700
|
+
context: {},
|
|
3701
|
+
options: {
|
|
3702
|
+
value: "".concat(value, " | lastPoint()")
|
|
3703
|
+
}
|
|
3704
|
+
};
|
|
3705
|
+
}
|
|
3706
|
+
}
|
|
3707
|
+
}]]
|
|
3708
|
+
}, Gauge_1.default, {
|
|
3709
|
+
label: i18n_1._('Coloring'),
|
|
3710
|
+
open: true,
|
|
3711
|
+
layout: [[{
|
|
3712
|
+
label: i18n_1._('Gauge Ranges'),
|
|
3713
|
+
option: 'gaugeRanges',
|
|
3714
|
+
editor: 'editor.threshold',
|
|
3715
|
+
editorProps: {
|
|
3716
|
+
openRanges: false,
|
|
3717
|
+
isTogglable: false // Can not disable thresholds
|
|
3718
|
+
|
|
3719
|
+
}
|
|
3720
|
+
}], BackgroundColor_1.default({
|
|
3721
|
+
themes: themes,
|
|
3722
|
+
labelPosition: 'top'
|
|
3723
|
+
})]
|
|
3724
|
+
}];
|
|
3458
3725
|
/**
|
|
3459
3726
|
* visualization configuration
|
|
3460
3727
|
*/
|
|
@@ -3474,7 +3741,7 @@ var config = {
|
|
|
3474
3741
|
/**
|
|
3475
3742
|
* viz icon
|
|
3476
3743
|
*/
|
|
3477
|
-
icon:
|
|
3744
|
+
icon: GaugeMarker_1.default,
|
|
3478
3745
|
dataContract: dataContract,
|
|
3479
3746
|
size: size,
|
|
3480
3747
|
defaultContext: defaultContext,
|
|
@@ -3486,88 +3753,10 @@ var config = {
|
|
|
3486
3753
|
exports.default = configUtils_1.enhanceConfig(config);
|
|
3487
3754
|
|
|
3488
3755
|
/***/ }),
|
|
3489
|
-
/*
|
|
3490
|
-
/***/ (function(module, exports
|
|
3491
|
-
|
|
3492
|
-
"use strict";
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3496
|
-
value: true
|
|
3497
|
-
});
|
|
3498
|
-
exports.convertToMarkerGaugeProperties = exports.mapValueLabelDisplay = exports.mapToOldKey = void 0;
|
|
3499
|
-
|
|
3500
|
-
var lodash_1 = __webpack_require__(2); // map for new options names to old option names
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
var markerGaugeOptionsMapping = {
|
|
3504
|
-
majorTickInterval: 'majorUnit',
|
|
3505
|
-
gaugeRanges: 'ranges'
|
|
3506
|
-
};
|
|
3507
|
-
/**
|
|
3508
|
-
* Helper method to update the option names to old option names
|
|
3509
|
-
* @method mapToOldKey
|
|
3510
|
-
* @param {Object} options
|
|
3511
|
-
* @returns {Object}
|
|
3512
|
-
*/
|
|
3513
|
-
|
|
3514
|
-
var mapToOldKey = function mapToOldKey(options) {
|
|
3515
|
-
return lodash_1.mapKeys(options, function (val, key) {
|
|
3516
|
-
return markerGaugeOptionsMapping[key] ? markerGaugeOptionsMapping[key] : key;
|
|
3517
|
-
});
|
|
3518
|
-
};
|
|
3519
|
-
|
|
3520
|
-
exports.mapToOldKey = mapToOldKey;
|
|
3521
|
-
/**
|
|
3522
|
-
* Helper method to map labelDisplay and valueDisplay options to pure component option names
|
|
3523
|
-
* @method mapToOldKey
|
|
3524
|
-
* @param {string} labelOrValue
|
|
3525
|
-
* @param {Object} options
|
|
3526
|
-
* @returns {Object}
|
|
3527
|
-
*/
|
|
3528
|
-
|
|
3529
|
-
var mapValueLabelDisplay = function mapValueLabelDisplay(labelOrValue, options) {
|
|
3530
|
-
var rangeOrValue = labelOrValue === 'value' ? 'Value' : 'Range';
|
|
3531
|
-
var showKey = labelOrValue === 'value' ? 'showValue' : 'showLabels';
|
|
3532
|
-
var percentKey = "usePercentage".concat(rangeOrValue);
|
|
3533
|
-
var optionString = "".concat(labelOrValue, "Display");
|
|
3534
|
-
var newOptions = Object.assign({}, options);
|
|
3535
|
-
|
|
3536
|
-
if (newOptions[optionString]) {
|
|
3537
|
-
if (newOptions[optionString] === 'number') {
|
|
3538
|
-
newOptions[showKey] = true;
|
|
3539
|
-
newOptions[percentKey] = false;
|
|
3540
|
-
} else if (newOptions[optionString] === 'percentage') {
|
|
3541
|
-
newOptions[showKey] = true;
|
|
3542
|
-
newOptions[percentKey] = true;
|
|
3543
|
-
} else {
|
|
3544
|
-
newOptions[showKey] = false;
|
|
3545
|
-
newOptions[percentKey] = false;
|
|
3546
|
-
}
|
|
3547
|
-
}
|
|
3548
|
-
|
|
3549
|
-
return newOptions;
|
|
3550
|
-
};
|
|
3551
|
-
|
|
3552
|
-
exports.mapValueLabelDisplay = mapValueLabelDisplay;
|
|
3553
|
-
/**
|
|
3554
|
-
* Chained helper for mapping the option properties (and values) we expose in config.ts into property values that marker gauge accepts
|
|
3555
|
-
* This is for options that has new key name and can not directly be mapped with SimpleXML or
|
|
3556
|
-
* don't have a 1-1 mapping in SimpleXML (i.e. a straightforward name mapping where values are preserved)
|
|
3557
|
-
* @method convertToMarkerGaugeProperties
|
|
3558
|
-
* @param {Object} originalOptions
|
|
3559
|
-
* @returns {Object}
|
|
3560
|
-
*/
|
|
3561
|
-
|
|
3562
|
-
var convertToMarkerGaugeProperties = function convertToMarkerGaugeProperties(originalOptions) {
|
|
3563
|
-
return lodash_1.chain(exports.mapToOldKey(originalOptions)).thru(function (options) {
|
|
3564
|
-
return exports.mapValueLabelDisplay('label', options);
|
|
3565
|
-
}).thru(function (options) {
|
|
3566
|
-
return exports.mapValueLabelDisplay('value', options);
|
|
3567
|
-
}).value();
|
|
3568
|
-
};
|
|
3756
|
+
/* 193 */
|
|
3757
|
+
/***/ (function(module, exports) {
|
|
3569
3758
|
|
|
3570
|
-
exports
|
|
3759
|
+
module.exports = require("@splunk/react-icons/GaugeMarker");
|
|
3571
3760
|
|
|
3572
3761
|
/***/ })
|
|
3573
3762
|
/******/ ]);
|