hi,
i am mariya. i am working on vb.net. i have created the powerpoint
addin. i have inserted the chart on the slide through vb.net code.
now, i want to remove the gridlines on the chart and want to remove
the y axis. i am not able to get the exact object and properties of
the axis . can u plz tell me, what should i do?
the code is as,
Private oChart As Microsoft.Offic e.Interop.Graph .Chart
Private oaxis As Microsoft.Offic e.Interop.Graph .Axis
oaxis = CType(oChart.Ax es(XlAxisType.x lValue, XlAxisGroup.xlP rimary),
Microsoft.Offic e.Interop.Graph .Axis)
oaxis.TickLabel s.Orientation =
XlTickLabelOrie ntation.xlTickL abelOrientation Upward
on the last line i am getting the error, "unable to access the
XlTickLabel property of the axis class"
what should i do? plz tell me as soon as possible. 2 3777
Have you tried using MacroRecord and seeing what the generated code looks
like?
Robin S.
---------------------------
<sm**********@g mail.comwrote in message
news:11******** **************@ b75g2000hsg.goo glegroups.com.. .
hi,
i am mariya. i am working on vb.net. i have created the powerpoint
addin. i have inserted the chart on the slide through vb.net code.
now, i want to remove the gridlines on the chart and want to remove
the y axis. i am not able to get the exact object and properties of
the axis . can u plz tell me, what should i do?
the code is as,
Private oChart As Microsoft.Offic e.Interop.Graph .Chart
Private oaxis As Microsoft.Offic e.Interop.Graph .Axis
oaxis = CType(oChart.Ax es(XlAxisType.x lValue, XlAxisGroup.xlP rimary),
Microsoft.Offic e.Interop.Graph .Axis)
oaxis.TickLabel s.Orientation =
XlTickLabelOrie ntation.xlTickL abelOrientation Upward
on the last line i am getting the error, "unable to access the
XlTickLabel property of the axis class"
what should i do? plz tell me as soon as possible.
On Apr 19, 10:52 am, "RobinS" <Rob...@NoSpam. yah.nonewrote:
Have you tried using MacroRecord and seeing what the generated code looks
like?
Robin S.
---------------------------<smith.mar...@g mail.comwrote in message
news:11******** **************@ b75g2000hsg.goo glegroups.com.. .
hi,
i am mariya. i am working on vb.net. i have created the powerpoint
addin. i have inserted the chart on the slide through vb.net code.
now, i want to remove the gridlines on the chart and want to remove
the y axis. i am not able to get the exact object and properties of
the axis . can u plz tell me, what should i do?
the code is as,
Private oChart As Microsoft.Offic e.Interop.Graph .Chart
Private oaxis As Microsoft.Offic e.Interop.Graph .Axis
oaxis = CType(oChart.Ax es(XlAxisType.x lValue, XlAxisGroup.xlP rimary),
Microsoft.Offic e.Interop.Graph .Axis)
oaxis.TickLabel s.Orientation =
XlTickLabelOrie ntation.xlTickL abelOrientation Upward
on the last line i am getting the error, "unable to access the
XlTickLabel property of the axis class"
what should i do? plz tell me as soon as possible.- Hide quoted text -
- Show quoted text -
hi,
thanks for ur reply.
but i tried with macro also. it doesnt show any related things.
i am using office 2005. and my chart object is of MSGraph.chart
is any other ref. is required?
plz tell me if u know . its urgent!!!
Thanks !!! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: MLH |
last post by:
This question, I apologize, is more of a math question than it is
an Access question - I'm almost certain.
The bell curve is another name for the normal distribution, which is a
common type of graph that has more or less the shape of a bell. "The
Bell Curve" was also the title of a book, a controversial book back in
1994. It was about intelligence. If you graph scores on an IQ test on
the horizontal axis, and number of people who got...
|
by: Vic |
last post by:
Dear All,
I wanted to do a very simple chart on a form in Access:
here is the table the chart should be based on:
Date | Weight | TimeOfDay
The format of the above fields is the following:
Data type Format Field size
|
by: Jeff |
last post by:
Hi
I have a report with a graph on it and want to change the minimum and
maximum values for the value axis when it is previewed. This can't be done
by adding code in the Open event as once the report has started printing the
properties can't be changed.
It can be done with an MDB by opening it in design mode hidden, making the
change, saving it and then opening it in preview mode. However, this
obviously doesn't work in an MDE which...
|
by: Jeff |
last post by:
Hi
I am manipulating MS Graph and can successfully change the minimum and
maximum values for the Y axis, but can't find a way of doing this for the X
axis.
This works for Y axis
graph1.Axes(2).MinimumScale = 100
I have tried other indexes but no luck. Can't find any good documentation on
|
by: Claus Haslauer |
last post by:
Hi,
I want to create a chart
value (y-axis) vs. time (x-axis). In fact very similar to the
xy(scatter) example in the graph10.chm help-file.
I ran into problems, so I started a very basic *.mdb file.
It contains one table with ID, Date, and Price (Value) Column
ID is automatically assigned
Date is in the short date format
| |
by: Heather |
last post by:
I have created a unbound object frame and selected MS Graph and use my
table to create my graph. Note I did not use the wizard.
I open my MS Graph to change the stuff. How can I change the axises?
For example instead of the percent safety audits closed on the x axis,
i would put the safety audit date? I believe its a little different
than excel
I do not have alot of VBA experience.
|
by: psuaudi |
last post by:
I have a database that involves moving product from one status to the next. When the status is changed, it saves the date of the change, and from where the product was moved.
Ex. of one product moving from one stage to the next.
11/1/06 "Status 1"
11/1/06 "Status 1"
11/2/06 "Status 1"
11/5/06 "Status 1"
11/5/06 "Status 1"
|
by: rahmawaktu |
last post by:
Dear list, i am new to this forum and to JPGraph too. I just install jpgraph to create a graphic to my website. But i got error.
Here is the complete code :
First is MySQL Database : ( 2 tables) :
1. Table : Hesk_Categories
CREATE TABLE `hesk_categories` (
`id` int(5) unsigned NOT NULL auto_increment,
|
by: Just_a_fan |
last post by:
Some folks have searched, from time to time, for a dual axis MSChart
with different scales on the two Y axes. The sample, extracted from
running code I wrote, produces a graph with MSChart (VB9) which shows a
time axis on X and two somewhat different value ranges on Y and Y2.
This code produces two axes with positive and negative values, if called
for, and also ranges the Y and Y2 values to match the data and still
remain readable.
...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |