Content-Length: 451649 | pFad | http://github.com/lowcoder-org/lowcoder/pull/1400/commits/1d062e0c7e152fefb115e0c5052645c869ced613

D4 Update funnel and gauge chart. by Imiss-U1025 · Pull Request #1400 · lowcoder-org/lowcoder · GitHub
Skip to content

Update funnel and gauge chart. #1400

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 42 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
0bd9122
Added opacity in Funnel Chart.
Imiss-U1025 Dec 6, 2024
0b84762
Added funnel Align in Funnel Chart.
Imiss-U1025 Dec 6, 2024
f006f89
Added sort in Funnel Chart
Imiss-U1025 Dec 6, 2024
ee0161b
Added font settings.
Imiss-U1025 Dec 9, 2024
4f9b411
Added label, Chart style.
Imiss-U1025 Dec 9, 2024
1d062e0
Added legend font settings.
Imiss-U1025 Dec 9, 2024
4058b81
Added gradient background.
Imiss-U1025 Dec 9, 2024
fb58dfa
Fixed an issue that style order would appear different in theme setti…
Imiss-U1025 Dec 11, 2024
b2ee751
Fixed direction and label style.
Imiss-U1025 Dec 11, 2024
8487136
Added direction's default value.
Imiss-U1025 Dec 11, 2024
006ab19
Implemented settings of theme as default.
Imiss-U1025 Dec 12, 2024
1ddd139
Implemented gradient background color again.
Imiss-U1025 Dec 12, 2024
2045823
Fixed an issue that update-on-action when activating /deactivating pr…
Imiss-U1025 Dec 12, 2024
b77d3e0
Fixed direction on theme setting.
Imiss-U1025 Dec 12, 2024
216b753
Added chartOpacity, chartBoxShadow, chartBorderStyle, chartBorderRadi…
Imiss-U1025 Dec 12, 2024
4de9835
Added ChartBackgroundColor, ChartGradientColor, ChartShadowColor, Cha…
Imiss-U1025 Dec 12, 2024
bc5936a
Added initial value of funnelChartUtils.
Imiss-U1025 Dec 12, 2024
10cb9eb
Fixed a direction split issue.
Imiss-U1025 Dec 13, 2024
dad3997
Fixed Chart styles UI of right panel.
Imiss-U1025 Dec 13, 2024
ca9bbcf
Updated guage chart.
Imiss-U1025 Dec 14, 2024
9010367
Added styles to gaugeChart.
Imiss-U1025 Dec 14, 2024
fe9e505
Added Pointer and Fixed default values
Imiss-U1025 Dec 14, 2024
c14a22d
Updated Gauge Chart.
Imiss-U1025 Dec 16, 2024
94c0f92
Updated Gauge Chart.
Imiss-U1025 Dec 16, 2024
4e9422b
Added axis style to Gauge chart.
Imiss-U1025 Dec 16, 2024
76474f7
Added roundCap, theme setting to Gauge chart.
Imiss-U1025 Dec 16, 2024
e27f7ca
update-on-action when selecting theme.
Imiss-U1025 Dec 16, 2024
03bc7bd
Added radical gradient and many fields to Candlestick chart.
Imiss-U1025 Dec 16, 2024
6384363
Added datazoom, grid to candleStick chart.
Imiss-U1025 Dec 17, 2024
4098b68
Added an ability that legend of funnel can be on the left or right.
Imiss-U1025 Dec 17, 2024
5849081
Added horizontal, vertical icons
Imiss-U1025 Dec 17, 2024
4ae4427
Fixed legend option of funnel charts
Imiss-U1025 Dec 17, 2024
cd45364
Fixed icon colors and changed order.
Imiss-U1025 Dec 17, 2024
b74acba
Added title Vertical
Imiss-U1025 Dec 17, 2024
76bd5ff
Changed Align order on Funnel chart
Imiss-U1025 Dec 18, 2024
03f51ac
Added descriptions to properties of funnel chart.
Imiss-U1025 Dec 18, 2024
e5fbd92
Added descriptions to properties of gauge chart.
Imiss-U1025 Dec 18, 2024
84b4285
Applied gradient colors to a chart using just one color picker
Imiss-U1025 Dec 18, 2024
b3ff98f
Fixed trans in gauge chart.
Imiss-U1025 Dec 19, 2024
98a8e3d
Fixed trans in funnel chart.
Imiss-U1025 Dec 19, 2024
85a6786
Reverted candlestick chart, updated background ability.
Imiss-U1025 Dec 19, 2024
c10dd88
Fixed background Color issue on funnel and gauge.
Imiss-U1025 Dec 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added legend font settings.
  • Loading branch information
Imiss-U1025 committed Dec 19, 2024
commit 1d062e0c7e152fefb115e0c5052645c869ced613
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ if (EchartsStyle) {
...chartJsonModeChildren,
style: styleControl(FunnelStyle, 'style'),
titleStyle: styleControl(FunnelStyle, 'titleStyle'),
legendStyle: styleControl(FunnelStyle, 'legendStyle'),
chartStyle: styleControl(FunnelChartStyle, 'chartStyle')
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,18 @@ export function funnelChartPropertyView(
<Section name={sectionNames.titleStyle}>
{children.titleStyle?.getPropertyView()}
</Section>
<Section name={sectionNames.labelStyle}>
{
children.label.getView() ?
<Section name={sectionNames.labelStyle}>
{children.style?.getPropertyView()}
</Section>
</Section> : <></>
}
{
children.legendVisibility.getView() ?
<Section name={sectionNames.legendStyle}>
{children.legendStyle?.getPropertyView()}
</Section> : <></>
}
<Section name={sectionNames.layout}>{hiddenPropertyView(children)}</Section>
</>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@ export function getEchartsConfig(
'top': props.echartsLegendConfig.top === 'bottom' ?'top':'bottom',
"left":props.echartsTitleConfig.top,
"textStyle": {
"fontFamily": props?.titleStyle?.fontFamily || theme?.style?.fontFamily,
"fontSize": props?.titleStyle?.textSize || theme?.style?.textSize,
"fontWeight": props?.titleStyle?.textWeight || theme?.style?.textWeight,
"color": props?.titleStyle?.text || theme?.style?.text,
"fontFamily": props?.titleStyle?.fontFamily || theme?.style?.fontFamily || "Arial",
"fontSize": props?.titleStyle?.textSize || theme?.style?.textSize || 18,
"fontWeight": props?.titleStyle?.textWeight || theme?.style?.textWeight || "bold",
"color": props?.titleStyle?.text || theme?.style?.text || "#333",
"fontStyle": props?.titleStyle?.fontStyle || theme?.style?.fontStyle,
"textShadowColor": props?.titleStyle?.boxShadowColor || theme?.style?.boxShadowColor,
"textShadowBlur": props?.titleStyle?.boxShadow?.split(' ')[0],
Expand All @@ -163,6 +163,17 @@ export function getEchartsConfig(
"legend":props.legendVisibility&& {
"data": props.echartsOption.data?.map(data=>data.name),
"top": props.echartsLegendConfig.top,
"textStyle": {
"fontFamily": props?.legendStyle?.fontFamily || theme?.style?.fontFamily || "Arial",
"fontSize": props?.legendStyle?.textSize || theme?.style?.textSize,
"fontWeight": props?.legendStyle?.textWeight || theme?.style?.textWeight,
"color": props?.legendStyle?.text || theme?.style?.text || "#000000",
"fontStyle": props?.legendStyle?.fontStyle || theme?.style?.fontStyle,
"textShadowColor": props?.legendStyle?.boxShadowColor || theme?.style?.boxShadowColor,
"textShadowBlur": props?.legendStyle?.boxShadow?.split(' ')[0],
"textShadowOffsetX": props?.legendStyle?.boxShadow?.split(' ')[1],
"textShadowOffsetY": props?.legendStyle?.boxShadow?.split(' ')[2]
}
},
"series": [
{
Expand Down Expand Up @@ -191,7 +202,7 @@ export function getEchartsConfig(
"label": {
"show": props.label,
"position": props.echartsLabelConfig.top,
"fontFamily": props?.style?.fontFamily || theme?.style?.fontFamily,
"fontFamily": props?.style?.fontFamily || theme?.style?.fontFamily || "Arial",
"fontSize": props?.style?.textSize || theme?.style?.textSize,
"fontWeight": props?.style?.textWeight || theme?.style?.textWeight,
"color": props?.style?.text || theme?.style?.text,
Expand Down
1 change: 1 addition & 0 deletions client/packages/lowcoder-design/src/components/Section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,4 +189,5 @@ export const sectionNames = {
modalStyle:trans("prop.modalStyle"),
chartStyle:trans("prop.chartStyle"),
titleStyle:trans("prop.titleStyle"),
legendStyle:trans("prop.legendStyle"),
};
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ export const en = {
columnStyle: 'Column Style',
modalStyle: 'Modal Style',
chartStyle: "Chart Style",
titleStyle: "Title Style"
titleStyle: "Title Style",
legendStyle: "Legend Style",
},
passwordInput: {
label: "Password:",
Expand Down








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/lowcoder-org/lowcoder/pull/1400/commits/1d062e0c7e152fefb115e0c5052645c869ced613

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy