@malloydata/render 0.0.310 → 0.0.312

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.
@@ -16,14 +16,14 @@ type XAxisSettings = {
16
16
  hidden: boolean;
17
17
  labelPadding: number;
18
18
  };
19
- export declare function getXAxisSettings({ maxString, chartHeight, chartWidth, xField, parentField, parentTag, vegaConfig, }: {
19
+ export declare function getXAxisSettings({ maxString, chartHeight, chartWidth, xField, parentField, vegaConfig, isSpark, }: {
20
20
  maxString: string;
21
21
  chartHeight: number;
22
22
  chartWidth: number;
23
23
  xField: Field;
24
24
  parentField: NestField;
25
- parentTag: Tag;
26
25
  vegaConfig?: Config;
26
+ isSpark: boolean;
27
27
  }): XAxisSettings;
28
28
  export type ChartLayoutSettings = {
29
29
  plotWidth: number;
@@ -22,6 +22,12 @@ export declare abstract class FieldBase {
22
22
  skipTagParsing?: boolean);
23
23
  isRoot(): boolean;
24
24
  root(): RootField;
25
+ /**
26
+ * Get the effective query timezone for this field.
27
+ * Walks up the parent chain to find nested timezone metadata from tags,
28
+ * or falls back to the root query timezone.
29
+ */
30
+ getEffectiveQueryTimezone(): string | undefined;
25
31
  get drillStableExpression(): Malloy.Expression | undefined;
26
32
  get sourceName(): string;
27
33
  get sourceArguments(): Malloy.ParameterValue[] | undefined;