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)
change markers dynamically
DQM
<p>Hi,</p>
<p>I would like to display trends on a linechart using dynamically changing markers, </p>
<p>a downward trend would be displayed by a red triangle pointing down, an upward trend would be a green triangle pointing up, neutral would be a black circle. Or orange, if certain conditions are met.</p>
<p>See attached screenshot.</p>
<p> </p>
<p>So... different markers in different colors, all on the same line, colors and shapes defined by parameters.</p>
<p>My guess would be that this is possible using a clientscript in the chart editor.</p>
<p>But how?</p>
<p>All help is appreciated.</p>
<p> </p>
<p>Thanks!</p>
Find more posts tagged with
Comments
Clement Wong
<p>HighCharts allows for custom markers at each point. Here is their example:</p>
<p><a data-ipb='nomediaparse' href='
http://jsfiddle.net/gh/get/jquery/1.9.1/highslide-software/highcharts.com/tree/master/samples/highcharts/demo/spline-symbols/'>http://jsfiddle.net/gh/get/jquery/1.9.1/highslide-software/highcharts.com/tree/master/samples/highcharts/demo/spline-symbols/</a></p>
;
<p> </p>
<p>In commercial BIRT, you can change the symbol in <em>beforeDrawDataPoint</em>. You will have access to the value via the "point".</p>
<p> </p>
<p>For example:</p>
<pre class="_prettyXprint _lang-">
pointOptions.marker = {
symbol: 'url(http://someplace/images/image.png)'
}
</pre>
<p>Attached is a sample.</p>