Archive for the ‘CodeProject’ Category

Script Browser

Sergey Kraynov

Script Browser displays all the report scripts and allows a user to easily work with scripts.

The Browser is opened with the button, which is located on the right side of the Ribbon bar’s Home tab.

(more…)

March 29th, 2011

How to Highlight PivotTable Cells in Report Sharp-Shooter.

Vitaliy Korney

Let’s imagine that we have already done all the instructions from the Report Sharp-Shooter Getting Started (page 60), which describes how to create PivotTable.

PivotTable properties connected with styles can be flexible configured, but all the cases can’t be covered. Sometimes we need a possibility to highlight cells, which satisfy some condition, set the style for a specific subgroup inside XDimension/YDimension. It’s quite evident that such settings can’t be considered during the component development as they depend on the user needs.

Well-aware users know that we can use CellCreating event, which is raised when a cell is created.

For example, we need to highlight Fact cells, which have values more than the average Fact Value.

For this purposes we need:

  1. To calculate average Fact value;
  2. To change style for the Fact cell, which satisfies our condition.

(more…)

February 21st, 2011

Perpetuum Software at the Microsoft Professionals Community Meeting!

Marketing Dept

Being engaged in development of up-to-date components, Perpetuum Software specialists are always glad to share their experience with any communities and user groups.

We have a sponsorship program for .Net and Silverlight communities and user groups which is aimed at supporting software researches.

Last week our Silverlight developer, Sergey Piskov, was speaking at local .net user group meeting. This meeting was devoted to Silverlight technology examination.

Sergey was speaking about:

  1. Silverlight in comparison with Flash.
  2. Silverlight versions, changes and peculiarities in each version.
  3. XAML – Extensible Application Markup Language.
  4. Creation of applications which use XAML as an example of Silverlight applications.

We strongly believe that our developers experience will help Silverlight newbie to quickly understand all advantages of Silverlight and create their own interesting solutions based on this technology.

We are always glad to support any user groups!

February 18th, 2011

How to use widgets in Report Sharp-Shooter

Andrew Kazyrevich

Saying that reports aren’t always eye catchy is a bit of an understatement. Sometimes they’re just dull and dreary pieces of writing, boring data spread across columns and rows. Those who don’t need it, escape to the next page.

But what if you want more than a mere glimpse from a hasty reader? What if you want to propel the ideas behind the data? Emphasize its importance?

Then a table is not enough – you need widgets.

Problem statement

In this post I’ll show a publicly available report and explain how to re-create it with Sharp-Shooter. So here goes our poster child: a NASA plot that reveals a rapid decline in the number of astrophysics missions. The dotted line means “today”, and it’s evident that the plethora of space observatories we’ve been enjoying lately, is pretty much going to stop by 2014:

Why re-creating this very report? First off, it’s interesting data about something that concerns your humble correspondent :) Secondly, it’s a challenging task to do in Sharp-Shooter. While building this plot, we’d have to solve several problems, e.g.:

  • How to display composite headers and footers?
  • How to use bindings in Instrument Designer?
  • How to display and position images?
  • ..and a few others

Below go step by step instructions on creating the above report in Sharp-Shooter, and you can also go ahead and download the full solution here.

(more…)

February 2nd, 2011