Skip to content

Improve the Charts - Stock demo (jQuery) - #35604

Open
16adianay wants to merge 2 commits into
DevExpress:feature/demo-charts-stock-improvementsfrom
16adianay:feature/demo-charts-stock-improvements_jQuery
Open

16adianay wants to merge 2 commits into
DevExpress:feature/demo-charts-stock-improvementsfrom
16adianay:feature/demo-charts-stock-improvements_jQuery

Conversation

@16adianay

Copy link
Copy Markdown
Contributor
  • Data: replaced static 23-point dataset (March 1994) with generateStockData() (~65 weekday points from April 1, 1994), so there is enough data to scroll and zoom.
  • Zoom & pan: enabled zoomAndPan on the argument axis (drag to zoom, mouse wheel).
  • Visual range: set initial argumentAxis.visualRange to ~2 weeks.
  • Scroll bar: added a visible bottom scrollBar.
  • Axis labels: 'MMM dd' format with rotate overlapping behavior (30°) to avoid label jumping while scrolling/zooming.
  • Value axis: moved to the right (standard for financial charts).
  • Legend: moved to the bottom center.
  • Removed workdaysOnly, since the data now contains only workdays.
  • Toolbar: added a dxToolbar with Pan Left/Right, Zoom In/Out and Reset Zoom. Handlers use applyVisualRange(), which clamps to data bounds and enforces a minimum span of 3 days.

@16adianay
16adianay requested a review from a team as a code owner October 9, 2026 13:02
@16adianay 16adianay self-assigned this Oct 9, 2026
@16adianay 16adianay added the 26_2 label Oct 9, 2026
@16adianay 16adianay changed the title Improve the Charts - Stock demo Improve the Charts - Stock demo (jQuery) Oct 9, 2026

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.

1 participant