Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Developing Analytics Applications
Optional Y Series Grouping in Chart Engine
Migrateduser
<p>I'm trying to figure out how to implement an Optional Y Series Grouping as seen in the Report Designer. Specifically, I would like to add a third dimension to a chart by coloring each point according to some third value. I have attached a quick sketch of what I'd like to do (ignore the numbers... they're completely wrong).</p><p> </p><p>Playing around with the report designer, it seems like the optional y series grouping can do this. If there's an easier or better way, I'm open to suggestions. It's probably worth noting that the grouping values are not known ahead of time. There can be an indefinite number of unique values in a column of data to the point where every row could have a unique value. I do not need to display a legend since there is interactivity in the chart to provide more detail.</p><p> </p><p>My question is how do I actually use this grouping feature in the Java API? I tried setting the query on the Y series definition like this, since I found someone else doing something similar:</p><pre class="_prettyXprint">Query query = QueryImpl.create("row["groupColumn"]");valueDefinition.setQuery(query);</pre><p>Then I added a named dataset containing the column values to my Y series:</p><pre class="_prettyXprint">series.setDataSet("groupColumn", groupingDataSet);</pre><p>I'm sure I'm doing this wrong, but once again, it's really hard to find examples of Chart Engine usage. The vast majority of results for any Google search are for the Report Designer.</p>
Find more posts tagged with
Comments
There are no comments yet