Skip to content

[UIK-6018][d3-chart] init reference area - #3243

Open
ilyabrower wants to merge 11 commits into
release/v18from
UIK-6018/reference-area
Open

ilyabrower wants to merge 11 commits into
release/v18from
UIK-6018/reference-area

Conversation

@ilyabrower

Copy link
Copy Markdown
Contributor

Changelog

@semcore/d3-chart

Changed

  • Design of Reference* components in Charts.

Added

  • referenceLine and referenceArea properties to the Chart.Line.

Motivation and Context

How has this been tested?

I've added new args to the base-example in Chart.Line test story.

Screenshots (if appropriate):

Screenshot 2026-10-09 at 15 00 03

Types of changes

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).
  • Nice improve.

Checklist:

  • I have updated the documentation accordingly.
  • I have added new tests on added of fixed functionality.

@ilyabrower ilyabrower self-assigned this Oct 9, 2026
@ilyabrower
ilyabrower requested a review from j-mnizhek October 9, 2026 13:00

@j-mnizhek j-mnizhek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super!
Updated:

  • gradients to match the design
  • position for titles for these highlighted areas

};

/**
* @deprecated use `referenceArea` property on Chart.Line.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe referenceLine instead of referenceArea? @ilyabrower

*/
Title: IntergalacticD3Component<'text', ReferenceLineTitleProps, Context>;
/**
* @deprecated use `ReferenceBackground` instead.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ilyabrower as i understood ReferenceBackground is deprecated too (lines 73-75), so we should write here something else

Context
> & {
/**
* @deprecated use `referenceArea` property on Chart.Line with title propertry

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* @deprecated use `referenceArea` property on Chart.Line with title propertry
* @deprecated use `referenceArea` property on Chart.Line with title property

@Valeria-Zimnitskaya

Copy link
Copy Markdown
Contributor

@ilyabrower maybe add info about deprecated use in changelog?

…e value, fixed ui rudiment in line withour area

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants