Jump to content
Software FX Community

Tooltips on serie


User (Legacy)

Recommended Posts

Making the series transparent may not be the appropriate way to hide the 

series.

You can do:

series.Visible = false;

or set Chart.Hidden to the values of the series.

But then again, there may be a situation I may not be anticipating in which

making the series transparent is the best option. Can you give me a little

bit of info on why are you making the series transparent ?

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

Hi

I would like to have the total in the left bar

In the first Bar I would like to show the first category in a bar starting

at the top of the total.... ==>

that if the total is 1000

and the first category is 90

the next category is 80

I created a Serie 1 with value

0 for the first value (total value)

910 for the first category

910-80= 830 for the secound category...

Serie 1 is getting color color = Transparent...

Serie 2 containes the values and have "normal colors"

I have tried with Hi-Low graphs without getting a good result...

This makes a good look and feel BUT i get tooltips also on the Serie1 with

the transparent colors ..

Regards

Magnus Salgo

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:IjQvozsQGHA.2264@webserver3.softwarefx.com...

> Making the series transparent may not be the appropriate way to hide the

> series.

>

> You can do:

>

> series.Visible = false;

>

> or set Chart.Hidden to the values of the series.

>

> But then again, there may be a situation I may not be anticipating in

which

> making the series transparent is the best option. Can you give me a little

> bit of info on why are you making the series transparent ?

>

> --

> Francisco Padron

> www.chartfx.com

>

>

Link to comment
Share on other sites

Perfect !

You can achieve this chart without creating an extra series by using the

IniValue property.

The IniValue property allows you to assign a Starting Value for a bar. If

you are passing data using the API you can pass IniValues much as you do

Y-Values:

chart1.OpenData(COD.IniValues, 1, 5);

chart1.IniValue[0, 0] = -8.7;

chart1.IniValue[0, 1] = 6.5;

chart1.IniValue[0, 2] = 9.8;

chart1.IniValue[0, 3] = -20;

chart1.IniValue[0, 4] = 30;

chart1.CloseData(COD.IniValues);

If you are using Data Binding use DataType.IniValue to assign one of your

field to be the IniValues.

Using this you will end up with a chart with just one series that will not

have the problem with the transparent series.

Let me know how it works out.

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

Thanks it worked....

I think one of the major problem finding with ChartFx is to find the

possibilities with the software

e.g. that the Gallery type Bar supports IniValue

maybe I am looking at the wrong place but I have problems to find this kind

of information in the manuals..

Thanks again for your help ..

Link to comment
Share on other sites

I use IniValue for where the start of the bar

I use Vales for where the bar ends

BUT I would like to use a PointLabelMask with the REAL value

In the DataSourceSettings I have the possibility to set

DataType.Default

DataType.IniValue

DataType.KeyLegend

DataType.Label

DataType.NotUsed

DataType.Point

DataType.Series

DataType.Value

DataType.XValue

I use

DataType.IniValue to set the start value of the bar

DataType.Value to set the end value of the bar

I would like that the "REAL" value should be displayed on the bar

that is (DataType.Value - DataType.IniValue) I also has this in a field but

don't understand

how the the PointLabelMask should look and

and what kind of DataType settings to use

I have tried some without success like XValue but I loosed the labels on the

X axis etc.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...