Hello,

I'd like to have a custom x-axis label on a plot and cannot find how to do
it.  Suppose the below call to this function:

full.window.color.bg <- 'gray63'
x <- 'PETR4.SA'       ## available data previously downloaded
chartSeries(x,
            name = 'PETR4',
            type = "line",
            lwd = 2,
            theme = chartTheme("white",
                               up.col = 'darkgreen',
                               axis.text.x = element_text(size = 5, angle =
50, hjust = 1),
                               bg.col = full.window.color.bg,
                               area = full.window.color.bg
                               ),
            TA = NULL
            )

It does not work. Even adding the command below does work neither.

+ axis.text.x(size = 5, angle = 50, hjust = 1)

Any suggestion is highly appreciated.  TIA.

Regards,

--
André Luiz Tietbohl Ramos, PhD

        [[alternative HTML version deleted]]

_______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only. If you want to post, subscribe first.
-- Also note that this is not the r-help list where general R questions should 
go.

Reply via email to