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)
how to draw dynamic marker
jullrun
On item onRender script. We can have beforeDrawDataPoint(), beforeDrawMarker() function.
When I change the marker type or color, I would like to depends on others column.
Which means same record on same dataset, but different column.
Is there any method I can get others column value on the same record?
Find more posts tagged with
Comments
Virgil Dodson
Hi jullrun,
It is a bit tricky to get other column values while in a chart script...however you can do this by adding references inside the Chart Interactivity to the columns you want to use. In the enclosed example, press the Chart Interactivity button on the Value Series of the chart. I have added a reference to row["Minimum"] in the onKeyPress Event. By doing this, I can reference this value in script like dph.getUserValue("row["Minimum"]");
jullrun
<blockquote class='ipsBlockquote' data-author="vdodson"><p>Hi jullrun,<br />
<br />
It is a bit tricky to get other column values while in a chart script...however you can do this by adding references inside the Chart Interactivity to the columns you want to use. In the enclosed example, press the Chart Interactivity button on the Value Series of the chart. I have added a reference to row["Minimum"] in the onKeyPress Event. By doing this, I can reference this value in script like dph.getUserValue("row["Minimum"]");</p></blockquote>
<br />
Thanks for your reply!