or
var temp = new RadChart();temp.ItemsSource = Data;var temp = new ChartArea();temp.ItemsSource = Data;temp.EnableAnimations = false;Hi everyone,
I’m using the 2011 Q2 WPF package.
Is it possible to remove the background to create a very simple style.
Like the styles from the new Telerik gauges?
Thanks!
greetings,
Christian
private void RefeshAppointmentSettings(){// ... do some stuff CustomAppointment previous = null; var i = 0; foreach (var custSorted in toSort) { if (i > 0) { if (previous != null) { previous.End = custSorted.Start.AddMinutes(-1); } } previous = custSorted; previous.End = previous.Start.Date.AddDays(1).AddMinutes(-1); i++; } Appointments.AddRange(toSort);// ... do some stuff}private void SwitchTimeSpecialTimeTLostKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e){ var scheduleViewModel = DataContext as ScheduleViewModel; if (scheduleViewModel != null) { scheduleViewModel.RefeshAppointmentSettings(); _radSchedView.BeginEdit(); var arr = new CustomAppointment[scheduleViewModel.Appointments.Count]; scheduleViewModel.Appointments.CopyTo(arr, 0); scheduleViewModel.Appointments.Clear(); for(int i = 0;i<arr.Length;i++) { scheduleViewModel.Appointments.Add(arr[i]); } _radSchedView.Commit(); }}private string SaveLayoutAsString(RadDocking instance) { MemoryStream stream = new MemoryStream(); instance.SaveLayout(stream,true); stream.Seek(0, SeekOrigin.Begin); StreamReader reader = new StreamReader(stream); return reader.ReadToEnd(); } private void LoadLayoutFromString(string xml, RadDocking instance) { using (Stream stream = new MemoryStream(Encoding.UTF8.GetBytes(xml))) { stream.Seek(0, SeekOrigin.Begin); instance.LoadLayout(stream,true); } }GroupDescriptor phaseDescriptor = new GroupDescriptor();phaseDescriptor.Member = "PhaseName";this.grdScope.GroupDescriptors.Insert(0, phaseDescriptor);