Closed Marlohn closed 3 years ago
Im trying to add two diferent objects into YAxes (Scale) list but it appears dont works.
If I try to add just any one separated it works fine!
YAxes = new List<Scale>{ new BarScale { GridLines = new GridLine() { Display = false, DrawBorder = false } }, new CartesianScale { Ticks = new CartesianLinearTick { Display = false } } }
I think this is a problem with Newtonsoft.Json that cant serialize diferent types of objects in a Inheritance list
Hi, yeah, I think this is a serialization issue. I'm not really sure how we'd get around this, any ideas?
Im trying to add two diferent objects into YAxes (Scale) list but it appears dont works.
If I try to add just any one separated it works fine!
I think this is a problem with Newtonsoft.Json that cant serialize diferent types of objects in a Inheritance list