on 09-18-2014 12:26 AM
After evaluating the charting that comes within Crystal Developer 14.0. and searching on the net It appears that there is not way to set the y Axis (or x axis for that matter) scale at run time. I have a report with date/value pairs that I want in a x-y line chart. There are several "groups" of these pairs that are different charts (the chart is in the Group footer). Each "Group of pairs" has a min and max value that is known only at run time.
It appears my choice is to create the chart outside of Crystal (in my C# application), convert the chart to an Image, and somehow have the image appear in the report. I am using Visual Studio 2010 and an ADO.Net (XML) data set. (I have purchased the Bus Obj Crystal Developer I am not using the free one that you download for visual studio)
Is there a data type I can use to imbed the graphic in the Data Set? (I.E. Byte[] or Object)?
Any other thoughts would be appreciated
Neal
Hi Neal,
In the dataset, it's type is byte[].
For Ex: Save the image as a serialized string in the database.
Get it back as a byte array to put in the dataset:
byte[] buffer = Convert.FromBase64String(serialized string filed)
In the Crystal Report design tool, we just drag the field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.