Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

fix: show value in chart

DarkPhoenix2704e672e2c67c71
diff --git a/packages/nocodb-sdk/src/lib/dashboard/charts.ts b/packages/nocodb-sdk/src/lib/dashboard/charts.ts
index 4bd36ab88c..17b4d33cab 100644
--- a/packages/nocodb-sdk/src/lib/dashboard/charts.ts
+++ b/packages/nocodb-sdk/src/lib/dashboard/charts.ts
@@ -86,7 +86,7 @@ export interface BarChartDataConfig {
export interface BarChartAppearanceConfig {
size: 'small' | 'medium' | 'large';
showCountInLegend: boolean;
- showPercentageOnChart: boolean;
+ showValueInChart: boolean;
legendPosition: 'top' | 'right' | 'bottom' | 'left' | 'none';
colorSchema: 'default' | 'custom';
}
@@ -104,7 +104,7 @@ export interface LineChartAppearanceConfig {
smoothLines: boolean;
plotDataPoints: boolean;
showCountInLegend: boolean;
- showPercentageOnChart: boolean;
+ showValueInChart: boolean;
legendPosition: 'top' | 'right' | 'bottom' | 'left' | 'none';
colorSchema: 'default' | 'custom';
}
@@ -120,7 +120,7 @@ export interface LineChartConfig extends BaseChartConfig {
export interface ScatterPlotAppearanceConfig {
size: 'small' | 'medium' | 'large';
showCountInLegend: boolean;
- showPercentageOnChart: boolean;
+ showValueInChart: boolean;
legendPosition: 'top' | 'right' | 'bottom' | 'left' | 'none';
colorSchema: 'default' | 'custom';
}