473,385 Members | 1,712 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,385 software developers and data experts.

ChartFX 7.0 headache. I cannot get filedmaps to work when using a listprovider

Hi,

I don't even know if many people use this product, but bless you if you
do and know what I'm talking about. We recently upgraded ChartFX to
7.0, and are having some difficulties with the way we used to display
the data. We populate a ListProvider with an ArrayList of arrays, and
then use this as the datasource. But for some reason we do not have
the ability to Map the Fields so ChartFX knows how we want them to be
displayed. If anyone has any knowledge concerning this it would be
most appreciated.

_volChart.AxisX.Min = _minX;
_volChart.AxisX.Max = _maxX;
coll.Add(currentVol);
coll.Add(anchorVol);
coll.Add(strikeDec);

ChartFX.WinForms.DataProviders.ListProvider lstProvider
= new ChartFX.WinForms.DataProviders.ListProvider(coll);
_volChart.DataSourceSettings.DataSource =
lstProvider;

_volChart.DataSourceSettings.Fields.Add(new
FieldMap("currentVol", ChartFX.WinForms.FieldUsage.Value));
_volChart.DataSourceSettings.Fields.Add(new
FieldMap("anchorVol", ChartFX.WinForms.FieldUsage.Value));
_volChart.DataSourceSettings.Fields.Add(new
FieldMap("strikeDec", ChartFX.WinForms.FieldUsage.XValue));

Sep 13 '06 #1
0 1144

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: J P Singh | last post by:
Hi All I am trying to query a database with a combination of surname and date of birth but it is giving me wrong results in certain conditions. It is the mm/dd/yyyy and dd/mm/yyyy stuff that...
4
by: Dave Sauny | last post by:
I'm creating graphs which have data between 300 and 400 on the x-axis and also 900 and 1000 on the x-axis. When this gets plotted, the graph rescales and the information becomes to small to be of...
1
by: Dave Sauny | last post by:
I have a chart drawn in chartfx with multiple series on the same graph. However, the X and Y values have different title, ie basing the data on 3 columns Col1 Col2 Col3 I want each...
0
by: Dave | last post by:
Hey all, Am having a slight problem when trying to use chartfx to plot an XY chart against a dataset. When i do the code below, The graph gets plotted fine, however, the X-Axis is full of odd...
7
by: kvnsdr | last post by:
I can type an IP address and receive Internet domain name and my workstation name however no other IPs of computers on our internal network will resolve to a thier machine name only to the same IP...
1
by: Dave | last post by:
Hi all, Ok basically what I am trying to do is this: I have a line graph with multple series what i want the user to be able to do is click and highlight an area of the graph in order to apply...
0
by: cprestino | last post by:
I am creating a graph in ChartFX using .net. I have the graphs working correctly when it is defined as an image. However when I change this graph to use Flashwriter, The graph is outputted as a...
1
by: Dave | last post by:
Hi all, I have a slight problem when using chartfx in vb.net. I have a line graph that needs to be able to plot 10,000 points. I believe that this isn't too unfeasible however whenever I begin...
6
by: Dan Reber | last post by:
I am about to purchase a chart control for my application but I am not sure which one to go with. Does anyone have any pros/cons for either component? I have already tried both and they seem very...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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,...

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.