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
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
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
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!