Comments (7)
We would need a small example report from your side with the grafik.
But without any external data source reference that we can reproduce the topic and have the same starting point like you.
Yes, I read the StackOverflow-hint and it must be checked.
The topic is that we use BATIK at different locations of the whole project not onyl at PDF size.
from birt.
Maybe you can solve this by using a relative path which must not contain upwards references ..
.
from birt.
TLDR
I have uploaded a sample report. The report works when exporting to DOCX and XLSX. This does not work for PDF. I used the relative path. Setting the relative path in the Report Designer is difficult, application seems to bomb out so I just set it in the XML.
TestChartImageSeries.zip
Some background information that leads to some feature suggestions. I generate BIRT reports purely from command line. We do our other analytics using other BI applications but BIRT has proven to be the best at creating PDFs, DOCX and XLSX. I found it simpler to create different client colour schemes by just simply copying different PNG files to one folder in a batch file then generating the reports. I tend to find that adding scripts to BIRT reports makes them hard to maintain for none technical users and even for me. A year later I am not sure where the magic is happening. This wouldn't be necessary if one could enter a dynamic value (with hex value of colour) in the option window below:
- Perhaps bind the colour to a data set field
- Bind to a parameter (probably the most convenient)
- Bind to a variable
- Or have the conditional formatting interface available here for the colour.
Thank you for the wonderful work you do developing BIRT. These are just suggestions.
from birt.
For your suggestions, have you tried to use the CSS-styles of the report which can be manipulated through a fetch based on the style name and changed to the according CI. (I use this option for my specific division-CIs).
And a question could you please add a screen where you call the image dialog because I'm not sure which option you mean/where the dialog was called from.
from birt.
The change of the embedded external resource is merged to the master with PR #1857.
from birt.
There is an additional option instead of the image option for the palett-color which is a good solution
you would be able to use scripting of the color. The screen below shows the original chart color "orange" which will be changed via script to "red".
The scripts are included on the chart at method "onRender()" - my (small) example is attached.
So you would be able to use a parameter to set the necessary colors (, my example is without parameters but you get the scripts for the color setting).
This is the way to use parameters for the coloring - one of your requirements.
Further infromation to have acces to external variables: #1848
Further information for chart scripting: http://birtworld.blogspot.com/2011/10/birt-chart-palette.html
(old but cool :o)
Chart, dynamic color change (script)
Chart example with scripted color
from birt.
I will close this ticket.
The change is available and aditional hints available too.
Don't hesitate to aks if there are some further detailed questions.
from birt.
Related Issues (20)
- Excel-emitter (Spudsoft): Grids and tables with merged rows and image can cause NPE HOT 1
- ClassCastException: Report-processing with "HTML-table-structures" cause exception if the structure contains comments HOT 2
- PDF/A-3 support, validation fails HOT 11
- Invalid signature error in runtime tests HOT 7
- Creating/Editing datacubes leads to error HOT 11
- Support for DuckDB JDBC HOT 4
- Track down tests that fail to render their expected image content HOT 8
- Enhancement, JDBC driver manager - configuration of the property validation HOT 2
- PDF-emitter: UserProperties like standard configuration at designer level HOT 1
- Performance issue occurs when dataset has a parameter mapped to int8 type on PostgreSql HOT 11
- XML source not synchronized with outline view
- Test-element "TestingBall" is visible for "Insert Element", preview generation failed - (only for designer test reasons) HOT 1
- Excel & Indent (#1666): NPE can be produced in special cases of images without wrapped grid/table e.g. a single chart HOT 1
- BIRT 4.17, designer & Spudsoft excel: Spudsoft XLS & XLSX not longer created from designer-preview & designer-viewer HOT 12
- BIRT, link styling "bookmarks" & "hyperlink": use configured styling and avoid standard hyperlink text decoration (#1025) HOT 4
- Reports exported in DOC format does not show report content properly HOT 4
- Excel, antidiagonal: the antidiagonal is set at background of merged cells - visible if rows will be added (#1866) HOT 1
- Excel, prototype emitter: avoid the diagonal print if the style is unset (= "none", discussion #1866) HOT 1
- Word, page size: output not limited to maximum possible width & height of word (#1869)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from birt.