Home forums Using CanvasJS Colors & Design

Tagged: 

This topic contains 3 replies, has 2 voices, and was last updated by  Vishwas R 3 months, 2 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22082

    Tiger
    Member

    Hello,
    I want to make charts like this :

    View post on imgur.com


    * Look for Border color on area.

    Regards,

    #22090

    Vishwas R
    Keymaster

    @fbahashwan,

    To change the color of line in line or area charts, you can set lineColor to your desired color. To show gridlines over both axisX and axisY, you can set gridThickness in axis, which defaults to 0 incase of axisX.


    Vishwas R
    Team CanvasJS

    #22100

    Tiger
    Member

    No,
    Look to the picture, It is Area chart.
    As you see there is a color for body area and color for the border.

    #22103

    Vishwas R
    Keymaster

    @fbahashwan,

    You can set filled area color using color property and the color of the line/border of area using lineColor. Please refer documentation for list of chart options / more info.


    Vishwas R
    Team CanvasJS

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.