There is not currently any way to do this, plots with FactorRange on an axis will always default to showing all the factors. Depending on your use case, an alternative might be to use a "fake" categorical axis, i.e. use a basic numeric Range1d with numbeic data, but then use a ticker and tick formatter show string labels for specific locations.
On Wednesday, May 30, 2018 at 11:56:07 AM UTC-7, Bryan Van de ven wrote:
Hi,
There is not currently any way to do this, plots with FactorRange on an axis will always default to showing all the factors. Depending on your use case, an alternative might be to use a “fake” categorical axis, i.e. use a basic numeric Range1d with numbeic data, but then use a ticker and tick formatter show string labels for specific locations.