Skip to content

Commit f7b46b0

Browse files
committed
Added legendConfig to Basic and Legacy charts.
1 parent 688aa25 commit f7b46b0

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

client/packages/lowcoder-comps/src/comps/basicChartComp/chartPropertyView.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
} from "lowcoder-sdk";
1414
import { trans } from "i18n/comps";
1515
import { examplesUrl, mapExamplesUrl, mapOptionUrl, optionUrl } from "./chartConfigs/chartUrls";
16+
import {LegendConfig} from "./chartConfigs/legendConfig";
1617

1718
export function chartPropertyView(
1819
children: ChartCompChildrenType,
@@ -116,6 +117,7 @@ export function chartPropertyView(
116117
<Section name={sectionNames.layout}>
117118
{children.echartsTitleConfig.getPropertyView()}
118119
{children.echartsTitleVerticalConfig.getPropertyView()}
120+
{children.legendConfig.getPropertyView()}
119121
{children.title.propertyView({ label: trans("chart.title") })}
120122
{children.left.propertyView({ label: trans("candleStickChart.left"), tooltip: trans("echarts.leftTooltip") })}
121123
{children.right.propertyView({ label: trans("candleStickChart.right"), tooltip: trans("echarts.rightTooltip") })}

client/packages/lowcoder-comps/src/comps/chartComp/chartPropertyView.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ export function chartPropertyView(
116116
<Section name={sectionNames.layout}>
117117
{children.echartsTitleConfig.getPropertyView()}
118118
{children.echartsTitleVerticalConfig.getPropertyView()}
119+
{children.legendConfig.getPropertyView()}
119120
{children.echartsTitle.propertyView({ label: trans("chart.title") })}
120121
{children.left.propertyView({ label: trans("candleStickChart.left"), tooltip: trans("echarts.leftTooltip") })}
121122
{children.right.propertyView({ label: trans("candleStickChart.right"), tooltip: trans("echarts.rightTooltip") })}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy