I'm finding all sorts of things when trying to get attributes or set attributes with the LINE_WITH_DATA_MARKERS chart type.
I added some debug code to my original code (see LineChart3.txt) to trace to find out what is happening. I run in JBuilder and I break in this function and step to see the results.
1. I added a case to see what happens if I getMarkerStyle. I get a Diamond shape everytime even though the result isn't a Diamond. I would have assumed that the syle would be AUTOMATIC.
2. If I check to see what the color of the markers background and foreground are before I set them the color is null.
3. If I set the marker background and foreground color they change to a Diamond. If I don't set them it appears it uses Automatic.
4. I also added the following line just before the switch to check for marker type:
And the result become a marker style of NONE. (If I change the colors of the marker then it becomes a square.)
I started down this path of testing because I liked the automatically generated markers but I wanted to define my colors for them.
I couldn't find a way to keep the Automatic markers and have my colors. (Without explicitly set the markers to automatic even though LINE_WITH_DATA_MARKERS started that way.
Thanks for anything you can do.