Chart Top N

csakis1973csakis1973 GREECE
edited 4:05PM in FastReport 4.0
I have Report which contain many values, but I want in my chart to display only the top 10 values and not to show the summary of all
the other values in a eleventh bar in my chart. Is it possible to do some thing with a script or another way?

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 4:05PM
    use a query to supply data
    your sql statement is the key
    ado sample from the main demo addin objects chart1 report.

    select TOP 10 * from country order by population desc
  • csakis1973csakis1973 GREECE
    edited 4:05PM
    I want in my report to show all the values (sales quantity of items)

    for example

    item name qty
    ----
    item 1 400
    item 2 380
    item 3 350
    item 4 300
    item 5 290
    item 6 250
    item 7 230
    item 8 210
    item 9 190
    item 10 180

    and i have in my report 100 more records with less values than above.
    I i show them the summarized column in my chart has a value 1800
    is not correctly displayed

  • gordkgordk St.Catherines On. Canada.
    edited 4:05PM
    your not making any sense according to your first post.
    i gave you the method for the chart to only display the top 10 values.
    use a different dataset for the report, and don't connect the chart series to that dataset.
    again look at the report i mentioned in the main demo and see how it is connected to the data.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.