Formatting Charts

A chart created using the New Form dialog box is positioned on a form. As such, the form acts as its parent. The chart can only fit inside of the form. Based on this, you can enlarge a form to make available more space for the chart. After enlarging and/or heightening a form, you can increase the side of the chart to have a bigger picture and better appreciate a chart.

Sponsored Links:

Related Topics

Aligning two charts x-axis parallel to each other
I'm using Access 2003.

I have two chart objects which site one above the other in a form. Both charts have identical x-axis (24 months).

Chart one shows daily sales amount.
Chart two shows the daily price.

I need both charts perfectly aligned so the user can compare the results.

Most of the time the charts are aligned but for some selections the axis becomes out of sync slightly. I've checked the data behind both charts and the number of data items matches (i.e. the same days appear).

Is there a way of either fixing the chart axis or is it possible to have two charts in the same object

Microsoft Graphs
I am an intermediate Access user, working with Access 2007, and I am stuck.

I have a form that has two types charts(Those that change with each record selected, and those that are general running monthly charts not based off a record), which are all visible and functional in design, form, and layout views. When I go to print a record the charts that corresponds to the record selected do not print (only the outline of the chart prints)

Here is what I checked/done so far.

In design view:

chart is enabled and not locked
Display When - always
Visable - Yes

Source Data:

Data is correct
Query is correct

Charts themselves:

Deleted the effected charts and re-created them

VBA to Create / Add Multiple Charts to Report
I would like to create a report that has multiple charts. Preferably two per page. I would like line charts. I can create one of these charts using the Chart Wizard, but I can't figure out how to add additional charts. There are going to be 221 charts in total, so automating it is a must.

The source query I am using to create the chart with the Wizard is:

SELECT KWB_Raw.Well, (Year([Date])) AS SampleDate, KWB_Raw.Observed, KWB_Raw.Simulated, KWB_Raw.ChartOrder FROM KWB_Raw; WHERE ChartOrder = 1

I want the next chart to contain the same data only 'ChartOrder' will be equal to 3, etc etc. The Wizard is also summarizing 'Simulated' and 'Observed' as the Max of each. I'm guessing the SQL statement will need to have a variable that increments +1 each cycle to get the ChartOrder to continue to increase

Nested Charts In Excel
I am trying to place 3 stacked column charts into one single chart sheet, I have been able to do this using excel itself but I would like to automate the process from access.

currently I am able to create the the required charts, but not able to add them into one single chart sheet here is some of my current code:

Set container = Charts.add
Set graph = Charts.add
graph.ChartType = xlColumnStacked
graph.SetSourceData Source:=ws.Range("$B$" & int_start & ":$E$" & int_end)
graph.PlotBy = xlColumns
graph.location Where:=xlLocationAsObject, Name:=container.Name

the last line constantly gives me an error,

Working with OLE excel charts in Access 2010
I need to add excel charts to my access application.
I added them as ole objects.

How can I connect using VBA to this ole objects worksheet
(in order to update charts data) ?

Multiple column charts for the same query
I have a query in the format

Month | Type | TypeCount
2 | A | 3
2 | B | 4
2 | C | 5
3 | A | 4
3 | B | 4
3 | C | 6
4 | A | 7
4 | C | 2
4 | D | 1

I want to create charts (or pivot chart view) such that first chart display data only for A - that is, count of Type for each month, then another chart with data only for B and then another chart only for C.

Also, I want these three charts on the same report/form - which ever is better.

Change the appearance of a control by using conditional formatting
Conditional formatting allows you to selectively highlight certain data on your form or report so that it is easier to understand. For example, you might want to format negative numbers in a red font to make it clear that those records need further attention.
You can set conditional formatting for a text box or a combo box control. You can change the formatting based on the control's own value, or you can use an expression to change the formatting based on the values contained in other fields or controls. On a form, you can use conditional formatting to disable a control, and you can cause the formatting of a control to change when the cursor is positioned in that control.
What do you want to do?:
*Apply conditional formatting to a control based on its own value
*Use an expression to apply conditional formatting to one or more controls
*Change the formatting of a control on a form that has the focus
*Remove conditional formatting from one or more controls
*Create alternating row colors on a report

Customizing Charts
In our introduction to charts, we created one with standing rectangular boxes. This is called a column chart and is only one of the types of charts available. Microsoft Access (indeed Microsoft Office) provides many other flavors you can use, depending on the type of analysis you want to perform. When starting a (new) chart, in the third page of the wizard, you can select the type of chart you want. After the chart has been created, you may prefer another type of chart. In most cases, you can change the type of chart, easily.

Setting x axis scale in charts
I want to overlay some charts (in a report) that are based on different queries but all contain a date field.

So far, I have thought I could acheive this by having an unbound form with fields to add criteria including a minimum and maximum date for the chart to display.

This min and max date would be past to the report to set the min and max time scale of the charts. By doing this I can overlay several charts to compare the different data but the time scale would match on each chart. Hope this makes sense so far.

Anyway does anyone know how to set the x axis values using parameters? The chart options don't like a parameter references entered into them

Conditional Formatting vs. VBA Formatting
I have been researching this for some time now but haven't received any sound advice on whether it is faster to perform formatting on text boxes in a report via VBA or the built in Conditional Formatting.

The reason I ask this is that I have a report with quite a few text boxes that currently all have some sort of Conditional Formatting on them (Not all have the same Conditional Formatting). I know that when you only have a few controls that require Conditional Formatting, the built in solution in Access 2007 should be sufficient, however when the number of controls grows and when the report has multiple records that require each control to be handled on each record, the Conditional Formatting becomes very slow (much like receiving 1000 paper cuts) and renders the report as pointless considering a user must run it for 10's of minutes to an hour to complete.

So, with that said, I am really just looking for anyone's suggestion as to whether I should invest some time in the VBA coding to do what the Conditional Formatting does, or do I just go back to the requestor and let them know that formatting all these fields is too much for the system to handle.

MS-Access and Graph Charts-2
Access Reports are excellent in presenting information in Numbers and Text. But, Charts goes one step further in providing information in the form of pictures and a quick look at them says it all.

Conditional formatting not displayed on report
I have included some conditional formatting on a report of mine. The only time this formatting appears is if I hover my mouse over the formatetd field. It does not appear when simply viewing the report or especially if I print the report. Does anybody know how to have this formatting shown, particularly when the report is printed?

Relationships pivot charts
I am having problem creating charts or pivot charts because the data being used is the ID's from the combo boxes, so I unable to see text. I have been advised to create another query using the table concerned and just include the fields I need to show text.

But when I try this I get an error 'Type mismatch in expression' and I think this maybe due to my relationships being incorrect?

If I have a Main table and connect the othertableID's with the same othertableID's to the Main table is this correct?

Connect Two Charts to Start & End date, and pull up Field Values from End date?
I have two issues:

1) I have two charts that need to display information for same start date and end date. I can get it so that the criteria of the query prompts the user, but then it has to occur twice (once for each chart).

I can just have the report query prompt once for a start date and end date; but then the charts use the data from dates, and the report creates the same report for allthe days from start date to end date.

but get that date to feed into both charts?

2) I need to also use the end date to populate some field values. Essentially, I have some general information that needs to correspond to the end date inputted.

How do I connect field values only to the end date from when the user is prompted?

Formatting Charts
A chart created using the New Form dialog box is positioned on a form. As such, the form acts as its parent. The chart can only fit inside of the form. Based on this, you can enlarge a form to make available more space for the chart. After enlarging and/or heightening a form, you can increase the side of the chart to have a bigger picture and better appreciate a chart.

Creating Data Access Pages with Charts using Office Web Components
Creating data access pages which display charts of various types is quite easy. The pages are interactive for licensed users. This article shows you how to create data access pages with three different types of charts. TOC: Creating Data Access Pages with Charts using Office Web Components; Monthly temperature chart for Princeton; Monthly temperature chart for Princeton continued; Creating an X-Y graph; Creating a Pie Chart.

create pivot chart using vba
I am new to charts!
I am looking for a sample database which includes the vba code to create pivot charts
Can anyone assist?
I am using Office 2010

VBA conditional formatting
I have read up about conditional formatting and understand the *concept* clearly (I think). However, is it possible to display conditional formatting of a subform in datasheet view on a form? If so, as I need to have more than 3 (or 4 if default is used) colours?

Pareto Charts
Is there a way to make Pareto Charts in Access

Fonts and formatting
Learn the following topics: 1)Change the font, font size, or font color
2)Add formatting to your document by using the Mini toolbar
3)Apply bold, italic, or underline formatting to text