Skip to content

Commit

Permalink
[jsroot] support RooEllipse class
Browse files Browse the repository at this point in the history
Fixes  #17472
  • Loading branch information
linev committed Jan 23, 2025
1 parent cc7b3ef commit 885b663
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion js/build/jsroot.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const version_id = 'dev',

/** @summary version date
* @desc Release date in format day/month/year like '14/04/2022' */
version_date = '17/01/2025',
version_date = '22/01/2025',

/** @summary version id and date
* @desc Produced by concatenation of {@link version_id} and {@link version_date}
Expand Down Expand Up @@ -142993,6 +142993,7 @@ drawFuncs = { lst: [
{ name: clTCutG, sameas: clTGraph },
{ name: /^RooHist/, sameas: clTGraph },
{ name: /^RooCurve/, sameas: clTGraph },
{ name: /^RooEllipse/, sameas: clTGraph },
{ name: 'TScatter', icon: 'img_graph', class: () => Promise.resolve().then(function () { return TScatterPainter$1; }).then(h => h.TScatterPainter), opt: ';A' },
{ name: 'RooPlot', icon: 'img_canvas', func: drawRooPlot },
{ name: 'TRatioPlot', icon: 'img_mgraph', class: () => Promise.resolve().then(function () { return TRatioPlotPainter$1; }).then(h => h.TRatioPlotPainter), opt: '' },
Expand Down
3 changes: 2 additions & 1 deletion js/changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@
1. Implement 'arc' draw option for `TPave`
1. Provide context menus for all derived from `TPave` classes
1. Support Poisson errors for `TH1`/`TH2`, https://root-forum.cern.ch/t/62335/
1. Support TLink and TButton object, used in TInspectCanvas
1. Support `TLink` and `TButton` object, used in `TInspectCanvas`
1. Fix - handle `TPave` NDC position also when fInit is not set
1. Fix - correctly position title according to gStyle->GetTitleAlign()
1. Fix - correctly handle tooltip events for `TGraphPolar`
1. Fix - font corruption after PDF generation
1. Fix - support drawing of `RooEllipse` class


## Changes in 7.8.0
Expand Down
2 changes: 1 addition & 1 deletion js/modules/core.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const version_id = 'dev',

/** @summary version date
* @desc Release date in format day/month/year like '14/04/2022' */
version_date = '17/01/2025',
version_date = '22/01/2025',

/** @summary version id and date
* @desc Produced by concatenation of {@link version_id} and {@link version_date}
Expand Down
1 change: 1 addition & 0 deletions js/modules/draw.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ drawFuncs = { lst: [
{ name: clTCutG, sameas: clTGraph },
{ name: /^RooHist/, sameas: clTGraph },
{ name: /^RooCurve/, sameas: clTGraph },
{ name: /^RooEllipse/, sameas: clTGraph },
{ name: 'TScatter', icon: 'img_graph', class: () => import('./hist2d/TScatterPainter.mjs').then(h => h.TScatterPainter), opt: ';A' },
{ name: 'RooPlot', icon: 'img_canvas', func: drawRooPlot },
{ name: 'TRatioPlot', icon: 'img_mgraph', class: () => import('./draw/TRatioPlotPainter.mjs').then(h => h.TRatioPlotPainter), opt: '' },
Expand Down

0 comments on commit 885b663

Please sign in to comment.