I use the following code to display a line chart following the example but the labels are dim, title too big, and line not sharp. Business users complained about the look of the image. Is there a way I can control the effect of the font and the line using cewolf tags? Any idea to help generate a professional look image? Thanks!
<jsp:useBean id="lineRenderer" class="de.laures.cewolf.cpp.LineRendererProcessor" />
<jsp:useBean id="visualEnhancer" class="de.laures.cewolf.cpp.VisualEnhancer" />
<cewolf:param name="shapes" value="true" />
<cewolf:param name="outline" value="true" />
<cewolf:param name="useFillPaint" value="true" />
<cewolf:param name="fillPaint" value="#FFFFFF" />
<cewolf:param name="useOutlinePaint" value="true" />
<cewolf:param name="outlinePaint" value="#000000" />
<cewolf:param name="border" value="true"/>
<cewolf:param name="rangeIncludesZero" value="false"/>
<cewolf:img chartid="line11" renderer="cewolf" width="600" height="400">
<cewolf:map linkgeneratorid="rcb1" tooltipgeneratorid="rcb1"/>
I'm not sure what, exactly, "the labels are dim" or "line not sharp" means, so I can't help with that without a good deal more information (especially sample images).
Just about anything about the appearance of titles can be changed using the TitleEnhancer postprocessor. The test page in the example web app shows it in action.
Thank you for the response. I cannot find a way to upload the sample image to the forum. Is there a postprocessor I can use to change the look of the numbers on the x or y axis (for example, using a different font or different size), or making the lines sharper (for example sample more points to support higher resolution)? Some of the settings for line chart such as antialias/fontsize/legendanchor don't seem have any effect inside the <cewolf:chart> tag.
Let's take this discussion offline. I sense it could turn into something longer, and I don't like this forum software. Please contact me at email@example.com with your detailed questions and any screenshots you want to share.
I would be interested in the outcome of your discussion, given a related question, [art:discussion:2cf5a266]
ART: Discussion: 2cf5a266
I've responded in the other thread.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.