Browse Source

chore(chartcuterie): Slightly Modify Styles to Test Charcuterie Deployments (#73337)

Raj Joshi 8 months ago
parent
commit
9555078216

+ 2 - 1
static/app/chartcuterie/performance.tsx

@@ -26,7 +26,8 @@ const performanceChartDefaults = {
 
 function modifyOptionsForSlack(options: Omit<LineChartProps, 'series'>) {
   options.legend = options.legend || {};
-  options.legend.icon = 'none';
+  // NOTE: This is commented to check if chartcuterie deployments are working
+  // options.legend.icon = 'none';
   options.legend.left = '25';
   options.legend.top = '20';
   options.grid = slackChartDefaults.grid;

+ 2 - 1
static/app/views/performance/utils/getIntervalLine.tsx

@@ -161,7 +161,8 @@ export function getIntervalLine(
       formatter: `Baseline ${getPerformanceDuration(
         transformedTransaction.aggregate_range_1
       )}`,
-      position: 'insideStartBottom',
+      // NOTE: Position is changed from insideStartBottom to insideStartTop to check if chartcuterie deployments are working
+      position: 'insideStartTop',
     };
 
     periodDividingLine.markLine.lineStyle = {