Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PrintingChartViewModel"/> class.
 /// </summary>
 public PrintingChartViewModel()
 {
     ConnectionString = OlapChartModel.Initialize(System.IO.Path.GetFullPath(@"Assets\Config\OLAPSample.config"));
     olapDataManager  = new OlapDataManager(ConnectionString);
     olapDataManager.SetCurrentReport(OlapReport());
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SeriesCustomizationViewModel"/> class.
 /// </summary>
 public SeriesCustomizationViewModel()
 {
     ConnectionString = OlapChartModel.Initialize(System.IO.Path.GetFullPath(@"Assets\Config\OLAPSample.config"));
     olapDataManager  = new OlapDataManager(ConnectionString);
     olapDataManager.SetCurrentReport(SimpleDimensions());
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DrillTypesViewModel"/> class.
 /// </summary>
 public DrillTypesViewModel()
 {
     ConnectionString = OlapChartModel.Initialize(System.IO.Path.GetFullPath(@"Assets\Config\OLAPSample.config"));
     olapDataManager  = new OlapDataManager(ConnectionString);
     olapDataManager.SetCurrentReport(CreateOlapReport("Drill Member"));
 }
 public OlapChartConfiguration()
 {
     InitializeComponent();
     this.designerSettings.ConnectionString = OlapChartModel.Initialize(System.IO.Path.GetFullPath(@"Assets\Config\OLAPSample.config"));
 }
Exemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MDXQueryViewModel"/> class.
 /// </summary>
 public MDXQueryViewModel()
 {
     ConnectionString         = OlapChartModel.Initialize(System.IO.Path.GetFullPath(@"Assets\Config\OLAPSample.config"));
     olapDataManager          = new OlapDataManager(ConnectionString);
     olapDataManager.MdxQuery = CurrentMDXQuery = SimpleDimensions();
 }
Exemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="XAMLConfigViewModel"/> class.
 /// </summary>
 public XAMLConfigViewModel()
 {
     olapConnectionString = OlapChartModel.Initialize(System.IO.Path.GetFullPath(@"Assets\Config\OLAPSample.config"));
 }