Jump to content
We've recently updated our Privacy Statement, available here ×

simon.lischka

Members
  • Posts

    5
  • Joined

  • Last visited

simon.lischka's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi! My time series chart is displaying the time axis with following labels: 12:29 12:59 13:29 ... Is there a quick way to change it to 12:30 13:00 13:30 Thanks for the help!
  2. Found the solution: Adding <domainAxisMinValueExpression> [FIRST_VAL_OF_X_AXIS as Java.util.Date] </domainAxisMinValueExpression> <domainAxisMaxValueExpression> [LAST_VAL_OF_AXIS as Java.util.Date] </domainAxisMaxValueExpression> did the trick. The timeseries graph is limited to the date range I'm interested in and all my data entries seem to be plotted for now.
  3. Hi guys, I'm having some trouble customizing my time series graph. - Firstable I want to scale this to one day or one week ("zoom in") I thought the normal way to do this is changing TimePeriod to "Day". But it seems this only changes in which intervals JasperSoft pulls out data for the x-axis. What's the proper way to do this? - I have about 4000 data entries for the x-Axis and want the curve to be drawn using all these entries, even if I "zoom in". How can I achieve this? Scaling and precision can be observed in this line chart I've experimented with. 'd be happy about any idea, Thanks
  4. Hey guys, so did this work? Does the JS-Studio linechart also use Highcharts API? I can't find the property xAxis.tickInterval in Advanced properties view. How would the XML line in JRXML source look?
  5. I'm running into a problem with Jaspersoft Studio. I had a working project with a library defining custom conversion functions. Lately my .jrxml views don't find my functions anymore. When clicking on preview of *file1.jrxml* in folder *[PROJ_ROOT]/set1*, following error message is thrown: "The method AUTO_CONVERT(String) is undefined for the type file1_1434540912649_515329" AUTO_CONVERT is located in *[PROJ_ROOT]/src/de/companyname/packagename/MyClass.java*, all variables passed to it are of type String. Sample from MyClass.java: package de.companyname.packagename; .. @FunctionCategories({ de.companyname.packagename.MyClass.class }) public class MyClass { .. @Function("AUTO_CONVERT") @FunctionParameters({ @FunctionParameter("aString") }) public static String AUTO_CONVERT(String aString) { ... The jasperreports_messages.properties file is in [PROJ_ROOT]/src with content (also tried moving it to same dir as Myclass): de.companyname.packagename.MyClass.name = MyClass de.companyname.packagename.MyClass.description=Custom Functions de.companyname.packagename.MyClass.AUTO_CONVERT.name = Auto Convert de.companyname.packagename.MyClass.AUTO_CONVERT.description= Descr jasperreports_extension.properties, also in [PROJ_ROOT]/src: net.sf.jasperreports.extension.registry.factory.functions=net.sf.jasperreports.functions.FunctionsRegistryFactory net.sf.jasperreports.extension.functions.test=test Previously I managed to fix these kind of problems by modifying the build path settings and simply adding the project root ( which doesn't change anything now ). My functions don't appear in the expression editor. JasperSoft also seems to have some kind of problem "acknowleding" my src folder. Instead of displaying a folder like src directory in the Project Explorer and *de/companyname/packagename* as subelement, it now displays *src/de/companyname/packagename* as one single element. My classes packagenames are marked red and expect src as a prefix (*src.de.companyname.packagename* instead of *de.companyname.packagename*) I can trick JasperSoft into "acknowleding" the src folder by chosing New->SourceFolder in the project root, but this gets changed back by some JasperSoft magic after a while. Moving to de/companyname/packagename and working without src fixes the packagename issues, but still my views don't recognize my custom classes. My class path looks like this: <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path=""/> <classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry exported="true" kind="con" path="net.sf.jasperreports.JR_CONTAINER"/> <classpathentry exported="true" kind="con" path="com.jaspersoft.server.JRS_CONTAINER"/> <classpathentry kind="output" path="bin"/> </classpath> Anyone have an idea what may be going wrong and how to fix this? I'm pretty sure it must be something with the project setup. Simply creating a new one didn't help either. Strangely when I chose the FunctionsLibrary wizard and have JSoft create example methods + a sample report, the expected hello world function fails with a JRExpressionEvalException for the Hello World message. If relevant - sloppy example or my mistake? Thanks Update: I fixed the strange src folder behaviour by doing this: .classpath: <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="src"/> <classpathentry excluding="src/" kind="src" path=""/> <classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry exported="true" kind="con" path="net.sf.jasperreports.JR_CONTAINER"/> <classpathentry exported="true" kind="con" path="com.jaspersoft.server.JRS_CONTAINER"/> <classpathentry kind="output" path="bin"/> </classpath>
×
×
  • Create New...