Results 1 to 6 of 6
  1. #1
    afshin is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Apr 2011
    Posts
    63

    some problem in showing chart legend

    I have a one chart in a report, that in legend of chart I want to show date(readdate field).when the dates(readdate field) is more than one date I don't have any problem but when date(readdate field) is only one date, in place of date field, legend show other field(level field).
    row source of that chart is:
    TRANSFORM Avg(Q1.SumOfIDispA) AS AvgOfSumOfIDispA
    SELECT Q1.level
    FROM (SELECT AllSumation.readdate, AllSumation.level, AllSumation.SumOfIDispA, AllSumation.INC FROM AllSumation WHERE AllSumation.INC= 'IS-11-4 ') AS Q1


    GROUP BY Q1.level
    PIVOT Q1.readdate;
    Attachment file a: one date
    Attachment file b: more than one date
    Attached Files Attached Files
    • File Type: pdf b.pdf (64.9 KB, 1 views)
    • File Type: pdf a.pdf (62.2 KB, 2 views)

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    I have to work with data to analyse graph issues. If you want to provide file, follow instructions at bottom of my post.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    afshin is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Apr 2011
    Posts
    63
    your instructiones don't realation with my question.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    I never encountered such a graph issue and have no idea why the report is behaving like that. Best way for me to analyse graph issues is to work directly with data and report object. How is that not related?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    afshin is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Apr 2011
    Posts
    63
    in attached file,i have a one report that show legend level field in place of readdate field.(when i have only one date)
    Attached Files Attached Files

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Only thing I can conclude is that is how the graph engine deals with plotting a single series. If the plot will be limited to a single readdate, the legend is not needed. I have many graphs that plot single series and I don't show legend on any so this never occurred as an issue to me.

    Don't see any way to format the graph to deal with this. If you must dynamically allow for single or multiple readdate then suggest using VBA code to manage display/nondisplay of legend.

    BTW, apparently Level is an SQL reserved word. Advise not using reserved words as names.
    Last edited by June7; 09-16-2012 at 12:23 PM.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 4
    Last Post: 07-29-2012, 04:38 PM
  2. Scatter Chart not Showing X-axis Values
    By ward0749 in forum Forms
    Replies: 4
    Last Post: 03-20-2012, 06:37 AM
  3. Replies: 4
    Last Post: 03-04-2012, 08:59 PM
  4. Chart legend appears as date
    By Vronsky in forum Programming
    Replies: 0
    Last Post: 06-09-2011, 05:20 AM
  5. line chart not showing lines
    By ajetrumpet in forum Reports
    Replies: 0
    Last Post: 09-11-2010, 05:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums