Skip to content

Commit

Permalink
Merge branch 'master' into feat/instrument-js-scope
Browse files Browse the repository at this point in the history
  • Loading branch information
francinelucca authored May 14, 2024
2 parents b6555c6 + 76c86ce commit 1724a5c
Show file tree
Hide file tree
Showing 14 changed files with 90 additions and 12 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,19 @@
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 1.15.8 (2024-05-10)

### Bug Fixes

- **stacked-axis:** number labels breaking the axis
([#1821](https://github.com/carbon-design-system/carbon-charts/issues/1821))
([0aec1f1](https://github.com/carbon-design-system/carbon-charts/commit/0aec1f1f9a9b49694867ec2257da5ccff0926191))

# Change Log

All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 1.15.7 (2024-04-18)

**Note:** Version bump only for package @carbon/charts-monorepo
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "1.15.7",
"version": "1.15.8",
"npmClient": "yarn",
"command": {
"publish": {
Expand Down
13 changes: 13 additions & 0 deletions packages/angular/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,19 @@
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 1.15.8 (2024-05-10)

### Bug Fixes

- **stacked-axis:** number labels breaking the axis
([#1821](https://github.com/carbon-design-system/carbon-charts/issues/1821))
([0aec1f1](https://github.com/carbon-design-system/carbon-charts/commit/0aec1f1f9a9b49694867ec2257da5ccff0926191))

# Change Log

All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 1.15.7 (2024-04-18)

**Note:** Version bump only for package @carbon/charts-angular
Expand Down
2 changes: 1 addition & 1 deletion packages/angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@carbon/charts-angular",
"version": "1.15.7",
"version": "1.15.8",
"description": "Carbon Charts component library for Angular",
"exports": {
"./styles.min.css": "./styles.min.css",
Expand Down
13 changes: 13 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,19 @@
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 1.15.8 (2024-05-10)

### Bug Fixes

- **stacked-axis:** number labels breaking the axis
([#1821](https://github.com/carbon-design-system/carbon-charts/issues/1821))
([0aec1f1](https://github.com/carbon-design-system/carbon-charts/commit/0aec1f1f9a9b49694867ec2257da5ccff0926191))

# Change Log

All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 1.15.7 (2024-04-18)

**Note:** Version bump only for package @carbon/charts
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@carbon/charts",
"version": "1.15.7",
"version": "1.15.8",
"description": "Carbon Charts component library",
"type": "module",
"module": "./dist/index.mjs",
Expand Down
8 changes: 4 additions & 4 deletions packages/core/src/demo/charts/bar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -643,22 +643,22 @@ export const stackedBarData = [
{ group: 'Dataset 1', key: 'More', value: 29123 },
{ group: 'Dataset 1', key: 'Sold', value: 35213 },
{ group: 'Dataset 1', key: 'Restocking', value: 51213 },
{ group: 'Dataset 1', key: 'Misc', value: 16932 },
{ group: 'Dataset 1', key: 'Misc 1', value: 16932 },
{ group: 'Dataset 2', key: 'Qty', value: 32432 },
{ group: 'Dataset 2', key: 'More', value: 21312 },
{ group: 'Dataset 2', key: 'Sold', value: 56456 },
{ group: 'Dataset 2', key: 'Restocking', value: 21312 },
{ group: 'Dataset 2', key: 'Misc', value: 34234 },
{ group: 'Dataset 2', key: 'Misc 1', value: 34234 },
{ group: 'Dataset 3', key: 'Qty', value: 12312 },
{ group: 'Dataset 3', key: 'More', value: 23232 },
{ group: 'Dataset 3', key: 'Sold', value: 34232 },
{ group: 'Dataset 3', key: 'Restocking', value: 12312 },
{ group: 'Dataset 3', key: 'Misc', value: 34234 },
{ group: 'Dataset 3', key: 'Misc 1', value: 34234 },
{ group: 'Dataset 4', key: 'Qty', value: 32423 },
{ group: 'Dataset 4', key: 'More', value: 21313 },
{ group: 'Dataset 4', key: 'Sold', value: 64353 },
{ group: 'Dataset 4', key: 'Restocking', value: 24134 },
{ group: 'Dataset 4', key: 'Misc', value: 32423 }
{ group: 'Dataset 4', key: 'Misc 1', value: 32423 }
]

export const stackedBarOptions = {
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/services/scales-cartesian.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { subMinutes } from 'date-fns/subMinutes'
import { differenceInSeconds } from 'date-fns/differenceInSeconds'
import { subSeconds } from 'date-fns/subSeconds'
import { addSeconds } from 'date-fns/addSeconds'
import { flatten, uniq } from 'lodash-es'
import { flatten, omit, uniq } from 'lodash-es'
import { getProperty } from '@/tools'
import { axis as axisConfigs } from '@/configuration'
import { Service } from './service'
Expand Down Expand Up @@ -557,7 +557,7 @@ export class CartesianScales extends Service {

let positiveSum = 0,
negativeSum = 0
Object.values(numericalValues).forEach((value: number) => {
Object.values(omit(numericalValues, 'sharedStackKey')).forEach((value: number) => {
if (!isNaN(value)) {
if (value < 0) {
negativeSum += value
Expand Down
13 changes: 13 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,19 @@
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 1.15.8 (2024-05-10)

### Bug Fixes

- **stacked-axis:** number labels breaking the axis
([#1821](https://github.com/carbon-design-system/carbon-charts/issues/1821))
([0aec1f1](https://github.com/carbon-design-system/carbon-charts/commit/0aec1f1f9a9b49694867ec2257da5ccff0926191))

# Change Log

All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 1.15.7 (2024-04-18)

**Note:** Version bump only for package @carbon/charts-react
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@carbon/charts-react",
"version": "1.15.7",
"version": "1.15.8",
"description": "Carbon Charts component library for React",
"type": "module",
"main": "./dist/index.js",
Expand Down
13 changes: 13 additions & 0 deletions packages/svelte/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,19 @@
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 1.15.8 (2024-05-10)

### Bug Fixes

- **stacked-axis:** number labels breaking the axis
([#1821](https://github.com/carbon-design-system/carbon-charts/issues/1821))
([0aec1f1](https://github.com/carbon-design-system/carbon-charts/commit/0aec1f1f9a9b49694867ec2257da5ccff0926191))

# Change Log

All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 1.15.7 (2024-04-18)

**Note:** Version bump only for package @carbon/charts-svelte
Expand Down
2 changes: 1 addition & 1 deletion packages/svelte/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@carbon/charts-svelte",
"version": "1.15.7",
"version": "1.15.8",
"description": "Carbon Charts component library for Svelte",
"scripts": {
"postinstall": "ibmtelemetry --config=telemetry.yml",
Expand Down
13 changes: 13 additions & 0 deletions packages/vue/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,19 @@
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 1.15.8 (2024-05-10)

### Bug Fixes

- **stacked-axis:** number labels breaking the axis
([#1821](https://github.com/carbon-design-system/carbon-charts/issues/1821))
([0aec1f1](https://github.com/carbon-design-system/carbon-charts/commit/0aec1f1f9a9b49694867ec2257da5ccff0926191))

# Change Log

All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 1.15.7 (2024-04-18)

**Note:** Version bump only for package @carbon/charts-vue
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@carbon/charts-vue",
"version": "1.15.7",
"version": "1.15.8",
"description": "Carbon Charts component library for Vue",
"type": "module",
"module": "./dist/index.mjs",
Expand Down

0 comments on commit 1724a5c

Please sign in to comment.