Jump to content
Software FX Community

TEKGroup

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by TEKGroup

  1. Part 1:

    A client of ours is having a major issue about how the items are being
    shown (where the first item is always at the bottom of the list with
    other stacked on top of that) in the Legend for a Gantt chart. I know you can supply them in
    the reverse order to fix the issue with the legend, but messes up the
    order on the chart -- this isn't acceptable to the client.

    JuanC replied in another forum this info regarding the order of the legend:

     

    About the order of the series in the legend box:

    We normally show the first series on top, the only case where we
    switch it is on a Stacked chart. This is a popular request because in a
    stacked chart the first series is usually on the bottom of the bar/area.

     

    Our
    client unfortunately wants the reverse of this for their GANTT chart
    legend. While they want the first item on the bottom of the stacked
    chart, they want it at the top of the legend. Is there a way to force
    the legend to swap this?

     

    Part 2:

    Is there a way to force the legend to
    show the items in "x" amount of columns, rather than create a huge 1
    column listing of all of the items for a Gantt chart?

    Example:

    2 Column Based -->

    Item 1   Item 2
    Item 3   Item 4
    Item 5   Item 6

    Rather than is showing up like this:

    Item 6
    Item 5
    Item 4
    Item 3
    Item 2
    Item 1

    It
    seems that the software arbitrarily determines how this layout should
    appear, as I've found no documentation that will force a column based
    legend layout. If I've missed a setting or settings, please let me know
    what I've overlooked.

     
    Thanks,
    Jason
     

  2. JuanC,

    We are currently using Chart FX for Java 6.2, so based on your responses I have a few more questions:
     

    About the order of the series in the legend box:

    We normally show the first series on top, the only case where we switch it is on a Stacked chart. This is a popular request because in a stacked chart the first series is usually on the bottom of the bar/area.

     

    Our client unfortunately wants the reverse of this for their GANTT chart legend. While they want the first item on the bottom of the stacked chart, they want it at the top of the legend. Is there a way to force the legend to swap this?

     

    About the layout of the legend box:

    We use a StackPanel by default but if you want multiple columns you could use a UniformGrid or any other custom built panel that generates the desired layout. Note that because we add the items automatically to the panel, you need to use a panel such as UniformGrid that does not need additional attached properties on each element (e.g. you cannot use Grid as it depends on Grid.Row and Grid.Column).


    <cfx:Chart.LegendBox>
     
    <cfx:LegendBox>
     
    <cfx:LegendBox.ItemsPanel>
     
    <ItemsPanelTemplate>
     
    <UniformGrid Columns="2"/>
     
    </ItemsPanelTemplate>
     
    </cfx:LegendBox.ItemsPanel>
     
    </cfx:LegendBox>
    </cfx:Chart.LegendBox>

     

    As I stated above, we are using Chart FX for Java 6.2, so is there a method in the version we have to force the legend to be in 2 columns? I didn't see anything in the documentation regarding ItemsPanel.

    Thanks,
    Jason
     

     

     



     

     

  3. Has there been any further discussion about how to order the items in the legend? A of ours that we are using the charts we create with your software is having a major issue about how the items are being shown (where the first item is always at the bottom of the list with other stacked on top of that). Aa JuanC stated, giving them to you in the reverse order fixes the issue with the legend, but messes up the order on the chart.

    Also, is there a way to force the list to show the items in "x" amount of columns, rather than create a huge 1 column listing of all of the items?

    Example:

    2 Column Based -->

    Item 1   Item 2
    Item 3   Item 4
    Item 5   Item 6

    Rather than is showing up like this:

    Item 1
    Item 2
    Item 3
    Item 4
    Item 5
    Item 6

    It seems that the software arbitrarily determines how this layout should appear, as I've found no documentation that will force a column based legend layout. If I've missed a setting or settings, please let me know what I've overlooked.

    Thanks,

    Jason
     

     

     

     

×
×
  • Create New...