Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Changing a single Marker in a Chart
canutri
Is it possible to change a Marker in a Chart? In a line graph having 12 plots (1 for each month in past 12 months), I want the current month to stand out as it's plot value is not final until the month is complete. Ultimately, I'd like to have the Marker blink, but I'll settle with a different color or shape.
I've seen the following link - BIRT Chart Scripting: Dynamic Markers » Blog - BIRT Exchange - regarding changing a marker color, so this would be a start. However, I'm not too familiar with the ChartEventHandlerAdapter class. It appears to me the code sample will return the value of the plot (Y-axis), but what I need to do is compare the X--axis value to determine if the date is the current month.
I am using birt-runtime-2_3_2_2 from the Report Design perspective in Rational.
Any suggestions would be greatly appreciated,
Daron
Find more posts tagged with
Comments
bhanley
This DevShare sample does conditional formatting of a bar chart based on a parameter. Seems like it is a start in getting you on your way to what you need.<br />
<br />
<a class='bbc_url' href='
http://www.birt-exchange.org/devshare/designing-birt-reports/819-parameter-driven-bar-chart-formatting/#description'>Parameter-Driven
Bar Chart Formatting - Designs & Code - BIRT Exchange</a><br />
<br />
If I can get some time I can try and re-work the sample to your needs with a line chart. See if this sample can jump-start things in the meantime.
canutri
Hi Brian,
Thanks for the quick response. The linke and example you provide certainly do get me started in the right direction. I can see how this example works.
But to do what I need, I'll probably need to learn more about the objects available. Is there a BIRT Chart Scripting Reference? I've found the Report Scripting Reference.
Thanks,
Daron
millvall
Hi Daron, <br />
<br />
I found this URL helpful for charts.<br />
Scroll down over the intro parts to find some interesting text about the<br />
chart components and API.<br />
<br />
Milt.<br />
<br />
<br />
<a class='bbc_url' href='
http://wiki.eclipse.org/BIRT/FAQ/Charts2.2'>BIRT/FAQ/Charts2.2
- Eclipsepedia</a>