Skip to content
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

No possible to get ResourceUtilization instance from getBarText method #4704

Closed
chuckn0rris opened this issue May 30, 2022 · 1 comment
Closed
Labels
bug Something isn't working forum Issues from forum OEM OEM customer

Comments

@chuckn0rris
Copy link

Forum post

ResourceUtilization has getBarText to customize text, but it is not possible to get ResourceUtilization instance and its store.

@chuckn0rris chuckn0rris added bug Something isn't working forum Issues from forum OEM OEM customer labels May 30, 2022
@isglass isglass added this to the 5.x.x milestone May 30, 2022
@arcady-zherdev
Copy link

arcady-zherdev commented Feb 6, 2024

Closing since this is not a bug. It's trivial to get ResourceUtilization (shown in the class docs introduction actually). Reaching the store is also trivial:

 new ResourceUtilization({
     getBarText(datum) {
         // view is ResourceUtilization instance
         const view = this.owner;
         // view.store is corresponding ResourceUtilizationStore instance
         view.store

@arcady-zherdev arcady-zherdev closed this as not planned Won't fix, can't repro, duplicate, stale Feb 6, 2024
@SergeyMaltsev SergeyMaltsev removed this from the 5.x.x milestone Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working forum Issues from forum OEM OEM customer
Projects
None yet
Development

No branches or pull requests

4 participants