Search found 8 matches

by pvb
Tue Dec 22, 2020 6:40 am
Forum: Stimulsoft Reports.PHP
Topic: Dynamic number formating based on data value
Replies: 3
Views: 1950

Re: Dynamic number formating based on data value

Thank you for the answer.
by pvb
Mon Dec 21, 2020 5:36 pm
Forum: Stimulsoft Reports.PHP
Topic: Dynamic number formating based on data value
Replies: 3
Views: 1950

Dynamic number formating based on data value

Let's have a datasource MyData with values ID| Value | Resolution 1 | 123.456 | 3 2 | 123.456 | 0 3 | 123.456 | 2 I want to display Value with decimal places defined in Resolution. So in consecutive detail sections each Value should be formated differently. Like this: 123,456 123 123,46 Now to achie...
by pvb
Wed Dec 16, 2020 9:22 am
Forum: Stimulsoft Reports.PHP
Topic: Grouping charts
Replies: 6
Views: 2639

Re: Grouping charts

Hello, Thank you for the answer. It works. BTW: I have found another workaround solution: 1) Create master-detail report. 2) Add master and detail band to report. 3) Set master and detail height to 0 (setting Enabled=False for detail band does not work, because section is not processed) 3) Add group...
by pvb
Tue Dec 15, 2020 5:22 pm
Forum: Stimulsoft Reports.PHP
Topic: Grouping charts
Replies: 6
Views: 2639

Re: Grouping charts

This are my settings:

1) Variable definition:
CurrentFilter (int)

2) Setting variable in Before Print event for Group1

Code: Select all

CurrentFilter = Orders.CustomerID
23 Filters property of clustered chart set to:

Code: Select all

Orders.CustomerID == CurrentFilter
by pvb
Tue Dec 08, 2020 3:56 pm
Forum: Stimulsoft Reports.PHP
Topic: Grouping charts
Replies: 6
Views: 2639

Grouping charts

Hello, I have data like this: ProductID Value 2690 1 2690 2 2690 3 2691 1 2691 2 2691 3 I want to present values for every ProductID on different chart. Like this one: monthly_stats_tn.jpg I tried to use a solution from example (https://forum.stimulsoft.com/viewtopic.php?t=57239) using Variable whic...
by pvb
Wed Nov 11, 2020 10:33 am
Forum: Stimulsoft Reports.PHP
Topic: Hiding specific series in BeforePrint event
Replies: 0
Views: 3782

Hiding specific series in BeforePrint event

I want to hide specific series before print, based on some condition.

I have tried to put something like this in BeforPrint event for Chart1

Code: Select all

Chart1.Series[0].LineStyle = "None";
But it does not work. I have an error "Cannot read property 0 of undefined".

Can you tell me the right syntax?
by pvb
Fri Oct 16, 2020 9:57 am
Forum: Stimulsoft Reports.PHP
Topic: Setting report property in designer using variable
Replies: 3
Views: 2361

Re: Setting report property in designer using variable

Hello,

Thank you. It works fine :-)
by pvb
Tue Oct 13, 2020 3:56 pm
Forum: Stimulsoft Reports.PHP
Topic: Setting report property in designer using variable
Replies: 3
Views: 2361

Setting report property in designer using variable

Hello,

How to set chart property using variable. I want to do it from report designer.
In my case I want to set Y axis format using previously defined variable. Something like this, but it does not work:
zal1.png
zal1.png (7.61 KiB) Viewed 2361 times
How to do it?