Skip to content

[LTS] Charts to 9.24 #1576

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/area-chart-web/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

## [6.2.0] - 2025-06-03
## [6.1.0] - 2025-06-04

### Fixed

Expand Down
4 changes: 2 additions & 2 deletions packages/pluggableWidgets/area-chart-web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mendix/area-chart-web",
"widgetName": "AreaChart",
"version": "6.2.0",
"version": "6.1.0",
"description": "An area chart displays a solid color between the traces of a graph.",
"copyright": "© Mendix Technology BV 2025. All rights reserved.",
"license": "Apache-2.0",
Expand All @@ -18,7 +18,7 @@
},
"packagePath": "com.mendix.widget.web",
"marketplace": {
"minimumMXVersion": "9.6.0",
"minimumMXVersion": "9.24.0.2965",
"appName": "Area Chart"
},
"testProject": {
Expand Down
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/area-chart-web/src/package.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="AreaChart" version="6.2.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="AreaChart" version="6.1.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="AreaChart.xml" />
</widgetFiles>
Expand Down
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/bar-chart-web/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

## [6.2.0] - 2025-06-03
## [6.1.0] - 2025-06-04

### Fixed

Expand Down
4 changes: 2 additions & 2 deletions packages/pluggableWidgets/bar-chart-web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mendix/bar-chart-web",
"widgetName": "BarChart",
"version": "6.2.0",
"version": "6.1.0",
"description": "Shows difference between the data points for one or more categories.",
"copyright": "© Mendix Technology BV 2025. All rights reserved.",
"license": "Apache-2.0",
Expand All @@ -18,7 +18,7 @@
},
"packagePath": "com.mendix.widget.web",
"marketplace": {
"minimumMXVersion": "9.6.0",
"minimumMXVersion": "9.24.0.2965",
"appName": "Bar Chart"
},
"testProject": {
Expand Down
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/bar-chart-web/src/package.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="BarChart" version="6.2.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="BarChart" version="6.1.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="BarChart.xml" />
</widgetFiles>
Expand Down
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/bubble-chart-web/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

## [6.2.0] - 2025-06-03
## [6.1.0] - 2025-06-04

### Fixed

Expand Down
4 changes: 2 additions & 2 deletions packages/pluggableWidgets/bubble-chart-web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mendix/bubble-chart-web",
"widgetName": "BubbleChart",
"version": "6.2.0",
"version": "6.1.0",
"description": "Shows data in a bubble format graph.",
"copyright": "© Mendix Technology BV 2025. All rights reserved.",
"license": "Apache-2.0",
Expand All @@ -18,7 +18,7 @@
},
"packagePath": "com.mendix.widget.web",
"marketplace": {
"minimumMXVersion": "9.6.0",
"minimumMXVersion": "9.24.0.2965",
"appName": "Bubble Chart"
},
"testProject": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="BubbleChart" version="6.2.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="BubbleChart" version="6.1.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="BubbleChart.xml" />
</widgetFiles>
Expand Down
26 changes: 7 additions & 19 deletions packages/pluggableWidgets/charts-web/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,51 +6,39 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

## [6.2.0] Charts - 2025-06-03
## [6.1.0] Charts - 2025-06-04

### [6.2.0] AreaChart
### [6.1.0] AreaChart

#### Fixed

- We fixed an issue with aggregate being removed on plotly 3.0

### [6.2.0] BarChart
### [6.1.0] BarChart

#### Fixed

- We fixed an issue with aggregate being removed on plotly 3.0

### [6.2.0] BubbleChart
### [6.1.0] BubbleChart

#### Fixed

- We fixed an issue with aggregate being removed on plotly 3.0

### [6.2.0] ColumnChart
### [6.1.0] ColumnChart

#### Fixed

- We fixed an issue with aggregate being removed on plotly 3.0

### [1.2.0] CustomChart
### [1.1.0] CustomChart

#### Changed

- We increase the version to update shared code.

### [6.2.0] LineChart

#### Fixed

- We fixed an issue with aggregate being removed on plotly 3.0

### [6.2.0] PieChart

#### Changed

- We increase the version to update shared code.

### [6.2.0] TimeSeries
### [6.1.0] TimeSeries

#### Fixed

Expand Down
4 changes: 2 additions & 2 deletions packages/pluggableWidgets/charts-web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mendix/charts-web",
"version": "6.2.0",
"version": "6.1.0",
"description": "Chart widgets collection for data visualization",
"copyright": "© Mendix Technology BV 2025. All rights reserved.",
"license": "Apache-2.0",
Expand Down Expand Up @@ -28,7 +28,7 @@
},
"packagePath": "com.mendix.widget.web",
"marketplace": {
"minimumMXVersion": "10.6.0.23934",
"minimumMXVersion": "9.24.0.2965",
"appNumber": 105695,
"appName": "Charts",
"reactReady": true
Expand Down
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/charts-web/src/package.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="Charts" version="6.2.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="Charts" version="6.1.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="AreaChart/AreaChart.xml" />
<widgetFile path="BarChart/BarChart.xml" />
Expand Down
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/column-chart-web/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

## [6.2.0] - 2025-06-03
## [6.1.0] - 2025-06-04

### Fixed

Expand Down
4 changes: 2 additions & 2 deletions packages/pluggableWidgets/column-chart-web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mendix/column-chart-web",
"widgetName": "ColumnChart",
"version": "6.2.0",
"version": "6.1.0",
"description": "Shows data in a column format graph.",
"copyright": "© Mendix Technology BV 2025. All rights reserved.",
"license": "Apache-2.0",
Expand All @@ -18,7 +18,7 @@
},
"packagePath": "com.mendix.widget.web",
"marketplace": {
"minimumMXVersion": "9.6.0",
"minimumMXVersion": "9.24.0.2965",
"appName": "Column Chart"
},
"testProject": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="ColumnChart" version="6.2.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="ColumnChart" version="6.1.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="ColumnChart.xml" />
</widgetFiles>
Expand Down
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/custom-chart-web/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

## [1.2.0] - 2025-06-03
## [1.1.0] - 2025-06-04

### Changed

Expand Down
4 changes: 2 additions & 2 deletions packages/pluggableWidgets/custom-chart-web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mendix/custom-chart-web",
"widgetName": "CustomChart",
"version": "1.2.0",
"version": "1.1.0",
"description": "",
"copyright": "© Mendix Technology BV 2025. All rights reserved.",
"license": "Apache-2.0",
Expand All @@ -20,7 +20,7 @@
},
"packagePath": "com.mendix.widget.web",
"marketplace": {
"minimumMXVersion": "10.16.0",
"minimumMXVersion": "9.24.0.2965",
"appNumber": 1234,
"appName": "Custom chart"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="CustomChart" version="1.2.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="CustomChart" version="1.1.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="CustomChart.xml" />
</widgetFiles>
Expand Down
4 changes: 2 additions & 2 deletions packages/pluggableWidgets/line-chart-web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mendix/line-chart-web",
"widgetName": "LineChart",
"version": "6.2.0",
"version": "6.1.0",
"description": "Shows data in a line format graph.",
"copyright": "© Mendix Technology BV 2025. All rights reserved.",
"license": "Apache-2.0",
Expand All @@ -18,7 +18,7 @@
},
"packagePath": "com.mendix.widget.web",
"marketplace": {
"minimumMXVersion": "9.6.0",
"minimumMXVersion": "9.24.0.2965",
"appName": "Line Chart"
},
"testProject": {
Expand Down
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/line-chart-web/src/package.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="LineChart" version="6.2.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="LineChart" version="6.1.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="LineChart.xml" />
</widgetFiles>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

## [6.2.0] - 2025-06-03
### Breaking

### Changed

- We increase the version to update shared code.
- We remove listened to selection in order for charts to works on Studio Pro 9.24.

## [6.0.0] - 2025-02-28

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mendix/pie-doughnut-chart-web",
"widgetName": "PieChart",
"version": "6.2.0",
"version": "6.1.0",
"description": "Shows data in a pie format graph.",
"copyright": "© Mendix Technology BV 2025. All rights reserved.",
"license": "Apache-2.0",
Expand All @@ -18,7 +18,7 @@
},
"packagePath": "com.mendix.widget.web",
"marketplace": {
"minimumMXVersion": "9.6.0",
"minimumMXVersion": "9.24.0",
"appName": "Pie Chart"
},
"testProject": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,10 @@ export function PieChart(props: PieChartContainerProps): ReactElement | null {
seriesSortOrder: props.seriesSortOrder,
seriesValueAttribute: props.seriesValueAttribute,
onClickAction: props.onClickAction,
tooltipHoverText: props.tooltipHoverText,
seriesItemSelection: props.seriesItemSelection
tooltipHoverText: props.tooltipHoverText
});

const isPieClickable = props.seriesItemSelection?.type === "Single" || props.onClickAction;
const isPieClickable = props.onClickAction;

return (
<ChartWidget
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,6 @@
<description />
<returnType type="String" />
</property>
<property key="seriesItemSelection" type="selection" dataSource="seriesDataSource">
<caption>Selection type</caption>
<description />
<selectionTypes>
<selectionType name="None" />
<selectionType name="Single" />
</selectionTypes>
</property>
</propertyGroup>
<propertyGroup caption="General">
<property key="enableAdvancedOptions" type="boolean" defaultValue="false">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ type PieChartDataSeriesHooks = Pick<
| "seriesSortOrder"
| "seriesValueAttribute"
| "tooltipHoverText"
| "seriesItemSelection"
>;

type LocalPieChartData = {
Expand All @@ -39,8 +38,7 @@ export const usePieChartDataSeries = ({
seriesSortOrder,
seriesValueAttribute,
onClickAction,
tooltipHoverText,
seriesItemSelection
tooltipHoverText
}: PieChartDataSeriesHooks): ChartWidgetProps["data"] => {
const [pieChartData, setPieChartData] = useState<LocalPieChartData[]>([]);

Expand Down Expand Up @@ -76,11 +74,8 @@ export const usePieChartDataSeries = ({
const onClick = useCallback(
(item: ObjectItem) => {
executeAction(onClickAction?.get(item));
if (seriesItemSelection && seriesItemSelection.type === "Single") {
seriesItemSelection.setSelection(item);
}
},
[onClickAction, seriesItemSelection]
[onClickAction]
);

return useMemo<ChartWidgetProps["data"]>(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="PieChart" version="6.2.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="PieChart" version="6.1.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="PieChart.xml" />
</widgetFiles>
Expand Down
Loading
Loading