@eric-emg/symphiq-components 1.2.181 → 1.2.182

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.
@@ -57380,12 +57380,16 @@ function transformTrendUiDataToChartSeries(trendUiData, metricToExtract) {
57380
57380
  const priorYear = currentYear - 1;
57381
57381
  const priorYearPoints = [];
57382
57382
  const currentYearPoints = [];
57383
+ console.log('[transformTrendUiDataToChartSeries] dimensions:', convertedData.dimensions);
57384
+ console.log('[transformTrendUiDataToChartSeries] dateIndex:', dateIndex, 'monthIndex:', monthIndex);
57385
+ console.log('[transformTrendUiDataToChartSeries] sample rows:', convertedData.rows?.slice(0, 3));
57383
57386
  convertedData.rows?.forEach((row) => {
57384
57387
  const dateValue = row.dimensionValues?.[dateIndex];
57385
57388
  const metricValue = parseFloat(row.metricValues?.[metricIndex] || '0');
57386
57389
  if (dateValue) {
57387
57390
  const year = parseInt(dateValue.substring(0, 4), 10);
57388
57391
  const month = parseInt(dateValue.substring(4, 6) || dateValue.substring(5, 7), 10);
57392
+ console.log('[transformTrendUiDataToChartSeries] dateValue:', dateValue, '→ year:', year, 'month:', month);
57389
57393
  const point = {
57390
57394
  category: String(month),
57391
57395
  value: metricValue,