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
Is there any example how drawBarChart() works with Java? #6
Comments
This method is not implemented yet. It's just added to the interface. |
Hi, thanks for your response. Do you have any idea when will be the next release? Also, I'm trying the drawPieChart() and found that seems the color of the Pie Chart is fixed (in blue) which is really hard to see and hard to distinguish each category based on the same color...is there any way to customize the color of the Pie Chart such as each category in different color etc...? |
Hi, we are working towards delivering the next release as soon as possible. We fixed This change to This is the example in Java - https://github.com/sysalto/ReactiveReports/blob/master/examples/src/main/java/com/sysalto/report/examples/MutualFundsNoAkkaJavaReport.java#L222
|
Thank for fixing the color issue for the pie chart and looking forward the next release that has the bar chart working as well. |
I have tried 1.0.2-SNAPSHOT and pie chart color issues are fixed, but it's causing another issue: throws the exception at line: Float y = report.calculate(row), the ReportCell array (row) has some empty value, for example: ReportCell[] row = new ReportCell[]{"some string", "", ""}; these code was working fine before applied 1.0.2-SNAPSHOT. Exception details: |
Hello, I fixed this exception, and it's in the SNAPSHOT version. The change to |
Thanks for fixing the exception and continue working on the Bar Chart. I will give it a try later...I also found a performance issue when adding a lot of images to the PDF report by using drawImage(). Without adding any images, the performance looks fine. When I tried to add about 20000 images, the size of image is not big (1KB each), the report generation took about 20 mins to finish. Do you have any idea how to improve the performance when adding images? |
Hi there, Issue 1 - I fixed the Bar Chart and added this example: BarChart Example Issue 2 - Regarding adding 20,000 images, did you add the same image 20,000 times, or are they different ? How many different unique images do you have, in the 20,000 ? |
Hello, Our newest version, 1.0.2 was released today. The issue with image optimization was fixed here. After the fix, a report having the same image on 20,000 pages takes only 4 minutes to generate, down from 20 minutes. Scalaz, another open source software, was used for this optimization. Here is the license for scalaz: Scalaz license Please, let us know if you have other questions regarding this specific bug. Otherwise, feel free to close it. Thanks ! |
Hi, |
BTW, I have tried the bar Chart with v1.0.2, it works well. Thanks. I will close this issue and open a separate issue for the image optimization. |
Hi,
We are currently fixing the report accessibility feature. We don't have
time to analyze further the PDF optimization.
Maybe we will, at some point in the future. But, at the moment, this is not
a high priority.
As long as it works, 20,000 images (10 different individual pictures) in 20
mins doesn't seem that bad for now.
Thanks,
SysAlto Team
…On Thu, Nov 29, 2018 at 6:03 PM conniepe ***@***.***> wrote:
Hi,
Thanks for your update. I have just tested the latest version 1.0.2 for
the image optimization issue. I was trying to add 20,000 images to the PDF
report and there are around 10 different unique images in the 20,000. The
report is around 600 pages and each page has about 40 images added. By
using 1.0.2 version, It took about 20 mins to generate the report. It
doesn't look a good improvement on the performance. Could you help take a
look this issue again? Thanks.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AYXUwp5rmuq89kBGnoToUB3YNcAv8reZks5u0GfNgaJpZM4V2xAl>
.
|
Hi, is there any example how drawBarChart() works with Java?
The text was updated successfully, but these errors were encountered: