473,396 Members | 1,914 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

MSACCESS-Piechart- legend -truncates zeroes

16
My legend in the piechart has values like 004,008 etc but while the report is created,the legend has the preceding
0's truncated and 004 is shown as 4 and 008 is shown as 8. Is there a way to fix that and avoid removal of preceding zeros in the legend. Thanks for the help !
Nov 29 '11 #1
6 1689
TheSmileyCoder
2,322 Expert Mod 2GB
If you open the chart, you should be able to set the format property for the Legend object to text. Its likely currently set to General.
Nov 29 '11 #2
baba
16
Hello ,Thanks for your response. I am unable to change the format property of the legend object to text .I would really appreciate if you could explain me the steps involved. I dont see a format property for legend at all. Also even if I change the column to text in the datasheet and rerun the query,the legend does not show the leading zeros in the bargraph. Please advise
Nov 29 '11 #3
TheSmileyCoder
2,322 Expert Mod 2GB
I dont have the greatest experience in charts, but last time I used it I simply double clicked the chart in my report, and it pretty much looked like it does in excel.

I can't tell you exactly where to click as I dont currently have any databases that includes charts, so I have no sample to work by.
Nov 29 '11 #4
NeoPa
32,556 Expert Mod 16PB
Again, I have little experience (or interest) in Pie Charts, but I suspect it will have a control for showing the title whose properties can be maintained - probably graphically. Try going in to design mode and enlarging the control for the legend.
Nov 30 '11 #5
baba
16
I have no clue if there is an option to change the format of the legend to text .So I reformatted my data and prefixed my data with a colon and by that it forces the data as text and 0004 is written successfully as :0004 into the legend. There may be other solutions but this works...
Nov 30 '11 #6
NeoPa
32,556 Expert Mod 16PB
Oh I see. If that's your problem (It was hard to understand what you were asking about until your latest post gave it away) then use formatting. If you haven't found the object then the better option of setting the object's Format property to "0000" won't help you much, but you can set the value to :
Expand|Select|Wrap|Line Numbers
  1. Format({YourValue}, "0000")
Nov 30 '11 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Jorl Shefner | last post by:
I've only been able to plot data with both symbols and lines by issuing two plot commands, one for markers and one for lines. That's perfectly fine, but it creates a problem when I try to create a...
1
by: Jorl Shefner | last post by:
I have a problem that I run into a lot with the 'legend' command's default behavior. I've found a work-around but I wonder if there's a better way. For a simple example, take the following:...
0
by: Anne van Kesteren | last post by:
Ok, here it goes. Originally I submitted this proposal to www-style. Since I don't get feedback there, I think I missed a few (maybe a lot) of points. Proposal:...
2
by: Marek Mänd | last post by:
Can the legend element in fieldset be placed automatically by Mozilla horizontally in the middle of fieldset?
0
by: Tracy Griever via AccessMonster.com | last post by:
Simple way to change/remove the "Sum of..." text, or any text, in a PivotChart LEGEND. I searched other sites for many hours and could find no help on this subject...a co-worker stumbled upon the...
4
by: Adam Smith | last post by:
Hello, Can I use <fieldset><legend><tr><tr> </tr></tr></fieldset></legend> to select multiple rows in a Table such that I can demarcate several rows containing form elements in a table? ...
2
by: bwaha | last post by:
Has anyone figured out how to get a legend for each line in a matplotlib.collections.LineCollection instance? No problem if I plot lines the default way ie. line,=plot(x,y). But I've had to...
5
by: dubing | last post by:
Hi, We have some html source like this: <div class="survey"> <form action="students/cbe-graduate-students/survey.html" method="post" id="frmPbSurvey"> <fieldset class="survey_item">...
6
by: Reggie | last post by:
Hi and TIA! I'm exporting a dataset/datgrid to excel but some text fields get converted to numbers in excel and I loose leading zero's. I've tried several methods with no success. If anyone has...
5
by: jcage | last post by:
I'm trying to line up two columns in a form using html check boxes but haven't been successful in aligning the right side. Left side is easy enough but I can't get the right side to align within...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.