Hi, currently I've been having an issue with the loadpreset method for ultrawebchart. I have a webchart on my webpage which is bare and invisible when I create it.
When a user clicks on a specific piece of data my code looks to see if there is a chart attached to it. If there is then it set the visible property to true and binds the data from xml. Here is my c# code that sets the file path for the xml file and reads through it.
try
{
while (reader.Read())
.
reader.Read();
string str = reader.Value;
}
I’m currently stumped as to why this is happening so any help will be much appreciated. If I need to provide anymore code or explanation please ask.
SavePreset and LoadPreset is not working for ChartType. Suppose i changed chart type to PieChart and saved preset using SavePreset. Then after if i load preset using LoadPreset PieChart is not loaded. Am i missing anything?
A null reference exception in LoadPreset sounds like a bug on our part. Have you tried downloading the latest available hotfix for 6.1 and testing with that version?
Looking at our bug tracking database, I found one issue that looks similar: BR12896, which was fixed in build 6.1.20061.1042
To elaborate a little bit here is what's happening
we currently use version 2006.1 and use this method to save the win chart layout for later use