Skip to content

Commit 7cead1c

Browse files
committed
Sample added
1 parent 64306c6 commit 7cead1c

33 files changed

+918
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,14 @@
1-
# How-to-add-multiple-trackball-in-Xamarin.iOS-Chart
1+
# How to add multiple trackball in Xamarin.iOS Chart
2+
3+
This example demonstrates how to add the multiple trackball to a single chart and drag them independently to view the information of different data points at the same time in Xamarin.iOS chart.
4+
5+
See [How to add multiple trackball in Xamarin.iOS Chart](https://www.syncfusion.com/kb/10839?utm_medium=listing&utm_source=github-examples) for more details.
6+
7+
## <a name="requirements-to-run-the-demo"></a>Requirements to run the demo ##
8+
9+
* [Visual Studio 2017](https://visualstudio.microsoft.com/downloads/) or [Visual Studio for Mac](https://visualstudio.microsoft.com/vs/mac/).
10+
* Xamarin add-ons for Visual Studio (available via the Visual Studio installer).
11+
12+
## <a name="troubleshooting"></a>Troubleshooting ##
13+
### Path too long exception
14+
If you are facing path too long exception when building this example project, close Visual Studio and rename the repository to short and build the project.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 15
4+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SfChartMultipleTrackball", "SfChartMultipleTrackball\SfChartMultipleTrackball.csproj", "{AE4E7D4E-71C8-4E56-B60D-9E6E3E2BCB85}"
5+
EndProject
6+
Global
7+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
8+
Debug|iPhoneSimulator = Debug|iPhoneSimulator
9+
Release|iPhoneSimulator = Release|iPhoneSimulator
10+
Debug|iPhone = Debug|iPhone
11+
Release|iPhone = Release|iPhone
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{AE4E7D4E-71C8-4E56-B60D-9E6E3E2BCB85}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
15+
{AE4E7D4E-71C8-4E56-B60D-9E6E3E2BCB85}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
16+
{AE4E7D4E-71C8-4E56-B60D-9E6E3E2BCB85}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
17+
{AE4E7D4E-71C8-4E56-B60D-9E6E3E2BCB85}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
18+
{AE4E7D4E-71C8-4E56-B60D-9E6E3E2BCB85}.Debug|iPhone.ActiveCfg = Debug|iPhone
19+
{AE4E7D4E-71C8-4E56-B60D-9E6E3E2BCB85}.Debug|iPhone.Build.0 = Debug|iPhone
20+
{AE4E7D4E-71C8-4E56-B60D-9E6E3E2BCB85}.Release|iPhone.ActiveCfg = Release|iPhone
21+
{AE4E7D4E-71C8-4E56-B60D-9E6E3E2BCB85}.Release|iPhone.Build.0 = Release|iPhone
22+
EndGlobalSection
23+
EndGlobal
6 KB
Binary file not shown.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
using Foundation;
2+
using UIKit;
3+
4+
namespace SfChartMultipleTrackball
5+
{
6+
// The UIApplicationDelegate for the application. This class is responsible for launching the
7+
// User Interface of the application, as well as listening (and optionally responding) to application events from iOS.
8+
[Register("AppDelegate")]
9+
public class AppDelegate : UIResponder, IUIApplicationDelegate
10+
{
11+
12+
[Export("window")]
13+
public UIWindow Window { get; set; }
14+
15+
[Export("application:didFinishLaunchingWithOptions:")]
16+
public bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
17+
{
18+
// Override point for customization after application launch.
19+
// If not required for your application you can safely delete this method
20+
return true;
21+
}
22+
23+
// UISceneSession Lifecycle
24+
25+
[Export("application:configurationForConnectingSceneSession:options:")]
26+
public UISceneConfiguration GetConfiguration(UIApplication application, UISceneSession connectingSceneSession, UISceneConnectionOptions options)
27+
{
28+
// Called when a new scene session is being created.
29+
// Use this method to select a configuration to create the new scene with.
30+
return UISceneConfiguration.Create("Default Configuration", connectingSceneSession.Role);
31+
}
32+
33+
[Export("application:didDiscardSceneSessions:")]
34+
public void DidDiscardSceneSessions(UIApplication application, NSSet<UISceneSession> sceneSessions)
35+
{
36+
// Called when the user discards a scene session.
37+
// If any sessions were discarded while the application was not running, this will be called shortly after `FinishedLaunching`.
38+
// Use this method to release any resources that were specific to the discarded scenes, as they will not return.
39+
}
40+
}
41+
}
42+
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
{
2+
"images": [
3+
{
4+
"scale": "2x",
5+
"size": "20x20",
6+
"idiom": "iphone",
7+
"filename": "Icon40.png"
8+
},
9+
{
10+
"scale": "3x",
11+
"size": "20x20",
12+
"idiom": "iphone",
13+
"filename": "Icon60.png"
14+
},
15+
{
16+
"scale": "2x",
17+
"size": "29x29",
18+
"idiom": "iphone",
19+
"filename": "Icon58.png"
20+
},
21+
{
22+
"scale": "3x",
23+
"size": "29x29",
24+
"idiom": "iphone",
25+
"filename": "Icon87.png"
26+
},
27+
{
28+
"scale": "2x",
29+
"size": "40x40",
30+
"idiom": "iphone",
31+
"filename": "Icon80.png"
32+
},
33+
{
34+
"scale": "3x",
35+
"size": "40x40",
36+
"idiom": "iphone",
37+
"filename": "Icon120.png"
38+
},
39+
{
40+
"scale": "2x",
41+
"size": "60x60",
42+
"idiom": "iphone",
43+
"filename": "Icon120.png"
44+
},
45+
{
46+
"scale": "3x",
47+
"size": "60x60",
48+
"idiom": "iphone",
49+
"filename": "Icon180.png"
50+
},
51+
{
52+
"scale": "1x",
53+
"size": "20x20",
54+
"idiom": "ipad",
55+
"filename": "Icon20.png"
56+
},
57+
{
58+
"scale": "2x",
59+
"size": "20x20",
60+
"idiom": "ipad",
61+
"filename": "Icon40.png"
62+
},
63+
{
64+
"scale": "1x",
65+
"size": "29x29",
66+
"idiom": "ipad",
67+
"filename": "Icon29.png"
68+
},
69+
{
70+
"scale": "2x",
71+
"size": "29x29",
72+
"idiom": "ipad",
73+
"filename": "Icon58.png"
74+
},
75+
{
76+
"scale": "1x",
77+
"size": "40x40",
78+
"idiom": "ipad",
79+
"filename": "Icon40.png"
80+
},
81+
{
82+
"scale": "2x",
83+
"size": "40x40",
84+
"idiom": "ipad",
85+
"filename": "Icon80.png"
86+
},
87+
{
88+
"scale": "1x",
89+
"size": "76x76",
90+
"idiom": "ipad",
91+
"filename": "Icon76.png"
92+
},
93+
{
94+
"scale": "2x",
95+
"size": "76x76",
96+
"idiom": "ipad",
97+
"filename": "Icon152.png"
98+
},
99+
{
100+
"scale": "2x",
101+
"size": "83.5x83.5",
102+
"idiom": "ipad",
103+
"filename": "Icon167.png"
104+
},
105+
{
106+
"scale": "1x",
107+
"size": "1024x1024",
108+
"idiom": "ios-marketing",
109+
"filename": "Icon1024.png"
110+
}
111+
],
112+
"properties": {},
113+
"info": {
114+
"version": 1,
115+
"author": "xcode"
116+
}
117+
}
68.8 KB
Loading
3.68 KB
Loading
4.64 KB
Loading
4.58 KB
Loading
5.07 KB
Loading

0 commit comments

Comments
 (0)