I saw in examples, samples and in the documentation, that there is an xml option:
theme="LIGHT"
But in cuba’s documentation I didn’t find more information how to use it. At amcharts I found a very pretty theme named ‘chalk’. I setted theme=“CHALK” and it worked fine, but I attached a picture what I can see on my webpage. I think I should make a dark background, but it is possible to make dark background only on my chart’s page? I wanted colorful columns like here…
Unfortunately, I cannot reproduce the problem. Could you please provide a small sample project? Or at least screen descriptor/controller and which platform version do you use?
I could make a black background! I gave the screen’s layout a new style name ‘chartLayout’, and I wrote to my scss:
.chartLayout{
background-color: black;
}
And now it works, the only problem is that how the texts next to the chart overflow. I attached a picture about it.
But I have no idea for the colorful columns. At amchart they give one by one the colors.
And it has a white border, which looks ugly
So could you help me find a solution for full black background, overflow text and colorful columns at chart?
How to set one color to all columns?
And do you know any solution for colorful, like rainbow column coloring?
And can I edit somehow the Chart’s font-family and color? I tried with scss, but it didn’t work as with the background.
The graph element has the lineColor attribute which can be used to set a color for all columns of a certain graph, e.g. lineColor=“VIOLET”. To set different colors for columns you need to specify the colorField for a graph or chart (e.g. see the gantt chart sample).