Tutorial videos for Dashboards.WIN

Stimulsoft Dashboards.WIN discussion
Post Reply
Andrew
Posts: 3950
Joined: Fri Jun 09, 2006 3:58 am

Tutorial videos for Dashboards.WIN

Post by Andrew » Tue Oct 23, 2018 2:17 pm

We uploaded the tutorial videos for Dashboards.WIN. Please find them on YouTube at https://youtu.be/D_V8Q2m_94Y

The Playlist Contains video tutorials how to:
1. Create WinForms, .NET, ASP.NET Webform, ASP.NET MVC, and .NET Core dashboards.
2. Add Tables, Pivot Tables, Charts, Indicators, Maps (Regional Map and Online Map), Gauges, Progresses, Text, Images, Shapes, ListBoxes, Comboboxes, Date Pickers, TreeView, TreeViewBoxes on Dashboard.
3. Setup data filtering, transformation, and sorting.
4. Use Interaction of Dashboard Items.
5. Create Simple Dashboards, Dashboards with Item Groups, Social, Sales, and Stats Dashboards.
ddsmith99301
Posts: 20
Joined: Wed May 17, 2017 10:14 pm

Re: Tutorial videos for Dashboards.WIN

Post by ddsmith99301 » Wed Apr 03, 2019 10:25 pm

Do you have any documentation for using vb.net winforms with the dashboards api? I am trying to use a function and I don't understand how to declare some of the parameters. The function is StiFunctions.AddFunction. There are 9 parameters. The last 3 I can't define.

This is the C# version
private void AddCustomFunction()
{
StiFunctions.AddFunction(
"My Category", "MySum", "description",
typeof(MyClass),
typeof(decimal),
"Calculates a sum of the specified set of values.",
new[] { typeof(object) },
new[] { "values" },
new[] { "A set of values" }).UseFullPath = false;
}

This is the VB.NET version
Private Sub AddCustomFunction()
StiFunctions.AddFunction(
"My Category",
"MySum",
"description",
GetType([MyClass]),
GetType(Decimal),
"Calculates a sum of the specified set of values.",
New () {GetType(Object)},
New () {"values"},
New () {"A set of values"}).UseFullPath = False
End Sub
Lech Kulikowski
Posts: 2455
Joined: Tue Mar 20, 2018 5:34 am

Re: Tutorial videos for Dashboards.WIN

Post by Lech Kulikowski » Thu Apr 04, 2019 9:46 pm

Hello,

Unfortunately, there are samples for C# only:
https://github.com/stimulsoft

Thank you.
ddsmith99301
Posts: 20
Joined: Wed May 17, 2017 10:14 pm

Re: Tutorial videos for Dashboards.WIN

Post by ddsmith99301 » Wed May 22, 2019 8:58 pm

I converted the code to VB.net for the samples on github. I am trying to disable or not show the edit button or the open button in the viewer. I am running the 'Show Dashboard in the Viewer'. Here is the code (in bold) I added that I hoped would remove all the buttons and disable anything the user would have control over in the viewer. Unfortunately it does not work. What am I doing wrong???

Private Sub buttonPanel_Click(sender As Object, e As EventArgs)
If panelViewer.Controls.Count = 0 Then
ViewerControl = New StiDashboardViewerControl()
ViewerControl.Dock = DockStyle.Fill

panelViewer.Controls.Add(ViewerControl)
End If

ViewerControl.Report = GetTemplate()
ViewerControl.Report.PreviewSettings = 0
ViewerControl.Show()

End Sub
2019-05-22_1354.png
2019-05-22_1354.png (71.12 KiB) Viewed 1606 times
ddsmith99301
Posts: 20
Joined: Wed May 17, 2017 10:14 pm

Re: Tutorial videos for Dashboards.WIN

Post by ddsmith99301 » Wed May 22, 2019 9:04 pm

Here is the same c# code. It doesn't work there either.

private void buttonPanel_Click(object sender, EventArgs e)
{
if (panelViewer.Controls.Count == 0)
{
ViewerControl = new StiDashboardViewerControl();
ViewerControl.Dock = DockStyle.Fill;

panelViewer.Controls.Add(ViewerControl);
}

ViewerControl.Report = GetTemplate();
ViewerControl.Report.PreviewSettings = 0;
ViewerControl.Show();

}
Lech Kulikowski
Posts: 2455
Joined: Tue Mar 20, 2018 5:34 am

Re: Tutorial videos for Dashboards.WIN

Post by Lech Kulikowski » Mon May 27, 2019 8:06 am

Hello,

Please check the following code:

Code: Select all

var report = StiReport.CreateNewDashboard();
report.DashboardViewerSettings = StiDashboardViewerSettings.None;
Thank you.
ddsmith99301
Posts: 20
Joined: Wed May 17, 2017 10:14 pm

Re: Tutorial videos for Dashboards.WIN

Post by ddsmith99301 » Tue May 28, 2019 6:31 pm

Thank you!
Andrew
Posts: 3950
Joined: Fri Jun 09, 2006 3:58 am

Re: Tutorial videos for Dashboards.WIN

Post by Andrew » Wed May 29, 2019 4:23 am

You are welcome!
wiki9911
Posts: 4
Joined: Tue Apr 21, 2020 2:09 pm

Re: Tutorial videos for Dashboards.WIN

Post by wiki9911 » Wed Apr 22, 2020 7:55 am

Hi Andrew,

I hope this finds you well.

I want to ask that in the demo project it is reading MRT file as the dashboard and also on edit we save a new MRT file. Everytime i edit the dashboard I have a new MRT file. Let suppose if the user by mistake delete the new MRT file then his all work will be lost because the system will only read the old MRT file. I think this is a problem. what do you say?

I followed this link code https://github.com/stimulsoft/Samples-D ... MVC-CSharp
Andrew
Posts: 3950
Joined: Fri Jun 09, 2006 3:58 am

Re: Tutorial videos for Dashboards.WIN

Post by Andrew » Sun Apr 26, 2020 2:44 pm

Hello,

Yes, the system reads MRT both for reports and dashboards. If the customer delets the file then you lose your work.

Thank you.
Post Reply