Print option is not working in Charts download button

Hi,
I have developed an application which contains many chart representation data. The Download Button present on the right side of the graph, all the options in it are working except the PRINT option. When ever i tired to print them, it is printing a blank page instead of the Graph. How could i fix it?

Best Regards,
Dhanush Chikoti

Hi,

Thank you for reporting the problem. We have created a YouTrack issue, see the link.

As workaround you can use export to PDF and then print it.

Hi,

Thanks for the update. Now, can I disable/remove the Print Option in the Download button.
So that no user can see it.

Thank You,
Dhanush

Hi @Pinyazhin

Now this has become priority for us. Client wants us to prepare for go-live this month end and wants us to fix the print issue. Can you please expedite this issue?

Thanks in advance.

Hi @dhanushbabu.chikoti ,

Unfortunately, this issue is not included to the upcoming milestones yet, I’ll try to plan it, but there are no concrete dates/planned releases.

If this problem is important for you we provide dedicated commercial support https://www.cuba-platform.com/support-options

Hi @dhanushbabu.chikoti,

the problem was fixed in this issue: YouTrack.

If you are using 6.8-SNAPSHOT version of the platform, just refresh your dependencies: gradle assemble --refresh-dependencies.

Otherwise, add compile dependency via CUBA Studio on the “Project properties” screen:

amcharts_dependency

Regards,
Daniil.

Hi @tsarev,

Thanks for the update as im refreshing the Gradle dependencies im getting this sort of error. Please can you review it.

Configure project :
Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error. folder (2)\keansa_cloud
root project > Resolve files of :classpath
E:\New folder (2)\keansa_cloud>gradle assemble --refresh-dependencies
FAILURE: Build failed with an exception.path
root project > Resolve files of :classpath

  • Where:
    Build file ‘E:\New folder (2)\keansa_cloud\build.gradle’ line: 98

  • What went wrong:
    A problem occurred evaluating root project ‘keansa_cloud’.

A problem occurred configuring project ‘:app-global’.
Could not resolve all dependencies for configuration ‘:appComponent’.
Could not resolve com.haulmont.reports:reports-global:6.5.7.
Required by:
project :
Could not resolve com.haulmont.reports:reports-global:6.5.7.
Could not get resource ‘https://repo.cuba-platform.com/content/groups/premium/com/haulmont/reports/reports-global/6.5.7/reports-global-6.5.7.pom’.
java.lang.NullPointerException (no error message)
Could not resolve com.haulmont.fts:fts-global:6.5.7.
Required by:
project :
Could not resolve com.haulmont.fts:fts-global:6.5.7.
Could not get resource ‘https://repo.cuba-platform.com/content/groups/premium/com/haulmont/fts/fts-global/6.5.7/fts-global-6.5.7.pom’.
java.lang.NullPointerException (no error message)
Could not resolve com.haulmont.charts:charts-global:6.5.7.
Required by:
project :
Could not resolve com.haulmont.charts:charts-global:6.5.7.
Could not get resource ‘https://repo.cuba-platform.com/content/groups/premium/com/haulmont/charts/charts-global/6.5.7/charts-global-6.5.7.pom’.
java.lang.NullPointerException (no error message)
Could not resolve com.haulmont.bpm:bpm-global:6.5.7.
Required by:
project :
Could not resolve com.haulmont.bpm:bpm-global:6.5.7.
Could not get resource ‘https://repo.cuba-platform.com/content/groups/premium/com/haulmont/bpm/bpm-global/6.5.7/bpm-global-6.5.7.pom’.
java.lang.NullPointerException (no error message)

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 50s

Thanks in advance
Dhanush

hi, @dhanushbabu.chikoti

please create a new topic for your question: Forum guideline.

Regards,
Daniil.