Jump to content
Software FX Community

dksimon

Members
  • Posts

    12
  • Joined

  • Last visited

dksimon's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Although, just to be clear, I should say that ideally I'd like to be able to: Show Point ToolTips over points Show Connected ToolTips over lines Have no visible Markers Have a working Legend The solution you described seems to address 1, 3, and 4, but not 2. I'm currently able to get 1, 2, and 3, but not 4. Any chance there's a solution that allows all four? Thanks again, Daniel
  2. Thanks, Juan. Please let me know when a hotfix for this issue is available.
  3. Hi: When I set my own X-axis labels for a bar chart, the X-axis labels don't appear until I resize the chart. This is using 8.0.3702.26297. Please let me know if there is any workaround. Sample code below: <Window x:Class="WpfApplication8.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:cfx="http://schemas.softwarefx.com/chartfx/wpf/80" Title="Window1" Height="300" Width="300"> <Grid> <Grid.RowDefinitions> <RowDefinition/> <RowDefinition Height="Auto"/> </Grid.RowDefinitions> <cfx:Chart x:Name="chart"/> <Button Grid.Row="1" Content="Load" Click="Button_Click"/> </Grid></Window> public partial class Window1 : Window { public Window1() { InitializeComponent(); this.chart.Series.Clear(); this.chart.ItemsSource = null; this.chart.Gallery = Gallery.Bar; } private void Button_Click(object sender, RoutedEventArgs e) { this.chart.Series.Clear(); this.chart.Series.Add(new SeriesAttributes()); this.chart.Data.Y[0, 0] = 1; this.chart.Data.Y[0, 1] = 2; this.chart.Data.Y[0, 2] = 3; chart.AxisX.Labels.Items[0] = "one"; chart.AxisX.Labels.Items[1] = "two"; chart.AxisX.Labels.Items[2] = "three"; } } Thanks very much.
  4. Hi: the question, as in the post title, is: is it possible to get a Point ToolTip on a Line Series with no Marker? I've tried adding transparent markers to get this effect, but then my Legend no longer works. Any ideas? Thanks, Daniel
  5. Is there a way to mimic the Selection scrolling mechanism for a DataPath x-axis, by setting the zoom to a percentage of the visible view? What I mean is, say I have daily closing stock prices going back 1 year. There are gaps in the data for weekends, but these gaps are collapsed by DataPath, as they should be. If I use selection zooming, I can scroll left and right and it looks consistent; the fraction of the total visible area remains constant. I'd like to do this programatically using SetScrollView(), but I can't figure out any way to do this at all. It would work if there were a way for me to say "show between 20% and 30% of the visible range," which I can't do based on the total date range if there are gaps in the date data, as the same time span could contain more or fewer points depending on the time span selected. Is there a recommended approach? Thanks
  6. Is there a way to turn off KeepVisualsOnUnload when I really want to dispose of the chart? In my case, I may have multiple charts in multiple tabs that I want to switch back and forth between, but I also want to be able to close the tabs when I'm done with them, and then really dispose of the chart's resources from that tab. How can I do this?
  7. Does anyone have any thoughts on how to get selection zooming to work?
  8. Hi: I'm trying to use selection-style zooming on my X axis which is bound to data with DataPath. There are a couple of odd things happening. My chart is set up like this: <cfx:ChartView x:Name="MainChart" Series="{Binding SeriesAttributes}" Loaded="MainChart_Loaded" Grid.ColumnSpan="4"> <cfx:ChartView.Zoom> <cfx:ZoomArea Mode="Selection" ViewStyle="Selection"/> </cfx:ChartView.Zoom> <cfx:ChartView.LegendBox> <cfx:LegendBox Visibility="Collapsed" /> </cfx:ChartView.LegendBox> <cfx:ChartView.AxisX> <cfx:Axis x:Name="PrimaryAxis" ForceZero="False" DataPath="Time"> <cfx:Axis.Labels> <cfx:AxisLabelAttributes Format="Date"/> </cfx:Axis.Labels> </cfx:Axis> </cfx:ChartView.AxisX> <cfx:ChartView.AxisY> <cfx:Axis ForceZero="False"/> </cfx:ChartView.AxisY> </cfx:ChartView> Now, when I select an area, I see the "map" appear below correctly, and I can scroll the selection. But when I try to resize the selection, the chart snaps back to full view and I can no longer zoom. How do I use selection zooming and allow the user to resize the selection? Second, is there any way to get the "map" and selection to appear when the chart is first displayed (presumably showing the chart at full selection), instead of the user having to do something to get it to appear? Thanks.<?xml:namespace prefix = cfx />
  9. I am now running the ChartFX WPF release version and there
  10. Is there any way to get the X-axis to take up less space? It seems to take up a good 10 pixels both above and below the label text, making it quite fat if the chart being displayed is small. I can't seem to find any way to reduce this.
×
×
  • Create New...