-
Notifications
You must be signed in to change notification settings - Fork 985
Fix CategoryAxis.ItemSource when not associated with a BarSeries #1912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
FYI @HavenDV If you can confirm this fixes your problem then I'll get this merged soon. It's not pretty, but it's better than having all the examples and documentation broken. |
|
I checked and can confirm that the problem does not occur after the fix. [Example("#1847: Axes are not displayed")]
public static PlotModel AxesAreNotDisplayed()
{
var header = new string[]
{
"Open","High","Low","Close","AdjClose","Volume","AdjOpen","AdjHigh","AdjLow",
"DailyReturn","Returns5day","STD20","MA20","MA50","BollingerUpperBand","BollingerLowerBand",
"EMA12","EMA26","MACD","MACDSignal","MACDHistogram",
"SOpercentK","SOpercentD","RSI","WpercentR","OBV","PlusDI","MinusDI","ADX",
"CloseMinusMA20","CloseMinusMA50","CloseMinusBollingerUpperBand","CloseMinusBollingerLowerBand","MA20MinusMA50",
};
var data = new double[,]
{
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
{ 0.9999999999999999,0.997088164089882,0.9899092919706102,0.9950504296167784,0.7645231225967896,-0.131627763505179,0.7750658552923056,0.7727373978009712,0.7571001439963116,0.0035550901565916627,0.16540922477328104,-0.09465795346606005,0.7492422028081449,0.6389674761480396,0.6333079791634015,0.7738106926487941,0.7706904481437066,0.7497691120431067,0.5861933993562555,0.626883966160379,-0.0004735663481003529,0.2368424102501585,0.2881472220978641,0.260482697244276,0.23684242087601987,0.6587017585592793,0.27394454862182455,-0.1399141730630187,-0.2905596809973949,0.3184599540263398,0.5809446810018211,0.26577027747775794,0.22949809539914257,0.6128922594037838 },
};
return new PlotModel
{
Title = "Axes are not displayed",
Axes =
{
new CategoryAxis
{
Position = AxisPosition.Left,
TitleFontSize = 7,
Key = "VerticalAxis",
// We invert this axis, so that they look "symmetrical"
StartPosition = 1,
EndPosition = 0,
ItemsSource = header,
},
new CategoryAxis
{
Position = AxisPosition.Bottom,
TitleFontSize = 7,
Angle = -45,
Key = "HorizonatlAxis",
ItemsSource = header,
},
new LinearColorAxis
{
Position = AxisPosition.Top,
Palette = OxyPalettes.BlueWhiteRed31,
}
},
Series =
{
new HeatMapSeries
{
X0 = 0,
X1 = data.GetLength(1) - 1,
Y0 = 0,
Y1 = data.GetLength(0) - 1,
RenderMethod = HeatMapRenderMethod.Rectangles,
LabelFontSize = 0.4,
LabelFormatString = ".000",
Data = data,
Interpolate = false,
}
}
};
} |
|
I think the existing examples under |
|
I'll check about those bindings as well, thanks. |
|
@HavenDV just to check, the bindings you mentioned here were the ones fixed in the other PR? |
|
Yes they have been fixed in this PR |
Jonarw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
|
As far as I can tell, there are no releases available (not even preview builds) on NuGet that include this bug fix. Will you be making a new release available any time soon? I have run into this bug. I'm working around it by adding values directly to the |
|
I haven't used it, but maybe there is a preview version on myget according to this documentation |
|
I think that's all broken at the moment (pending someone having time to look into #2014 ). I'd be in favour of putting out more regular point releases so that bug fixes are available, but not sure how we should handle dropping older versions of .NET (perhaps not a big deal for the core library since it targets netstandard 2.0) |
|
I would suggest just pushing preview versions automatically to NuGet after every change in the develop branch. We can use MinVer for this - https://github.com/adamralph/minver. In this case, to release stable version, we just need to add a tag with the version(like v1.1.1) for a specific commit and CI will build and push stable version. |
|
I think this particular PR should be in the latest pre-release on MyGet, as CI seemed to stop pushing to MyGet around December 2022. Edit: Sorry, misread the date, this was merged in 2023, so will not be in latest pre-release on MyGet. |
|
I talked more about convenience for the end user. |



Fixes #1847 .
Checklist
Changes proposed in this pull request:
BarSeriesManagerto ensure that labels are always generated when anItemSourceis provided@oxyplot/admins