-
- Downloads
Fix data labels too dense with large single series (#42985)
* remove unused variable * conditionally render labels sparsely if large amount of data points * update loki snapshots * refactor data label formatter conditions * setup intelligent label plotting * handle the case when there are no labels * add sparse data label rendering to bar charts * do not compute if no labels need to be shown or hidden * add sparse data labeling to waterfall charts * adjustment for large series waterfall labels * revert change * refactor name * add sparse labels to stacked bar and area * improve scaleFactor * fix type errors * remove unused labelFormatter * update snapshots * patch ECharts - labels with no text, i.e. "", were still being considered as plot-able labels which was causing labels with real text "asdfec.." to be hidden because of overlap. - This patch makes it so that labels with no text, i.e. "", are not considered to be candidates for overlap checking. * update loki snapshots * only loop over dataset once for getWaterfallChartDataDensity * improve performance of chart data density calculations * update loki snapshots * update E2E spec * update E2E spec * increase cartesian label density allotment * update loki snapshots * update loki snapshots * comment out node_modules cache since it cannot be skipped by commit and is breaking CI * fix type errors * Reset node modules if patches are changed * refactor type naming --------- Co-authored-by:Uladzimir Havenchyk <uladzimir.dev@gmail.com> Co-authored-by:
Uladzimir Havenchyk <125459446+uladzimirdev@users.noreply.github.com>
Showing
- .github/actions/prepare-frontend/action.yml 1 addition, 1 deletion.github/actions/prepare-frontend/action.yml
- .loki/reference/chrome_laptop_static_viz_ComboChart_Area_Stacked_Auto_Data_Labels.png 0 additions, 0 deletions...p_static_viz_ComboChart_Area_Stacked_Auto_Data_Labels.png
- .loki/reference/chrome_laptop_static_viz_ComboChart_Bars_Breakout_Sorted_With_Negative_Values_Power_Y_Axis.png 0 additions, 0 deletions...ars_Breakout_Sorted_With_Negative_Values_Power_Y_Axis.png
- .loki/reference/chrome_laptop_static_viz_ComboChart_Incorrect_Label_Y_Axis_Split_41285.png 0 additions, 0 deletions...tic_viz_ComboChart_Incorrect_Label_Y_Axis_Split_41285.png
- .loki/reference/chrome_laptop_static_viz_ScatterPlot_Auto_Y_Axis_Exclude_Zero_With_Goal.png 0 additions, 0 deletions...ic_viz_ScatterPlot_Auto_Y_Axis_Exclude_Zero_With_Goal.png
- .loki/reference/chrome_laptop_static_viz_ScatterPlot_Bubble_Size.png 0 additions, 0 deletions...ence/chrome_laptop_static_viz_ScatterPlot_Bubble_Size.png
- .loki/reference/chrome_laptop_static_viz_ScatterPlot_Custom_Y_Axis_Range.png 0 additions, 0 deletions...ome_laptop_static_viz_ScatterPlot_Custom_Y_Axis_Range.png
- .loki/reference/chrome_laptop_static_viz_ScatterPlot_Default.png 0 additions, 0 deletions...eference/chrome_laptop_static_viz_ScatterPlot_Default.png
- .loki/reference/chrome_laptop_static_viz_ScatterPlot_Goal_Line.png 0 additions, 0 deletions...erence/chrome_laptop_static_viz_ScatterPlot_Goal_Line.png
- .loki/reference/chrome_laptop_static_viz_ScatterPlot_Histogram_X_Scale.png 0 additions, 0 deletions...hrome_laptop_static_viz_ScatterPlot_Histogram_X_Scale.png
- .loki/reference/chrome_laptop_static_viz_ScatterPlot_Log_X_Scale.png 0 additions, 0 deletions...ence/chrome_laptop_static_viz_ScatterPlot_Log_X_Scale.png
- .loki/reference/chrome_laptop_static_viz_ScatterPlot_Log_X_Scale_At_One.png 0 additions, 0 deletions...rome_laptop_static_viz_ScatterPlot_Log_X_Scale_At_One.png
- .loki/reference/chrome_laptop_static_viz_ScatterPlot_Multi_Dimension_Breakout.png 0 additions, 0 deletions...aptop_static_viz_ScatterPlot_Multi_Dimension_Breakout.png
- .loki/reference/chrome_laptop_static_viz_ScatterPlot_Multi_Dimension_Breakout_Bubble_Size.png 0 additions, 0 deletions..._viz_ScatterPlot_Multi_Dimension_Breakout_Bubble_Size.png
- .loki/reference/chrome_laptop_static_viz_ScatterPlot_Multi_Metric_Series.png 0 additions, 0 deletions...ome_laptop_static_viz_ScatterPlot_Multi_Metric_Series.png
- .loki/reference/chrome_laptop_static_viz_ScatterPlot_Ordinal_X_Scale.png 0 additions, 0 deletions.../chrome_laptop_static_viz_ScatterPlot_Ordinal_X_Scale.png
- .loki/reference/chrome_laptop_static_viz_ScatterPlot_Power_X_Scale.png 0 additions, 0 deletions...ce/chrome_laptop_static_viz_ScatterPlot_Power_X_Scale.png
- .loki/reference/chrome_laptop_static_viz_ScatterPlot_Power_X_Scale_Multi_Series.png 0 additions, 0 deletions...top_static_viz_ScatterPlot_Power_X_Scale_Multi_Series.png
- .loki/reference/chrome_laptop_static_viz_ScatterPlot_Timeseries_X_Scale.png 0 additions, 0 deletions...rome_laptop_static_viz_ScatterPlot_Timeseries_X_Scale.png
- .loki/reference/chrome_laptop_static_viz_WaterfallChart_Data_Labels_Column_Formatting.png 0 additions, 0 deletions...atic_viz_WaterfallChart_Data_Labels_Column_Formatting.png
Loading
Please register or sign in to comment