Re: Get histo range clicked in QwtPlotMultiBarChart
Brought to you by:
rathmann
|
From: Younes K. <kha...@gm...> - 2019-02-09 23:34:01
|
Thank you Uwe, I am sorry, but I can't find ticks() in QwtScaleDraw, ( https://qwt.sourceforge.io/class_qwt_scale_draw.html) Or maybe I am not looking at the correct place. Best Younes Le jeu. 7 févr. 2019 à 08:58, Uwe Rathmann <Uwe...@ti...> a écrit : > > Is there a way to map xPos to the corresponding X label ? > > const auto scaleDraw = axisScaleDraw( ... ); > > Then you have to find the tick label position you are interested in by > iterating over scaleDraw->ticks(). Finally you have to translate the > label position into a label by using scaleDraw->label(). > > HTH, > Uwe > > > _______________________________________________ > qwt-interest mailing list > qwt...@li... > https://lists.sourceforge.net/lists/listinfo/qwt-interest > -- Younes Khadraoui, PhD *Co-Founder at Ostadhi.com | Research Engineer | Data Scientist | Enterpreneur* |