This is a migrated thread and some comments may be shown as answers.

legend displaying filtered data

4 Answers 93 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 1
Joe asked on 28 Jan 2013, 02:30 AM
I have a chart that is displaying data I want to filter out. This is depicted in the attached file unfiltered.png. So I applied a filter to the chart(the same filter is applied at the report level) and get what you see in filtered.png. How can I apply the filter to the legend area?
  
 

4 Answers, 1 is accepted

Sort by
0
Hadib Ahmabi
Top achievements
Rank 1
answered on 28 Jan 2013, 03:31 PM
What do you mean to filter the Legend? The legend only display information about the series.
0
Joe
Top achievements
Rank 1
answered on 28 Jan 2013, 03:42 PM
for DataLabelsColumn in the chart I have a column C3. Under PlotArea/x-axis/DataLabelsColumn I have column C2. Under filters on the chart I have "= Len(Fields.C3) <> 0" With this the chart is pretty much what I would like. How can I get the legend to do the same?
0
Joe
Top achievements
Rank 1
answered on 28 Jan 2013, 03:43 PM
no series is defined
0
Stef
Telerik team
answered on 31 Jan 2013, 05:26 PM
Hello Joe,

If the chart is build dynamically over the data then there is no way to control the appearance and/or behavior of any chart element including the Legend. To do so you have to build the chart series manually in its NeedDataSource event. In the following thread you can find some guidelines about how to achieve similar functionality: Graph for each group.

All the best,
Stef
the Telerik team

HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

Tags
General Discussions
Asked by
Joe
Top achievements
Rank 1
Answers by
Hadib Ahmabi
Top achievements
Rank 1
Joe
Top achievements
Rank 1
Stef
Telerik team
Share this question
or