Change labels of multiple axis in xy-chart
Hi,
I want to programmatically change the labels of the axes in a xy-chart with two y-axes.
I can easily manage this for the x-axis and the first y-axis. But I can't find how to access the properties of the second y-axis. How to do this?
Steven
LV 7.1 - 8.2
There is a property named "Active Y Scale".
In dictates which of the multiple axis you are going to act on.
Set it to the index of the axis you want to change BEFORE setting the label.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction
Similar Messages
-
Changing the Axis Names in Chart
Hi All,
Do we have an option to change the name of the axis in the chart ? I have 3 bar type charts, instead of the common field names I want the custom names to be displayed. Is it possible, please suggest.
Thanks
NatrajHi,
Yes this is possible, if you go to 'Edit View' on your chart. Just under your report title there is a small button, if you hover over it you'll see the label is "Axis titles and labels". It's displayed as a small chart icon with an 'A' in it.
Thanks
Oli @ Innoveer -
How to change label in charts in CRM 2013
I want to change x-axis and y-axis label in chart. Please guide me how to change label in chart.
http://mscrmninja.tumblr.com/post/15553130574/changing-chart-axis-titles-in-crm-2011
My blog: www.crmanswers.net -
Rockstar 365 Profile -
Changing the custom XML for a flash chart dynamically
Hello
I am wondering if anyone has found a way to change the custom XML
for a flash chart dynamically.
For instance.
On the www.anychart.com website their is a gallery with charts.
I have studied one called "2Dlinetimechart. It has hours on the X-axis.
When I view the XML for this chart.
I found this enrty
- <block color="0x0080C0" border_color="0x0080C0" name="Sales dept.">
<set value="0" argument="0" name="00:00" />
<set value="1" argument="0" name="01:00" />
It uses the tag value to set the position on the X-axis. But the tag name to set the labels on the X-axis.
I have not found a way to do this in application express 3.0.
Therefore I wonder if I can change to XML dynamically, and build my own block based on the input I have.
Or even build a chart, based on a xml that I create first then sends to the object that renders the chart.
Hope this makes sence ?
Ulf
PS this is related to my question about
http://forums.oracle.com/forums/thread.jspa?messageID=1887210?
using dates on the x-axis.
But would by nice to know a general method to rebuild the xml-file dynamically so I can change the chart within the limits of the xml-definition.String value = ResultSet.getObject("myfield").toString();
String opvalue = "15";
<OPTION Value=15 <%=((opvalue.equals(value))?"selected":"")%>> -
Hi all
I thought I had cracked the business of putting realtime labels on the
x-axis of Labview charts but today I found that the way I had done it
was failing at any times between midnight and 01:00.
In the past I have used a property node for my chart or graph (not sure
which) and initialised it with the current PC time. I'd set the x-axis
format to be time & date. This seemed to work but I had noticed that,
when daylight saving was active, that Labview would try to correct for
this. (I'm GMT, London so occasionally go GMT +1). So I'd added a
correction to subtract the "error". This works fine apart from between
midnight and 01:00. At these times my correction results in a negative
number which Labview cannot interpret as a time (not surprised by this)
and so it plots Neg on the x-axis until the time changes to past
00:59:59. The PC time zone setting also causes a problem that I hadn't
appreciated until I started looking at this.
In the Labview examples for real time graph axis, NI have used an x-axis
formatted decimal and then selected realtime from the radio boxes below.
This works OK, and is immune to DST and time zone offsets but doesn't
look like a proper time at times between midnight and 01:00.
So the only way I can get a nice looking display and for it not to
misbehave at times between midnight and 01:00 is to set the PC system
clock for GMT:Casablanca,Monrovia. This time zone has no offset or
daylight saving activity.
Have I missed something or is this way harder than it should be?
Many thanks in advance for any help or advice.
Regards
Bill
mailto:[email protected]Hi
Sorry, was posting from a newsgroup didn't realise this was web based too.
In my example
timeongrapghs+dst correction.vi
where the chart x-axis is formatted to be date and time, for some reason Labview adds an offset according to the time zone and/or
whether or not daylight saving is active. I had corrected this offset by using a simple subtraction but at midnight the hour value is zero so, as I said in my initial post, Labview does not recognise -1 as a time and so causes the x-axis labels to be in error (they actually say Neg). My example shows this. If you set your PC clock time to e.g. 00:12 and your PC's time zone to GMT, London. If you change the PC date to be in or out of daylight saving (Apr-Oct daylight saving is active) you will see the problem come and go.
So I looked at the Labview example and they use the decimal formatted x-axis with realtime selected from the radio buttons
underneath. I tried this approach on my example (timeongrapghs decimal x axis correction.vi) and this does not seem to suffer from an offset introduced from the time zone and/or whether daylight saving is active but at midnight the time displayed on the x-axis reads without zeros, so 00:14:45 reads 14:45 - misleading.
I found that setting your PC clock to GMT:Casablanca,Monrovia results in my example behaving perfectly around the midnight time. This time zone has no offset or daylight saving activity.
timeongrapghs NEEDS GMT CASA.vi
Finally I looked at the example you linked too and although that works (but I don't understand it ), I want my display to fill from the far left to the far right, and once the x-axis is full, for the display to scroll across from right to left. If you look at my examples, they do this, although I noticed that using them in LV 7 (they were written in 6i) automatically seems to switch the autoscale x-axis on for the chart - you need to switch autoscaled x-axis off to see how I want my charts to appear. The example you linked doesn't do this, and turning off the autoscaling seems to stop the data from being displayed. Can you change the example you linked so that the chart behaves like my examples but without the time zone/DST problem - if so can you make it so I can plot more than one data set on the y-axis (same time resolution of data)?
Thanks for helping
Bill
Attachments:
timeongrapghs NEEDS GMT CASA.vi 45 KB
timeongrapghs+dst correction.vi 42 KB
timeongrapghs decimal x axis correction.vi 41 KB -
Crystal report -How to display multiple lines in line chart?
Hi,
M struggling to display multiple lines in line chart. All the values m fetching it from database into data table in below format & data type
Category(String).....year(Int).....graph_values(Int).....table_value(String)
Test.........................2006.......... -100............................(100)
Avg..........................2006..........20................................20
Median......................2006...........5................................5
Test..........................2007...........500.............................500
Avg...........................2007............90..............................90
Median.......................2007............45..............................45
M using cross tab to display data and chart to plot line. Following fields I used in Cross tab Expert & Chart expert
Cross tab expert-
Rows u2013 category
Columns u2013 year
Summarized fields u2013 Min of table_value
In Chart Expert u2013
On Change of - Year
Show values - graph values
In cross tab m able to see the data properly but not in graph.I have three categories. Hence it should plot three lines in line chart but m able to see only one line for test category.
FYI u2013 using VS 2008 and crystal report assembly version 10.5
Urgent. Please reply soon.
Thanks
ThakurSI got the solution.
In Chart Expert - I should use
On Change of -- Year, Category
Show values -- graph values
Thanks,
ThakurS -
Hello Experts
I am using a Chart web-item in a WAD web template. Now I have set up the value axis and the sample data property of the chart with a minimum value = -500 and max value = 3000. However, when I execute the web template on the portal the value axis show a strange behaviour with a max value = 0 and min value = -250000.
Has any one encountered a similar problem?
Looking forward for your help.
Thanks
RishiHi Rishi,
Check the below forums which may help u...
WAD Report -Chart Type Line Diagram!!
Changing Starting point of Y Axis in Web Application Designer Bar Chart
Restricting the values of infoobject for the chart in WAD 3.5
WAD Chart item format value axis scale
Formatting Chart Category Axis Values from BI Query!
Also check these notes...
SAP Note Number: 831476
SAP Note Number: 835173
SAP Note Number: 851402
Regards,
KK. -
Adding weekday name to x-axis in a chart
I am trying to add a weekday name to the horizontal axis in a chart (SSRS).
In horizontal Axis Properties I went to number, then Custom, and added:
=(WeekdayName(Fields!Date.Value))
It nearly works. I have put in this week's dates into the parameters (23/02/2015 - 28/02/2015) but the x-axis is showing the dates as numbers, eg 23 - 24 - 25. I'd love to see the words Monday, Tuesday et al in there instead.
When setting up the chart I have Fields!Date.Value as the category group, at the moment grouped on =day(Fields!Date.Value)
Any suggestions on how to get 'Monday', 'Tuesday' etc to appear would be much appreciated.
I have tried
=weekdayname(weekday(Fields!Date.Value)). This partly works but unfortunately repeats the day of the week the report was run, eg Monday Monday Monday rather than Monday Tuesday Wednesday et al.
Thanks.Hi William,
According to your description, you want to display the weekday name on the x-axis in a chart, right?
In your scenario, you can specify the both category group value and group expression as weekday name values. Please refer to steps below:
1. The original chart which x-axis values display as date.
2. Specify the x-axis Label and Group on expression like below:
=weekdayname(weekday(Fields!date.Value))
Then preview the report, the a-axis values will display as weekday name.
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support -
Charts: Gap between Vertical Axis and the chart area
Friends,
I have a really wierd issue and I am sure I am doing
something wrong.
I am trying to align 2 charts that are placed vertically. I
want to align the left vertical axis and the gridlines within them.
Aligning the left vertical axis is easy and done but aligning the
grids is becoming challenging and I have already spent a few hours
on this problem.
Here is a wrong chart image ...
Wrong
chart image
The line of the LineChart (in the top chart) is touching the
left and right edges where as the bottom chart bars do not touch
the left/right edges. Due to this the gridlines are not aligned.
I had managed to solve this problem but I am not sure what
part of the code solved the problem. Here is the right chart image:
Right
chart image
In this chart, the line of the linechart (in the top chart)
is not touching the left and right boundary hence the gridlines are
alignd with each other.
I wonder what property of the chart controls the series
touching the left/right vertical axis or boundary. Your help is
appreciated.
Thankshere is some more information ...
I started changing some of the properties of the chart which
I mentioned is a RIGHT CHART and this is what I learnt ...
It was a CartesianChart hence it was creating the gap
between the left/right vertical axis and the actual chart area
(refer to the right chart image).
I changed it to a LineChart and it started behaving like the
chart in the WRONG CHART image.
Is there a solution to this problem? -
Add label on y-axis and x-axis in excel using Report Generation toolkit
Hello,
I want to add label in x-axis(Date/Time) and y-axis(Temperature O=oC)
There are only header and data array connection, how can i add label to the chart?
Thank you.Hello,
The way I've done this is by specifying the string inputs named "Column Header" and "Row Header" on the Excel Insert Graph.vi. This should provide the axis labels that you specify on your graph.
Cheers,
Emilie -
Want a constant time axis in waveform chart
hello,
my time axis in waveform chart is changing .how can i keep it constant say 1-100 .the whole point of this is to make waveform chart luk like a CRO.please need help.
thanks in advace
naveen.rabelliI don't think what you're asking for is possible, due to the nature of the chart - it accepts Y values and inserts the X value automatically. Offhand, I can think of 3 solutions -
The bad one - constantly change the offset by moving it backwords. You will probably have flickering.
The workaround one - Paste a text box over the first number saying 1 and another over the second number saying 100.
The probably most correct one - Use a XY graph. Just have a 1D array of 100 elements and append it to a second 1D array with 1..100. Wire the 2D array into the graph terminal.
Try to take over the world! -
Invert Axis in a Chart with Report designer
Hi Gurus
Do you know the proccess or option to change (invert) the axis in a chart with Report Designer or in a table with Query Designer?
Regards
JoseHi Jose,
I guess this will help you...
Check here.....
Rotating Charts
Use
You can change the angle of the first segment of a pie chart, doughnut, polar chart, radar chart or split pie chart, thus rotating the chart clockwise.
Procedure
1. Select the property ® Starting angle.
2. Enter the number of degrees by which you want to rotate the circle or rings clockwise.
The first category at the top of the diagram begins with zero degrees, and the one at the bottom begins with 180 degrees.
Regards,
Vijay. -
Hi,
I'm just evaluating the full version of Crystal Reports 2008 having had some frustrations with the design restrictions in the basic version that ships with Visual Studio 2008. Particularly important to me is the design features for charting data. A lot of the charts I need to build have daily data points and the dates for these data points are represented as labels on the X axis. My problem has been that when you try and build a report with several months or more worth of data points the X axis is getting way too crowded even to the extent of being unreadable with overlapping labels. I've noticed in the full version that there is a date axis chart type whereby you can alter the scale of the X axis e.g. to only show a date at a frequency once per month or greater resulting in the X axis being readable. This seems to work great for line charts etc, however one of the charts I need is a stacked area chart and unfortunately I can find no options / chart types that allow me to scale the dates on the X axis. I've seen there is a date axis chart for area charts, but there is no option of having this chart type as stacked. I know you can also skip data labels in X axis group options, but the max I can skip is 2 and so that doesn't really help me either.
Is there any way of achieving a stacked area chart with a scaled date axis in Crystal Reports 2008? If not it seems to me that the lack of this feature is a real omission from the product. Even Excel charts can handle this type of chart and I would imagine Crystal Reports charts should be more advanced in its charting capabilities.
Any help or recommendations would be appreciated.
Kind Regards,
MarkI have run in to the same problem. I work for a systems integration company and I purchased this software because I have a lot of crystal reports and .NET experience but I have very minimal crystal chart experience. I need to use the charting to display data over time collections. I need to show all data points collected but for some series that I deal with I need to be able to scale the x-axis labels to something that is legible. There is an aftermarket package(CRReports3.5) for $500 more dollars that would enable me to control this but it seems like alot more money for a small piece of functionality that should already be built in. I have Crystal Reports 2008 and am working with visual studio 2008 can someone please tell me is there ANY WAY to achieve this functionality without purchasing additional software? Otherwise this software purchase was worthless for my current project.
Regards
Dave Bedo -
How to add multiple graphs in one chart(ex.scatter chart) using labview excel report generation toolkit. Assume like my test data is like below:
X-Axis
Data1
Data2
1
1
2
13
2
3
14
3
4
15
5
5
16
3
6
7
7
The above graph generated manually in excel. I want to generate the same using excel report generation toolkit. when I use Excel Insert Graph.vi where the input data is 2D array with numeric data but here labview converts the empty cells (eg.x -axis 1,data1- is empty) as zero and while plotting i am getting zero for empty cell values.
Can anyone please help me on how to plot the graph without adding zero for empty cells?
Thanks&Regards,
Bharathi T
TE
X-Axis
Data1
Data2
1
1
2
13
2
3
14
3
4
15
5
5
16
3
6
7
7Hi Bharathi,
The Excel Insert graph function takes in only 2d arrays as inputs. Since arrays can only have numeric values, any table with a null string is read as 0. Now to get a plot like you mentioned, you could read the table and replace blank Strings as NaN. NaN values in an array when plotted do not appear in the excel sheet. For reference I have attached a sample vi to help you understand.
Regards
Vijetha Nuthakki,
Applications Engineer
NI Systems India
Attachments:
Excel_graph_multiplot.vi 21 KB -
I have two graphics workers on osx 8. They are both complaining that their files are changing label colors on it own. Any idea what could cause this?
and there were and have been problems with any two nvidia cards which was the main part of my question.
To provie details try pasting all but serial number from system profile. Sorry but Mac Pro tells me nothing, not model, year, or what graphic card it came with or updated with.
Maybe you are looking for
-
10.3.9 Software not working,
hi there, the problem I've run into is that all of the OS programs (Mail, Safari, Calculator, Calendar, Mac Help, Software Update...etc.) don't want to work. They all just freeze up. All other programs that I'm running are working fine, (IE, Adobe Su
-
Hello, I have a requirement where I need to perform a check on item category for each sales order line item. if the item category is u2018ZTASu2019 then before saving the document the user should be prompted to verify . I was thinking to use user exi
-
I have posted this on another forum. I would love to know if anyone has an answer. Even no would be acceptable. Has anyone noticed when using the Book function and creating Bookmarks using the Interactive PDF maker, that the Bookmarks look for th
-
New database link gets long name with domain name
When I create a database link with a name "X", oracle renames it to X.regress.rdbms.dev.us.oracle.com Why?
-
Hello, I have question how spammer get our accounts and groups name ? I have issue I am received spam email in my inbox not in junk mail spam agent already enable in my hub transport and also create SPF record but still receiving email in my inbox wh