on 07-22-2014 3:59 PM
All,
i need to create two thickish semi circles like half donuts... each of the donut needs to be conditionally formatted depending on some values. am wondering is it possible to create half donuts ? or custom shapes for that matter to suit my requirement.
hi Tanveer,
typically creating any custom shapes in crystal is limited to the chart expert and in some cases appending text from graphic fonts or using the limited rtf coding.
can you provide a mock-up and a bit more description on what you're looking to do and i'll see if i've got a sample somewhere that does something similar. although i'm canadian i do not have anything that creates donuts but there may be a workaround.
-jamie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
here's what i would recommend and it's a bit of work:
create a bunch of formulas that you can populate dynamically.
@green
if yourcondition1 then 1 else 0
@red
if yourcondition2 then 1 else 0
@blue
if yourcondition3 then 1 else 0
etc.
as Abhilash mentioned you need to use a Donut type chart. you create 1 formula for every colour that you want to use in the chart. you then add all of them as Show Values. you'll get a message / warning about adding all of the values but you can ignore that warning.
now you have to manually colour each part of the chart. there is a Color Expert in the chart but i would not recommend using it as it is very limited. you are better off creating one series / show value in the chart for every colour that you use and populating those formulas conditionally.
when you run the report, you need to ensure that only 2 of the formulas meet a TRUE condition. that way you'll have two halves all the time.
-jamie
Hi Tanveer,
There is no custom objects / designs to place in crystal reports however, You can go in Windows Character Map and change the font to Wingdings and see the pictures and pick your picture. Use ASCI value of that and use in crystal reports like ASC() and change the font to Wingdings at crystal report for that particular character.
Use condition to insert this asc() values like :
If {Value } = 1 Then Asc(2314) else Asc(48747)
Note: the values are not correct you may have to find correct values.
This will help you to insert desired shapes.
Thanks,
Sastry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.