Jump to content
Software FX Community

Elina

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by Elina

  1. I need to display line chart for very long vector ( about 200.000 points ).

    The time of chart loading is very long ( The 20.000 points chart loading gets about 20sec ).

    Each action required redrawing in the chart area, like zoom or series enable/disable, causes to refresh for long time too.

    Could you let me recommendation how I can improve a chart performance?

     Thanks, Elina

  2. I try to realise the zoom functionality in my application used ChartFX.
    Actualy I need something (little bit) more complicated than Magnifier.
    First of all, I have number of different charts in my application, part of them have one panel with different series, and one is multipanel chart.
    If on the one panel chart I can use ZoomStyle = ZoomStyle.Strip (or Auto) mode and it works satisfactory,
    but on the multipanel char If I'll set the next mode:
    myChart.Zoom.Style = ZoomStyle.Strip; // or Auto
    myChart.Zoom.Mode = ZoomMode.Selection; 
    myChart.Zoom.ViewStyle = ZoomViewStyle.Selection; 
    After a first selection I'll get the ArgumentException: An item with the same key has  already been added.
     
    If I use Zoom.Style = ZoomStyle.Scroll,  I could select only once, after then I get the scroll bars and can't select more. My customer want to make sequence of nested zooms and option to zoom out.

    How could I make sequenced selection and get the min and max points of the selected area after each selection ( I need zoom only by axes X has date/time format )

    Thanks

    WpfApplication1.zip

  3. I'm again.

    I've gotten the tooltips for LegendBox iems in this way. What do you think, Is it right way?

     <cfx:LegendBox.ContainerStyle> 

    <Style TargetType="{x:Type ItemsControl}">

    <Style.Setters>

    <Setter Property="ItemContainerStyle">

    <Setter.Value>

    <Style>

    <Style.Triggers>

    <Trigger Property="Control.IsMouseOver" Value="True">

    <Setter Property="Control.ToolTip" Value="{Binding Content}"/>

    </Trigger>

    </Style.Triggers>

    </Style>

    </Setter.Value>

    </Setter>

    </Style.Setters>

    </Style>

    </cfx:LegendBox.ContainerStyle>
  4. Thanks. That's as exactly as I need!

    Now, I need to attach a Tooltips to LegendBox items. I use the vertical Legend on the right side with fixed width, and the long items aren't visible fully.

    I can add ToolTip to all the LegendBox, but I don't know how to add tooltip to each item and bind the Item Content as the tooltip text.

     

  5.  Hi, JuanC

    I use the multiply panes chart and my LegendBox contains two groups for separate the series from different panes. I want to separate the Legend to two different boxes ( if it's possible, of course ) and align each of them to appropriate pane.

    What about the Q2: Tooltips for Legend Items?

     Thanks

    P.S. How can I add pictures from my computer and not from URL?

  6. I use the version 8.0.3581.26941

    I have two Q.

    1. How do I do 2 different LegendBoxes instead use a grouping in one Legend?

    2. I haven't added tooltips for LegendBox Items ( I won't use a scrool bar in the legend box, but tooltip for the long items only). I've tried to add a tooltip definition to DataTemplate\ContentControl  like this, but it's not working.  What can I do?

    <DataTemplate x:Key="CheckableLegend">

    <DataTemplate.Resources>

    <cfxConverters:VisibilityToBooleanConverter x:Key="VisibilityToBool"/>

    </DataTemplate.Resources>

    <Grid Name="grid">

    <Grid.ColumnDefinitions>

    <ColumnDefinition Width="*" SharedSizeGroup="FirstRow" />

    <ColumnDefinition Width="*" SharedSizeGroup="FirstRow" />

    <ColumnDefinition Width="*" />

    </Grid.ColumnDefinitions><CheckBox

    VerticalAlignment="Center" Background="{Binding Path=Fill}"

    IsChecked="{Binding Path=Series.Visibility, Converter={StaticResource VisibilityToBool}}" Grid.Column="0"

    Margin="1,0,1,0"/><cfxControls:MarkerLegendControl Content="{Binding Path=Self}"

    Grid.Column="1" />

    <Border Background="Transparent" Grid.Column="2" VerticalAlignment="Center"><ContentControl

    IsHitTestVisible="false" ToolTip="{Binding Path=Content}" Content="{Binding Path=Content}"

    ContentTemplate="{Binding Path=ContentTemplate}"Foreground="{Binding Path=Foreground}"

    FontFamily="{Binding Path=FontFamily}" FontSize="{Binding Path=FontSize}" FontStyle="{Binding Path=FontStyle}"

    FontWeight="{Binding Path=FontWeight}"/>

    </Border>

    </Grid>

    <DataTemplate.Triggers>

    <DataTrigger Binding="{Binding Path=Dimmed}"><DataTrigger.Value>True

    </DataTrigger.Value>

    <Setter Property="Opacity" Value="0.25" TargetName="grid" />

    </DataTrigger>

    </DataTemplate.Triggers>

    </DataTemplate>

    Thanks, 

     Elina

×
×
  • Create New...