You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the ccv-gauge-chart, the chart displays properly in development mode, but it fails to work correctly in both preview and production environments. I am experiencing a specific error in the production environment related to the function this.getHolder() from the core library.
Environment
Vue: 3.24.21
@carbon/charts-vue: 1.16.0
Build Tool: Vite
Error Details
In the production environment, the following error appears in the browser console:
Error: this.getHolder return undefined
It seems like the function this.getHolder() from the core library is not functioning as expected.
Steps to Reproduce
1 Import the charts in the Vue application as shown below:
import ChartsVue from '@carbon/charts-vue';
...
app.use(ChartsVue);
...
2 Use the chart component in a Vue template with the following setup:
The chart displays correctly in development mode.
The issue occurs only in preview and production environments.
Request for Assistance
I suspect I might have missed something in the configuration or there could be an issue related to the production build process. Could you please help me identify and resolve the issue?
Configuration Files
If relevant, please find attached or referenced the configuration files for Vite and other related setup.
Thank you in advance for your assistance!
Version
@carbon/charts-vue@1.16.0
Data & options used
No response
Relevant log output
No response
StackBlitz example
No response
What priority level would this be in your opinion?
P2
The text was updated successfully, but these errors were encountered:
Application/Team
external
What happened?
Description
When using the ccv-gauge-chart, the chart displays properly in development mode, but it fails to work correctly in both preview and production environments. I am experiencing a specific error in the production environment related to the function this.getHolder() from the core library.
Environment
Vue: 3.24.21
@carbon/charts-vue: 1.16.0
Build Tool: Vite
Error Details
In the production environment, the following error appears in the browser console:
It seems like the function this.getHolder() from the core library is not functioning as expected.
Steps to Reproduce
1 Import the charts in the Vue application as shown below:
2 Use the chart component in a Vue template with the following setup:
Additional Information
The chart displays correctly in development mode.
The issue occurs only in preview and production environments.
Request for Assistance
I suspect I might have missed something in the configuration or there could be an issue related to the production build process. Could you please help me identify and resolve the issue?
Configuration Files
If relevant, please find attached or referenced the configuration files for Vite and other related setup.
Thank you in advance for your assistance!
Version
@carbon/charts-vue@1.16.0
Data & options used
No response
Relevant log output
No response
StackBlitz example
No response
What priority level would this be in your opinion?
P2
The text was updated successfully, but these errors were encountered: