One last time.....

J

Jim Hubbard

Does ANYONE know how to programmatically add and remove series (the stuff in
the legend) data from an OWC10 chart control in such a way that the data is
simply deselected from the Field List, but remains for the user to re-select
or de-select as they wish?

Programmatic control of the series data in the Field List.....know how?
 
T

Thao Moua [ms]

I'm not sure I fully understand what you're asking. From
your question, you want to know if you can add/remove
fields from the Field List picker. The answer is no.
The field list shows you what your query returns. The
field list cannot be manipulated nor reflect how your
series look like.

Thao Moua
OWC Webchart Support
 
J

Jim Hubbard

Exactly what I needed to know. Thao, you're still the man!

Thanks for all of your help.

Jim Hubbard
 
J

Jim Hubbard

Some of my people wanted me to make sure that you understood the request. I
insisted that you did, but here goes one last time. After this I will not
bother you with this line of questioning again.

When a user is looking at an OWC10 chart, the user can right click on the
chart and check Drop Areas and Display Fields. The fields in the Field List
will show along the top of the chart and in the Field List as bold entries.
The user can then drag Fields off of the chart and they disappear from the
chart and legend, but remain in the Field List - only now they are not bold.

The user can then drag and drop these fields (those that the user dragged
off the chart and are no longer showing on the chart or in the legend and
are now showing as unselected in the Field List) from the Field List back
onto the chart and they will re-appear in the chart and the legend and will
be boldfaced in the Field List.

Is there a way to do all of this programmatically?

Thanks so much for your patience and sharing your expertise.

Jim Hubbard
 
T

Thao Moua [ms]

If you are asking how to add/remove fields to/from the
dropzones programmatically then Yes this can be done. If
you want to control how the Field List bolds and unbolds
items indicating whether the item is dropped into the
dropzone or not then answer is No. Keep in mind the
Field List is nothing more than a storage showing you the
fields from your query that you can drag/drop into the
chart. The bold/unbold items merely shows you what is
dragged into the chart and what is not.

Thao Moua
OWC Webchart Support
 
J

Jim Hubbard

How would I add/remove fields from a drop zone?

Thao Moua said:
If you are asking how to add/remove fields to/from the
dropzones programmatically then Yes this can be done. If
you want to control how the Field List bolds and unbolds
items indicating whether the item is dropped into the
dropzone or not then answer is No. Keep in mind the
Field List is nothing more than a storage showing you the
fields from your query that you can drag/drop into the
chart. The bold/unbold items merely shows you what is
dragged into the chart and what is not.

Thao Moua
OWC Webchart Support
 
T

Thao Moua [ms]

Here's the code you need.
------------------------------------
cspace.plotallaggregates = c.chPlotAggregatesSeries
cspace.SetData c.chDimValues, c.chdatabound, array
("Field1","Field2")
cspace.SetData c.chDimCategories, c.chdatabound, array
("Field3","Field4")
------------------------------------
I guess you worded your question differently and I did
not know exactly what you needed.

Thao Moua
OWC Webchart Support
-----Original Message-----

How would I add/remove fields from a drop zone?

If you are asking how to add/remove fields to/from the
dropzones programmatically then Yes this can be done. If
you want to control how the Field List bolds and unbolds
items indicating whether the item is dropped into the
dropzone or not then answer is No. Keep in mind the
Field List is nothing more than a storage showing you the
fields from your query that you can drag/drop into the
chart. The bold/unbold items merely shows you what is
dragged into the chart and what is not.

Thao Moua
OWC Webchart Support
-----Original Message-----
Some of my people wanted me to make sure that you understood the request. I
insisted that you did, but here goes one last time. After this I will not
bother you with this line of questioning again.

When a user is looking at an OWC10 chart, the user can right click on the
chart and check Drop Areas and Display Fields. The fields in the Field List
will show along the top of the chart and in the Field List as bold entries.
The user can then drag Fields off of the chart and
they
disappear from the
chart and legend, but remain in the Field List - only now they are not bold.

The user can then drag and drop these fields (those
that
the user dragged
off the chart and are no longer showing on the chart
or
in the legend and
are now showing as unselected in the Field List) from the Field List back
onto the chart and they will re-appear in the chart
and
the legend and will
be boldfaced in the Field List.

Is there a way to do all of this programmatically?

Thanks so much for your patience and sharing your expertise.

Jim Hubbard






Exactly what I needed to know. Thao, you're still
the
man!
Thanks for all of your help.

Jim Hubbard



"Thao Moua [ms]" <[email protected]>
wrote
in message
I'm not sure I fully understand what you're
asking.
From
your question, you want to know if you can add/remove
fields from the Field List picker. The answer is no.
The field list shows you what your query returns. The
field list cannot be manipulated nor reflect how your
series look like.

Thao Moua
OWC Webchart Support
-----Original Message-----
Does ANYONE know how to programmatically add and remove
series (the stuff in
the legend) data from an OWC10 chart control in such a
way that the data is
simply deselected from the Field List, but
remains
for
the user to re-select
or de-select as they wish?

Programmatic control of the series data in the Field
List.....know how?



.





.


.
 
J

Jim Hubbard

Thanks so much, Thao!

Jim


Thao Moua said:
Here's the code you need.
------------------------------------
cspace.plotallaggregates = c.chPlotAggregatesSeries
cspace.SetData c.chDimValues, c.chdatabound, array
("Field1","Field2")
cspace.SetData c.chDimCategories, c.chdatabound, array
("Field3","Field4")
------------------------------------
I guess you worded your question differently and I did
not know exactly what you needed.

Thao Moua
OWC Webchart Support
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top