Custom Annotations On SRS 2000 Charts

Feb 12, 2007

I would like to be able to put custom annotations on charts. Specifically I have a line chart I want to annotate. I don't want to indicate all plot points, just areas of interest. For example, on one of our line charts there is a value for a week (weeks are the x-Axis) that is way out of whack with other weeks. I would like to be able to display only that value, circle that location on the chart and create a custom note so that when the report displays, all users can see it.

All I've been able to find that I can customize on SRS line charts is to add all plot points and be able to change their shape and color and font size. I want to be able to do way more than that with annotations. Is it possible? I have .NET programming abilities so I'd be willing to write code to do it, I just can't find any examples of how I can write custom code to do things like this.

Thanks for any help!

Mary

View 2 Replies


ADVERTISEMENT

Having Custom Legend To Pie Charts

Aug 26, 2007

Hi All,

what I want is a custom Legend for the Pie Chart.

I have followed this article and have done what was written under

Custom Chart Color Palettes and Legends
http://msdn2.microsoft.com/en-us/library/aa964128.aspx#moressrscharts_topic4

But still the color of the legend is not uniform.
Basically I am using a stored procedure which returns two values : Circle, Total based on a parameter called Customer.
1. I have pasted the code asked in the Code Section of the report.
2. Have Disabled the 'Show Legend' box in Chart Properties.
3. Have included the following code in the Values->Appearance->Series Styel->Fill

=Code.GetColor(Fields!Circle.Value)
4. In the Category groups ->Group on-> this is my expression =Fields!Circle.Value (Basically I am not sure where
should I include Circle Field. I have tried this both by putting it in Category Groups and Series Groups.)
5. Dragged and dropped new table and have done the following

a.table1->Properties->Groups->Add->General->Group on Expression Fields!Circle.Value
b.Deleted Detail row.
c.Dragged and dropped rectangle in the column value and set the background value to =Code.GetColor(Fields!Circle.Value)


When I run the report for different customers the colors are not remaining constant. I have 17 values for Circles. So included three more colors in the "colorPalette " variable..

After doing all this still I am not able to get the same colors. Could someone tell me where I am going wrong?

View 1 Replies View Related

Need Help Regarding Custom Colors For Charts In Reporting Services

May 30, 2007

I need some help regarding Custom Colors implementation for Charts in the Reporting Services.



What we are trying to do is to make every color for every Series(see example below) to be a customized Corporate color.



For example each of the series on the Chart should be in specific Custom Color:

Series 1 - "LightBlue"
Series 2 - "LightYellow"

Series 3 - "DarkBrown"



All I found from MSDN is how to do it in the Chart Properties in a Code section (right click on the report outside the chart -> Properties -> Code tab -> paste the Custom Code ).



And then to use it in the Chart color definition as:


Code Snippet=Code.GetColor( Series# )











But we are trying to do it in a separate C# class that would be updated only in one place, instead of changing 30 reports each time something is changed. So that it could be generic.





The C# class:






Code Snippet

namespace CustomColorPalette

{

public class CustomPalette

{

public CustomPalette()

{

}



public static string GetColor(string GroupingValue)

{

int groupingValue = int.Parse(GroupingValue);

string[] colorPalette = {"Green", "Blue", "Red"};

if (groupingValue < colorPalette.Length)

{

return colorPalette.GetValue(groupingValue).ToString();

}

else

{

return "Black"; // if # of Series is more than defined - all undefined will be = Black color

}

}



}

}









I tried 2 different ways:





1.



Then I put a code into a Custom Code section of a report:






Code Snippet

Public Function GetColor(SeriesNumber as String)

Return CustomColorPalette.CustomPalette.GetColor(SeriesNumber)

End Function







And in the Chart Custom Color settings I put:




Code Snippet=Code.GetColor( Fields!SeriesNumber.Value )





And after compilation I get an error:



Error 303 [rsCompilerErrorInCode] There is an error on line 2 of custom code: [BC30451] Name 'CustomColorPalette' is not declared. c:developmentvoyagerreportsvoyager convert reports.rootvoyager convert reportsReport_007D.rdl 0 0










2.



Second way I tried:





Then I put a code into a Custom Code section of a report:






Code Snippet

Dim X As CustomColorPalette.CustomPalette

Protected Overrides Sub OnInit()

X = new CustomColorPalette.CustomPalette()

End Sub









And in the Chart Custom Color I put:




Code Snippet=Code.X.GetColor( Fields!SeriesNumber.Value )







And after compilation I am getting an error like this:

Error 302 [rsCompilerErrorInExpression] The BackgroundColor expression for the chart €˜chart2€™ contains an error: [BC30456] 'X' is not a member of 'ReportExprHostImpl.CustomCodeProxy'. c:developmentvoyagerreportsvoyager convert reports.rootvoyager convert reportsReport_007D.rdl 0 0



Is there any workaround? Or all I can do is to make the Custom Colors manually in each report, and if something need to be changed - I will need to change it in each report separately





Thanks,

Alex

View 5 Replies View Related

Extracting Data From Sql Server 2000 To Draw Bar Charts In Powerpoint/excel

Mar 12, 2007

Dear all,

I am doing a project where I heed to extract data from a table in a sql server and then automatically create a bar chart with this data preferrably in PowerPoint (or excel). I was thinking myself that it may be done in vba/macro added to a button in powerpoint. If anyone knows how to do this i would be very grateful or if anyone know a useful website could they post it up.

Thanks for your help

Laura

View 3 Replies View Related

Is Multiline Annotations Possible In SSIS

May 13, 2008

i wanna give comments in my data flow and control flow.
annotations are coming for only one line. its going long, if i press enter also its not coming in the next line!
any solution?

also give me some shortcuts for auto size and auto align!

View 3 Replies View Related

BIDS Bug With SSIS Annotations

Jul 24, 2006

I would like to report what appears to me to be a bug. I found it while researching an answer for another thread. http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=554926&SiteID=17

Since that thread has not received any further replies I thought I would start a new one to see what answer we can get from MS as well as if anyone else would care to reproduce.

The bug is not a major one and the work around is easy, but it can be annoying.

The bug is this: if I open an SSIS package in BIDS (RTM or SP1) and the only change I make is adding or modifying an annotation and then click on Save and then close BIDS does not save the new annotation or changes made to existing annotations. If I change something other than an annotation then BIDS does save the annotations with the package.

A careful observer will notice that when opening a package and then modifying or adding an annotation that BIDS does not even register that the package has been changed. This is evident by the lack of the trailing asterisk in the title bar after the package name.

In summary if I go into a package for the sole purpose of adding and/or modifying annotations they will not get saved. Workaround: modify something else in the package and then save.

View 1 Replies View Related

How To Change Font Type For Annotations?

Jul 27, 2007



Hi all of you,

I'd like to find where can I change the fonttype for annotations done in Control Flow. I mean, every time that I do that appears the one I chose by default
TIA

View 5 Replies View Related

Copy Annotations Out Of Xml/ Dtsx Package

Jul 14, 2006

Is there a way to strip out the annotations from a dtsx package. I'm looking at quite a few and would like to automaticly pull those out and store them somewhere in either a table or a text file.

Is this possible or am I going to have to hand copy them out?

Thanks for the help
Saitham8

View 11 Replies View Related

Displaying Custom Properties For Custom Transformation In Custom UI

Mar 8, 2007

Hi,

I am creating a custom transformation component, and a custom user interface for that component.

In
my custom UI, I want to show the custom properties, and allow users to
edit these properties similar to how the advanced editor shows the
properties.

I know in my UI I need to create a "Property Grid".
In
the properties of this grid, I can select the object I want to display
data for, however, the only objects that appear are the objects that I
have already created within this UI, and not the actual component
object with the custom properties.

How do I go about getting the properties for my transformation component listed in this property grid?

I am writing in C#.

View 5 Replies View Related

Error While Changing Custom Resolver Between 2005 Publisher And 2000 Subscriber

Sep 25, 2007

Hi all,

here is the context of our problem:

- Publisher :

version SQL Server 2005 SP2
table in SQL Server 2000 (80) compatibility level
publication in SQL Server 2000 compatibility level
- Distributor : SQL Server 2005 SP2
- Subscriber : SQL Server 2000 SP4 + hotfixes (version 8.00.2187)

There is only one article in our publication (a simple table with a GUID and a nvarchar(50) columns), and we have left the default resolver.

1 - The first synchronization of the subscription is successfully completed, and it is the same for the different updates/inserts/deletes or conflicts.

2 - Then we change the Resolver of our article by our own COM-Based Custom Resolver (developped in C# 2.0). This resolver only change the default behaviour: the subscriber always win (this is for a test, in the future we will have a complex business logic). All the synchronizations works fine and do what we want in the conflicts.

3 - We rollback the resolver to the default one... and here is the problem!
The synchonizations stop to work correctly. For all of them we've got the same error:



Code SnippetReplprov.dll , 2007/09/25 14:26:07.591, 4000, 16890, S1, ERROR: ErrNo = 0x80045017, ErrSrc = <null>, ErrType = 8, ErrStr = The schema script '
declare @cmd nvarchar(1000)
set @cmd='exec sys.sp_MSchangearticleresolver @article_resolver=@ar, @resolver_clsid=@rc, @artid=@ai, @resolver_info=@ri'
exec dbo.sp_executesql @cmd, N'@ar> nvarchar(255),@rc nvarchar(40),@ai uniqueidentifie..." mailto:N?@ar">N'@armailto:N'@ar">N'@ar</A< A>> nvarchar(255),@rc nvarchar(40),@ai uniqueidentifie...




It is no more possible to synchronize this subscription... Any remark will be helpfull cause we did not find anything on the net concerning this error.

Thanks a lot!

View 3 Replies View Related

Expression Editor On Custom Properties On Custom Data Flow Component

Aug 14, 2007

Hi,

I've created a Custom Data Flow Component and added some Custom Properties.

I want the user to set the contents using an expression. I did some research and come up with the folowing:





Code Snippet
IDTSCustomProperty90 SourceTableProperty = ComponentMetaData.CustomPropertyCollection.New();
SourceTableProperty.ExpressionType = DTSCustomPropertyExpressionType.CPET_NOTIFY;
SourceTableProperty.Name = "SourceTable";






But it doesn't work, if I enter @[System:ackageName] in the field. It comes out "@[System:ackageName]" instead of the actual package name.

I'm also unable to find how I can tell the designer to show the Expression editor. I would like to see the elipses (...) next to my field.

Any help would be greatly appreciated!

Thank you

View 6 Replies View Related

Expression Issue With Custom Data Flow Component And Custom Property

Apr 2, 2007

Hi,



I'm trying to enable Expression for a custom property in my custom data flow component.

Here is the code I wrote to declare the custom property:



public override void ProvideComponentProperties()

{


ComponentMetaData.RuntimeConnectionCollection.RemoveAll();

RemoveAllInputsOutputsAndCustomProperties();



IDTSCustomProperty90 prop = ComponentMetaData.CustomPropertyCollection.New();

prop.Name = "MyProperty";

prop.Description = "My property description";

prop.Value = string.Empty;

prop.ExpressionType = DTSCustomPropertyExpressionType.CPET_NOTIFY;



...

}



In design mode, I can assign an expression to my custom property, but it get evaluated in design mode and not in runtime

Here is my expression (a file name based on a date contained in a user variable):



"DB" + (DT_WSTR, 4)YEAR( @[User::varCurrentDate] ) + RIGHT( "0" + (DT_WSTR, 2)MONTH( @[User::varCurrentDate] ), 2 ) + "\" + (DT_WSTR, 4)YEAR( @[User::varCurrentDate] ) + RIGHT( "0" + (DT_WSTR, 2)MONTH( @[User::varCurrentDate] ), 2 ) + ".VER"



@[User::varCurrentDate] is a DateTime variable and is assign to 0 at design time

So the expression is evaluated as: "DB189912189912.VER".



My package contains 2 data flow.

At runtime,

The first one is responsible to set a valid date in @[User::varCurrentDate] variable. (the date is 2007-01-15)

The second one contains my custom data flow component with my custom property that was set to an expression at design time



When my component get executed, my custom property value is still "DB189912189912.VER" and I expected "DB200701200701.VER"



Any idea ?



View 5 Replies View Related

Adding Custom Property To Custom Component

Aug 17, 2005

What I want to accomplish is that at design time the designer can enter a value for some custom property on my custom task and that this value is accessed at executing time.

View 10 Replies View Related

Custom Task - Custom Property Expression

Aug 16, 2006

I am writing a custom task that has some custom properties. I would like to parameterize these properties i.e. read from a varaible, so I can change these variables from a config file during runtime.

I read the documentation and it says if we set the ExpressionType to CPET_NOTIFY, it should work, but it does not seem to work. Not sure if I am missing anything. Can someone please help me?

This is what I did in the custom task

customProperty.ExpressionType = DTSCustomPropertyExpressionType.CPET_NOTIFY;

In the Editor of my custom task, under custom properties section, I expected a button with 3 dots, to click & pop-up so we can specify the expression or at least so it evaluates the variables if we give @[User::VaraibleName]

Any help on this will be very much appreciated.

Thanks

View 3 Replies View Related

Help !!!Pie Charts

Sep 5, 2007

Hi all ,
i need to have outside label position for my data in 3d pie chart. How can i implement outside labelling?

Thanks

View 1 Replies View Related

Bar Charts

May 4, 2007

I have created a bar graph but cannot find a way to change the bar's color for different series.



I have a graph which has sales men and their sales between dates



Thanks for your help

View 5 Replies View Related

Charts

Jan 10, 2007

Hi, I have a quick question about charts in SQL reporting services...

Is it possible to have a page through chart, meaning that an user can page through multiple pages of the same chart?

View 1 Replies View Related

Bar Charts

Mar 1, 2007

hi,

I would like to have a bar chart with the values of each bar on the top of the bar. How can I do this.

thanks,
naveen

View 1 Replies View Related

Create PIE/BAR Charts Using DTS?

Nov 14, 2007

Hi All,

I'm using DTS in Sql Server 2000 for the first time, and would like to create Ad-Hoc reports with Pie/Charts and graphs. Is this possible in SQL Server/DTS, or would I need something like Cyrstal Reports?

Thanks!

Matt

View 2 Replies View Related

Line Charts

Jun 21, 2008

Hi

I have developed some line charts in reporting services with some parametrs

On the bottom axis is the month and the upper is no. hours.

The problem is that when i select certain parametrs becaus there is no data for that month the line just ends and then starts at a new month.

Does anyone know anyway of telling it to go to zero if there is no data for it so there is a continous line

Thanks

View 2 Replies View Related

Multiple Charts?

Mar 18, 2008

Can you loop through the records of one dataset and create a chart for each record?

View 2 Replies View Related

SSRS Charts

Jan 4, 2008



Hi,
How can we use the line chart in the Sql Server Reporting Services 2005.
Please explain about the each and every properties in chart control.

Thanks In Advance
Shoba

View 1 Replies View Related

Graphs And Charts

Aug 2, 2007

Does anyone here use 3rd party graphs and charts for SSRS 2005?

What do you use? Is there a superior package out there?

Thanks

-JW

View 1 Replies View Related

Most Charts Not Displaying

Feb 28, 2007

I've got a report with a table holding a subreport that contains a number of Dundas charts. Each of these charts displays A LOT of data.

Now... after deploying the report, only a few charts at the bottom of the report are displayed -- the rest display the Image-doesn't-exist icon (File image with red X across it). Can anyone tell me what's going on? My best guess is that this is a memory issue on the server side...

View 1 Replies View Related

Charts Using SSRS

Jul 2, 2007

Friends,

I have a requirement in Bar charts using SSRS...Assume that I have 3 Products Quantity and the representation will look like following

A - 10

B- 20

C-15



Though it is easy to develop this as a bar chart...The requirement is that a Product Perfomace should be represented using Images in the chart area...Instead of showing that A has 10 quantitites in a single bar, a general product image should be coming in the place of 10 and same with the case of B and C.. I have used smiley icons here for clarity



The look of the chart should be like following



|

|_________________

|_________________|

|

|________________________________

|________________________________|


|

|______________________

|______________________|

|_________________________________________________


Please let me know if there is a way to customize this bar chart using SSRS Charts...Thanks in Advance

View 2 Replies View Related

Multiple Charts

Aug 24, 2007

Hi,

I am upgrading all my access reports to reporting services. One of my access reports, contains a chart which is set a a multiple chart (so I can see a chart of data for each day in the data set). Is it possible to do the same using the SQLserver 2005 chart component?....I cannot see an obvious button to press which makes a single chart a multiple one.

If this is not possible in vanilla reporting services, can anyone suggest a thrid party add-in that will rovide the functionality I want? (cheaply lol!)

Cheers,

Kevin.l

View 18 Replies View Related

Question About Charts

Aug 14, 2007



I have a pie chart which is been populated from a sproc.

and for a particular fund the values that generate are 78%,20% and 2% respectively.

And when it generates a chart the pie chart is uniformly displayed... Like for eg.. its been broken into 3 parts and there isnt a difference between the 78% and the 2% so ... How can i get the pie chart to be a displayed according to its values..

Any help will be appreciated..
Regards
Karen

View 7 Replies View Related

Problem In Navigating Two Charts

Jan 18, 2007

Hi all,

I have done 2 charts.while clicking one chart it is navigating to another chart. it is working in Report Server.

But using this graph in the UI page(putting Iframe and calling reports) it is not navigating to another chart.

Can u guys help me to solve the problem

Thanks in advance.



View 1 Replies View Related

Creating Line Charts

Feb 7, 2008

Hello,
I am attempting to create a line chart for a report.
Are there any detailed white pages that discuss this particular chart type in detail? So far most of the documentation I have seen fails to cover the extent of the properties available in a chart and the terminology is unfamiliar to me.
What I need to know is how to integrate the chart into an existing table and within a group, plus be able to change the y-band scale to match the particular data being returned by that grouping.
Is this something better suited towards a subreport inserted into the detail band or inserting a rectangle then the chart itself forgoing the use of a subreport?
Any documentation would be appreciated, step by step approaches would be even more helpful.

Thanks.

View 1 Replies View Related

Using RunningValue In Charts With Subreports

Jul 3, 2007

Hi,
I am creating some earned value reports that display project budget, actual cost to date, projected cost, and earned value. I have all of the data stored by month so I am using the Running Value function to display the data on a graph such that at any given point on the graph, it is showing total dollars as of that date. This works great for a single project or a summation of projects.

I also want the ability to create a batch set of reports for a series of projects, basically they input a list of project numbers, and a new graph is generated for each one. To do this, I created a "batch report" that has a subreport in a table's group with project id being the grouped on field, it passes that project id to the subreport as input.

I get exactly what I want - a new report for each project, but the problem is, running value on the graphs is not working across the projects. It's fine for the first project, but all subsequent projects are getting messed up. For instance, one project with a max budget of 200K is showing with a max budget of 400K, actuals are getting nulled out, etc. It's as if for some reason, the RunningValue isn't getting reset across the subreport....

An example of my value field on one of the lines (not copy and pasted so forgive any syntax errors - I'm not on my development box):





Code Snippet= Iif(MAX(Fields!actual_de.Value + Fields!actual_work.Value) >0, RunningValue(Fields!actual_de.Value + Fields!actual_work.Value, Sum, FakeSeries), Nothing)



(The point of the max is so that the graph stops on months without actuals - that is months that haven't occured yet)

My FakeSeries is just on projectID and is just for the purpose of resetting the Running Value (or so I thought).

Does anyone have any input or advice on how to get this working? Why is RunningValue getting messed up across subreports? If I only give the batch report one project ID, the data is great. (I know it's the running value because if I take out running value and just graph the SUM - all the values are correct). If anyone has an alternate way of doing this sort of batch report I'm all ears as well!

Thanks much!
Jen

View 1 Replies View Related

Charts For Reporting Services

Apr 25, 2007

I'm having problem with Charts
any good website or books i can read up on
just can't anything good on charts
I need to use 2 pie chart and 1 bar chart but i can't get it to work like i wanted to

I'm not sure what Series and Category is used and how to stack the fields in the Charts

View 1 Replies View Related

Bar Charts - Possible To Set Max Widths Of Columns ?

Jul 9, 2007



Hi,



Is it possible to fix the max width of the columns ?? Sometime the report only generates 1 or 2 columns and it looks a bit odd as they're stretched to the width of the page.



Also, when we have a large number of culumns, say 20 odd, the legend text get's real squashed up and un readable, are there any tips/tricks so i can have more flexibility over what's displayed ?



thanks



Steve

View 2 Replies View Related

3D Depth/Perspective In Bar Charts

Dec 19, 2007



Hello,

My 3D bar charts don't look as good as they could because the bars are too thick when displayed in 3D (depth-wise). If I have many bars, the bars are very thin on the front, and then go back far too much. Has anyone played with the settings to see how to optimize this? Even with 5% rotations, it is still too thick for my taste and doesn't look like the previews in the designer.

Mike

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved